:root {
  --teal: #105060;
  --teal-soft: #1d7181;
  --teal-deep: #081720;
  --gold: #a08050;
  --gold-light: #d5b27d;
  --mint: #63d99d;
  --rose: #ff5d71;
  --paper: #f4f1ea;
  --ink: #10202a;
  --muted: #60717d;
  --line: rgba(16, 80, 96, 0.14);
  --white: #fff;
  --shadow-soft: 0 24px 70px rgba(8, 23, 32, 0.18);
  --shadow-3d: 0 42px 120px rgba(8, 23, 32, 0.35);
  --radius: 26px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(160, 128, 80, 0.16), transparent 34rem),
    linear-gradient(180deg, #f9f6ef 0%, var(--paper) 42%, #eef4f5 100%);
  font: 16px/1.55 "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 80, 96, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 80, 96, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 70%);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -44px;
  z-index: 50;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--white);
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  color: #eaf4f7;
  background: rgba(8, 23, 32, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(150%);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.nav__logo img {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 8px 16px rgba(160, 128, 80, 0.25));
}
.nav__logo em {
  font-style: normal;
  font-weight: 700;
  color: var(--gold-light);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  font-size: 14px;
}
.nav__links a {
  color: rgba(234, 244, 247, 0.76);
  text-decoration: none;
}
.nav__links a:hover { color: #fff; }
.nav__phone {
  color: #fff !important;
  font-weight: 750;
  white-space: nowrap;
}
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--gold {
  color: #fff;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 16px 34px rgba(160, 128, 80, 0.28);
}
.btn--gold:hover {
  box-shadow: 0 20px 42px rgba(160, 128, 80, 0.38);
}
.btn--glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}
.btn--wide { min-width: 220px; }

.hero {
  position: relative;
  min-height: 730px;
  padding: 82px 0 104px;
  overflow: hidden;
  color: #edf8fb;
  background:
    radial-gradient(circle at 76% 8%, rgba(213, 178, 125, 0.32), transparent 28rem),
    radial-gradient(circle at 24% 18%, rgba(55, 163, 180, 0.22), transparent 24rem),
    linear-gradient(150deg, #081720 0%, #0d3341 46%, #105060 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -18% -35% 42%;
  height: 430px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(30px);
  transform: rotate(-8deg);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.62;
  pointer-events: none;
}
.orb--one {
  width: 260px;
  height: 260px;
  right: 8%;
  top: 80px;
  background: radial-gradient(circle, rgba(213, 178, 125, 0.52), transparent 68%);
}
.orb--two {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: 80px;
  background: radial-gradient(circle, rgba(99, 217, 157, 0.28), transparent 70%);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.hero__copy { max-width: 560px; }
.kicker {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.lead {
  margin: 0;
  color: rgba(237, 248, 251, 0.78);
  font-size: 19px;
  max-width: 40em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(237, 248, 251, 0.75);
  font-size: 13px;
}
.hero__proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 18px rgba(213, 178, 125, 0.9);
}

.hero__stage {
  position: relative;
  min-height: 520px;
  perspective: 1400px;
}
.hero-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-3d);
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero-card--main {
  inset: 40px 0 auto 34px;
  width: min(96%, 680px);
  transform: rotateX(8deg) rotateY(-15deg) rotateZ(1deg);
}
.hero-card--back {
  right: 10px;
  top: 0;
  width: min(50%, 330px);
  opacity: 0.82;
  transform: translateZ(-120px) rotateX(10deg) rotateY(-24deg) rotateZ(8deg);
}
.hero-card--front {
  left: 0;
  bottom: 22px;
  width: min(54%, 360px);
  transform: translateZ(80px) rotateX(8deg) rotateY(-18deg) rotateZ(-7deg);
}
.status-pill {
  position: absolute;
  z-index: 4;
  border-radius: 999px;
  padding: 12px 16px;
  color: #fff;
  font-weight: 850;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}
.status-pill--ok {
  right: 26px;
  bottom: 82px;
  background: linear-gradient(135deg, var(--mint), #10a86b);
  transform: rotate(-3deg);
}
.status-pill--bad {
  left: 44px;
  top: 18px;
  background: linear-gradient(135deg, #ff90a0, var(--rose));
  transform: rotate(4deg);
}

.section {
  padding: 88px 0;
}
.section h2 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.section .sub {
  max-width: 45em;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.section__head {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.intro__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}
.intro__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.intro__cards article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68)),
    radial-gradient(circle at top right, rgba(16, 80, 96, 0.16), transparent 55%);
  box-shadow: var(--shadow-soft);
}
.intro__cards b {
  display: block;
  margin-bottom: 38px;
  color: var(--teal);
  font-size: 38px;
  line-height: 1;
}
.intro__cards span {
  color: var(--muted);
}

.trial {
  position: relative;
  overflow: hidden;
  color: #edf8fb;
  background:
    radial-gradient(circle at 82% 18%, rgba(213, 178, 125, 0.26), transparent 26rem),
    radial-gradient(circle at 10% 80%, rgba(99, 217, 157, 0.18), transparent 24rem),
    linear-gradient(145deg, #081720 0%, #0e3a49 58%, #105060 100%);
}
.trial__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: stretch;
}
.trial__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 460px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}
.trial__panel h2 {
  margin-top: 12px;
}
.trial__panel .sub {
  margin-bottom: 26px;
  color: rgba(237, 248, 251, 0.74);
}
.trial__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.trial__steps article {
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at top right, rgba(213, 178, 125, 0.16), transparent 58%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}
.trial__steps article:nth-child(even) {
  transform: none;
}
.trial__steps span {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.trial__shot {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin: 12px 0;
  overflow: hidden;
  border-radius: 16px;
  background: #f7f4ed;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-origin: center center;
  transition: transform 180ms ease;
}
.trial__shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}
.trial__steps h3 {
  margin: 0 0 6px;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.15;
}
.trial__steps p {
  margin: 0;
  color: rgba(237, 248, 251, 0.72);
  font-size: 14px;
  line-height: 1.4;
}

.screens {
  position: relative;
  background:
    radial-gradient(circle at 86% 16%, rgba(160, 128, 80, 0.18), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
}
.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.screen-card {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66)),
    radial-gradient(circle at top right, rgba(16, 80, 96, 0.16), transparent 42%);
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.screen-card:hover {
  box-shadow: 0 34px 90px rgba(8, 23, 32, 0.24);
}
.screen-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(160, 128, 80, 0.22), rgba(16, 80, 96, 0.18));
  transform: translateZ(-36px) translateY(16px);
  filter: blur(8px);
}
.screen-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}
.screen-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #f6f8f9;
  border: 1px solid rgba(16, 80, 96, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.screen-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 34%, rgba(255, 255, 255, 0.12) 68%, transparent);
  mix-blend-mode: screen;
}
.screen-card__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
}
.screen-card__body {
  padding: 6px 8px 10px;
}
.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(16, 80, 96, 0.08);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.screen-card h3 {
  margin: 0 0 10px;
  font-size: clamp(23px, 2.4vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.screen-card p {
  margin: 0;
  color: var(--muted);
}
.screen-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.screen-card li { margin: 6px 0; }

.workboards {
  background:
    radial-gradient(circle at 18% 16%, rgba(160, 128, 80, 0.16), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.36));
}
.gallery-3d {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
  perspective: 1300px;
}
.gallery-3d__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  overflow: visible;
  padding: 10px;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.gallery-3d__item:hover {
  box-shadow: 0 34px 90px rgba(8, 23, 32, 0.24);
}
.gallery-3d__item--large {
  grid-column: span 2;
}
.gallery-3d__item--large:nth-last-child(-n+2) img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: top center;
  background: #f4f6f8;
}
.gallery-3d__item img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: contain;
  object-position: top;
}
.gallery-3d__item figcaption {
  align-self: flex-start;
  padding: 8px 11px;
  border: 1px solid rgba(16, 80, 96, 0.1);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(16, 80, 96, 0.07);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
}

.process {
  color: #edf8fb;
  background:
    radial-gradient(circle at 12% 12%, rgba(213, 178, 125, 0.22), transparent 26rem),
    linear-gradient(140deg, #081720, #0d3341 58%, #105060);
}
.process__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 44px;
}
.process .sub { color: rgba(237, 248, 251, 0.72); }
.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}
.timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
}
.timeline li::before {
  counter-increment: item;
  content: "0" counter(item);
  display: block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-weight: 900;
  letter-spacing: 0.12em;
}
.timeline__shot {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  margin: 0 0 14px;
  overflow: hidden;
  border-radius: 14px;
  background: #f7f4ed;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-origin: center center;
  transition: transform 180ms ease;
}
.timeline__shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.timeline b {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}
.timeline span {
  color: rgba(237, 248, 251, 0.72);
}

.cta-band {
  padding: 44px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(160, 128, 80, 0.95), rgba(16, 80, 96, 0.96)),
    var(--teal);
}
.cta-band__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 {
  margin: 8px 0 8px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
}
.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.role-grid article {
  min-height: 230px;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at top right, rgba(160, 128, 80, 0.18), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}
.role-grid span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.role-grid h3 {
  margin: 64px 0 8px;
  font-size: 21px;
}
.role-grid p {
  margin: 0;
  color: var(--muted);
}

.contact {
  color: #edf8fb;
  background:
    radial-gradient(circle at 78% 16%, rgba(160, 128, 80, 0.22), transparent 24rem),
    linear-gradient(150deg, #081720, #102936);
}
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}
.contact .sub { color: rgba(237, 248, 251, 0.72); }
.form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}
.form input:not([type="checkbox"]),
.form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.form textarea { resize: vertical; }
.form input::placeholder,
.form textarea::placeholder { color: rgba(237, 248, 251, 0.46); }
.form__consents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  align-items: start;
}
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: rgba(237, 248, 251, 0.82);
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
}
.form__consent input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: #fa6f3a;
  cursor: pointer;
}
.form__consent a {
  color: #fa6f3a;
  text-decoration: none;
  border-bottom: 1px solid #fa6f3a;
}
.form__consent a:hover { color: #ff8a5c; border-bottom-color: #ff8a5c; }
.form .btn { justify-self: start; }
.form__error {
  margin: 0;
  color: #ffb4a2;
  font-size: 14px;
  line-height: 1.4;
}
.caption {
  margin: 0;
  color: rgba(237, 248, 251, 0.56);
  font-size: 12px;
}

.footer {
  padding: 36px 0 98px;
  color: var(--muted);
  font-size: 13px;
  background: #f7f4ed;
}
.footer__brands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  padding: 8px 0 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(16, 80, 96, 0.12);
}
.footer__brands img {
  display: block;
  width: auto;
  max-width: none;
  height: 56px;
  object-fit: contain;
}
.footer__mpc {
  height: 52px;
}
.footer__based {
  height: 56px;
  padding-left: 28px;
  border-left: 1px solid rgba(16, 80, 96, 0.16);
}
.footer__in {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer a {
  text-decoration: none;
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 23, 32, 0.94);
  backdrop-filter: blur(14px);
}
.mobile-cta .btn { flex: 1; }

.popup {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 23, 32, 0.58);
  backdrop-filter: blur(8px);
}
.popup.is-on { display: flex; }
.popup__card {
  position: relative;
  width: min(440px, 100%);
  padding: 30px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-3d);
}
.popup__card h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.popup__card p {
  margin: 0 0 18px;
  color: var(--muted);
}
.popup__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
}

body.is-lightbox-open {
  overflow: hidden;
}
.hero-card img,
.screen-card__media img,
.gallery-3d__item img,
.trial__shot img,
.timeline__shot img {
  cursor: zoom-in;
}
.hero-card img:focus-visible,
.screen-card__media img:focus-visible,
.gallery-3d__item img:focus-visible,
.trial__shot img:focus-visible,
.timeline__shot img:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 14px;
  padding: 34px;
  background:
    radial-gradient(circle at 78% 16%, rgba(213, 178, 125, 0.18), transparent 26rem),
    rgba(8, 23, 32, 0.92);
  backdrop-filter: blur(14px);
}
.image-lightbox.is-on {
  display: grid;
}
.image-lightbox img {
  max-width: min(96vw, 1680px);
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.46);
}
.image-lightbox p {
  margin: 0;
  max-width: min(920px, 92vw);
  color: rgba(237, 248, 251, 0.82);
  text-align: center;
  font-weight: 750;
}
.image-lightbox__close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  backdrop-filter: blur(12px);
}
.image-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 1020px) {
  .hero__grid,
  .intro__grid,
  .trial__grid,
  .section__head,
  .screen-card--wide,
  .process__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding: 56px 0 74px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__stage {
    min-height: 470px;
  }

  .intro__cards,
  .gallery-3d,
  .role-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-3d__item--large {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .nav__logo img {
    width: 44px;
    height: 44px;
  }

  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav__links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 20px;
    background: rgba(8, 23, 32, 0.98);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 0; }
  .nav__cta { display: none; }

  .footer__brands {
    gap: 18px;
  }
  .footer__mpc { height: 40px; }
  .footer__based {
    height: 44px;
    padding-left: 18px;
  }

  .hero__actions,
  .cta-band__in,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }
  .btn { width: 100%; }

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

  .hero__stage {
    min-height: 360px;
  }
  .hero-card--main {
    left: 0;
    width: 100%;
    transform: rotateX(7deg) rotateY(-8deg);
  }
  .hero-card--back,
  .hero-card--front,
  .status-pill {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .screen-grid,
  .intro__cards,
  .trial__steps,
  .gallery-3d,
  .timeline,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .trial__panel {
    min-height: 0;
    padding: 24px;
  }

  .trial__steps article,
  .trial__steps article:nth-child(even) {
    aspect-ratio: auto;
    min-height: 0;
    transform: none;
  }

  .trial__shot {
    flex: none;
    aspect-ratio: 16 / 10;
    min-height: 132px;
    margin: 12px 0 14px;
  }

  .trial__steps h3 {
    margin-top: 0;
  }

  .screen-card {
    border-radius: 24px;
    padding: 12px;
  }

  .screen-card__media {
    border-radius: 18px;
  }

  .screen-card__body {
    padding: 6px 6px 12px;
  }

  .gallery-3d__item,
  .gallery-3d__item--large {
    grid-column: auto;
    min-height: 0;
  }

  .role-grid article,
  .timeline li {
    min-height: 0;
  }

  .role-grid h3 {
    margin-top: 38px;
  }

  .mobile-cta {
    display: flex;
  }

  .image-lightbox {
    padding: 18px;
  }

  .image-lightbox img {
    max-height: 78vh;
    border-radius: 14px;
  }
}

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