/* =========================================================
   DEX Shop Nicolina
   Editorial / premium corporate system — mobile first, no deps.
   ========================================================= */

:root {
  /* Colour */
  --ink: #0a0f1a;
  --ink-2: #0c121d;
  --ink-3: #121a28;
  --stone: #f7f6f3;
  --stone-2: #f1efea;
  --white: #ffffff;

  --line: #e4e1da;
  --line-2: #d7d3ca;
  --line-dark: rgba(255, 255, 255, 0.13);
  --line-dark-soft: rgba(255, 255, 255, 0.07);

  --blue: #1e4bd8;
  --blue-hover: #173cb4;
  --blue-soft: #e9edfb;
  --gold: #b89355;

  --text: #101722;
  --body: #4f5866;
  --muted: #7a8492;

  --dark-text: #f2f4f8;
  --dark-body: #a5afbd;
  --dark-muted: #77828f;

  /* Metrics */
  --max: 1240px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 18px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Text",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* Removes the tap delay on touch devices without adding JS listeners. */
a, button { touch-action: manipulation; }

/* Avoids horizontal rubber-banding while scrolling sideways on mobile. */
body { overscroll-behavior-x: none; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 6.4vw, 3.85rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(1.6rem, 4.6vw, 2.65rem);
  line-height: 1.13;
}
h3 {
  font-size: 1.02rem;
  line-height: 1.4;
  letter-spacing: -0.018em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow__rule {
  width: 26px;
  height: 1px;
  background: var(--line-2);
  flex-shrink: 0;
}
.eyebrow--light { color: var(--dark-muted); }
.eyebrow--light .eyebrow__rule { background: rgba(255, 255, 255, 0.28); }

.stars {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { flex-shrink: 0; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }

.btn--light { background: var(--stone); color: var(--ink); }
.btn--light:hover { background: #fff; }

.btn--outline-light {
  color: var(--dark-text);
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
}
.btn--outline-light:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.84rem;
  border-radius: 8px;
}

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
  background: var(--ink);
  color: #9aa5b4;
  font-size: 0.74rem;
  letter-spacing: 0.01em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.topbar__item svg { color: #6f7c8d; flex-shrink: 0; }
.topbar__meta { display: none; align-items: center; gap: 14px; }
.topbar__divider {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.16);
}
.topbar__rating { white-space: nowrap; }

.status { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.status__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #35c48a;
  box-shadow: 0 0 0 3px rgba(53, 196, 138, 0.16);
}

/* =========================================================
   HEADER
   ========================================================= */
/* Solid bar on purpose: a blurred, translucent sticky header forces the
   browser to re-composite the blur on every scroll frame (visible jank on
   mid-range phones). A flat fill is painted once. */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--stone);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex-shrink: 0;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--stone);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1;
  padding-bottom: 2px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__name {
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: -0.028em;
  color: var(--text);
  white-space: nowrap;
}
.brand__sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Desktop nav */
.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #3c4552;
  transition: color 0.18s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header__phone { display: flex; flex-direction: column; line-height: 1.25; }
.header__phone-label {
  display: none;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.header__phone-number {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.header__phone:hover .header__phone-number { color: var(--blue); }
.header__actions .btn--sm { display: none; }

/* Mobile toggle */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-toggle:hover { border-color: var(--muted); }
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
.header.is-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.header.is-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  border-top: 1px solid transparent;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease),
    border-color 0.3s var(--ease), visibility 0s linear 0.4s;
  background: var(--stone);
}
.header.is-open .mobile-menu {
  max-height: 460px;
  opacity: 1;
  visibility: visible;
  border-top-color: var(--line);
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease),
    border-color 0.3s var(--ease), visibility 0s;
}
.mobile-menu__nav { display: flex; flex-direction: column; padding: 6px 20px 0; }
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.mobile-menu__nav a span {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.mobile-menu__foot { display: grid; gap: 10px; padding: 18px 20px 22px; }
.mobile-menu__foot p {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--dark-text);
  padding: clamp(38px, 6.5vw, 92px) 0 clamp(44px, 6.5vw, 84px);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 70% at 78% 8%, rgba(30, 75, 216, 0.22), transparent 62%),
    radial-gradient(60% 60% at 8% 96%, rgba(184, 147, 85, 0.09), transparent 60%),
    linear-gradient(180deg, #0b111d 0%, #0a0f1a 55%, #080c14 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(75% 65% at 62% 30%, #000, transparent 78%);
  mask-image: radial-gradient(75% 65% at 62% 30%, #000, transparent 78%);
}

.hero__inner { display: grid; gap: 44px; }
.hero__copy { max-width: 560px; }

.hero h1 { color: #fbfbf9; }
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #a7bdff;
}

.hero__lead {
  margin-top: 22px;
  max-width: 48ch;
  font-size: clamp(0.98rem, 2.6vw, 1.06rem);
  line-height: 1.72;
  color: var(--dark-body);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.hero__actions .btn { flex: 1 1 auto; min-width: 0; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}
.hero__facts dt {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 5px;
}
.hero__facts dd {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark-text);
  letter-spacing: -0.01em;
}

/* Visual / spec card — displayed from tablet-landscape up */
.hero__visual {
  position: relative;
  display: none;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}

.spec-card {
  position: relative;
  margin: 0;
  padding: 18px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f6f4ef 100%);
  color: var(--text);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 40px 80px -45px rgba(0, 0, 0, 0.9),
    0 2px 10px -6px rgba(0, 0, 0, 0.4);
}
.spec-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 16px;
}
.spec-card__kicker {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-card__tag {
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--body);
}

.spec-card__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 30px 0 32px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, #f3f2ee, #faf9f7);
  overflow: hidden;
}
.spec-card__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 15, 26, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 15, 26, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%);
}

.device {
  position: relative;
  width: 132px;
  aspect-ratio: 9 / 18.2;
  padding: 5px;
  border-radius: 21px;
  background: #fff;
  border: 1.5px solid #1a2333;
  box-shadow: 0 18px 34px -22px rgba(10, 15, 26, 0.75);
  z-index: 1;
}
.device__screen {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(26, 35, 51, 0.16);
  background: linear-gradient(155deg, #e9eefb 0%, #f7f8fc 55%, #eaedf4 100%);
  overflow: hidden;
}
.device__notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 7px;
  border-radius: 99px;
  background: #1a2333;
  opacity: 0.92;
}
.device__glyph { position: relative; z-index: 2; color: var(--blue); opacity: 0.92; }
.device__line {
  position: absolute;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 75, 216, 0.4), transparent);
}
.device__line--a { top: 34%; }
.device__line--b { top: 68%; }

.spec-card__float {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spec-card__foot { margin-top: 14px; padding: 6px 4px 2px; border-top: 1px solid var(--line); }
.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--line);
}
.spec-row:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-row > span:first-child { color: var(--muted); }
.spec-row__value { font-weight: 600; color: var(--text); text-align: right; }

/* =========================================================
   PROOF STRIP
   ========================================================= */
.proof {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.proof__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.proof__list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 22px 16px 22px 0;
  border-bottom: 1px solid var(--line);
}
.proof__list li:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.proof__list li:nth-last-child(-n + 2) { border-bottom: 0; }
.proof__value {
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.proof__value small {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.proof__label {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(50px, 7.5vw, 100px) 0; }
.section--stone {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.section--ink {
  background: var(--ink);
  color: var(--dark-body);
  position: relative;
  isolation: isolate;
}
.section--ink::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 55% at 88% 4%, rgba(30, 75, 216, 0.18), transparent 62%),
    linear-gradient(180deg, #0a0f1a, #080c14);
}
.section--ink h2 { color: #fbfbf9; }

.section__head { max-width: 720px; margin-bottom: clamp(30px, 5vw, 52px); }
.section__head h2 { margin-bottom: 0; }
.section__lead {
  margin-top: 18px;
  max-width: 56ch;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--body);
  text-wrap: pretty;
}
.section--ink .section__lead { color: var(--dark-body); }

/* =========================================================
   VALUES
   ========================================================= */
.values {
  display: grid;
  grid-template-columns: 1fr;
}
.value {
  position: relative;
  padding: 24px 44px 24px 0;
  border-top: 1px solid var(--line);
}
.value__index {
  display: block;
  margin-bottom: 10px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.value__body h3 { margin-bottom: 7px; }
.value__body p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--body);
  max-width: 40ch;
}
.value__mark {
  position: absolute;
  top: 24px;
  right: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.service {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.service:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -34px rgba(10, 15, 26, 0.55);
}
.service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.service__num {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.service__icon { color: var(--blue); display: grid; place-items: center; }
.service h3 { margin-bottom: 9px; }
.service p {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--body);
}
.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.service__tags li {
  position: relative;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--muted);
}
.service__tags li + li::before {
  content: "·";
  position: absolute;
  left: -9px;
  color: var(--line-2);
}

/* Banner */
.banner {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, #0b111d 0%, #101a2c 60%, #0c1421 100%);
  color: var(--dark-text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.banner__title {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.banner__sub {
  margin-top: 5px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--dark-body);
}
.banner .btn { width: 100%; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { display: grid; gap: 14px; }

.contact__panel {
  padding: 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.024);
}
.contact__row {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark-soft);
}
.contact__row:first-child { padding-top: 4px; }
.contact__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-muted);
}
.contact__strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--dark-text);
  letter-spacing: -0.015em;
  line-height: 1.45;
}
.contact__muted {
  margin-top: 4px;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--dark-body);
}
.contact__phone {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s var(--ease);
}
.contact__phone:hover { color: #a7bdff; }

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.contact__actions .btn { flex: 1 1 190px; }

/* Map */
.map {
  position: relative;
  min-height: 320px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  background: #0b121d;
  isolation: isolate;
}
.map__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  /* 2D transform only — cheaper to rasterise than a perspective() layer */
  transform: rotate(-9deg) scale(1.4);
  transform-origin: 50% 50%;
  -webkit-mask-image: radial-gradient(65% 60% at 50% 45%, #000, transparent 80%);
  mask-image: radial-gradient(65% 60% at 50% 45%, #000, transparent 80%);
}
.map__road {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
}
.map__road--a {
  height: 2px;
  width: 150%;
  top: 46%;
  left: -25%;
  transform: rotate(-11deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}
.map__road--b {
  width: 2px;
  height: 150%;
  left: 38%;
  top: -25%;
  transform: rotate(9deg);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.map__pin {
  position: absolute;
  top: 41%;
  left: 52%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.map__pin-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #dfe7ff;
  box-shadow: 0 0 0 5px rgba(30, 75, 216, 0.25), 0 10px 24px -6px rgba(0, 0, 0, 0.8);
}
/* Static halo: no infinite animation, so nothing keeps the compositor awake
   while the page scrolls. */
.map__pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(120, 155, 255, 0.4);
  box-shadow: 0 0 0 6px rgba(30, 75, 216, 0.1);
}

.map__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 44px 20px 20px;
  background: linear-gradient(to top, rgba(6, 9, 15, 0.98) 20%, rgba(6, 9, 15, 0.75) 60%, transparent);
}
.map__eyebrow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fa6d8;
}
.map__name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark-text);
  letter-spacing: -0.015em;
}
.map__link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}
.map__link:focus-visible { outline-offset: -4px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #070b12;
  color: var(--dark-body);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 48px;
}
.footer__top { display: grid; gap: 34px; padding-bottom: 38px; }
.brand--footer .brand__mark { background: var(--stone); color: var(--ink); }
.brand--footer .brand__name { color: #f4f6fa; }
.brand--footer .brand__sub { color: var(--dark-muted); }

.footer__desc {
  margin-top: 16px;
  max-width: 42ch;
  font-size: 0.86rem;
  line-height: 1.72;
  color: #8d98a6;
}
.footer__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: #a9b3c0;
}

.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col h3 {
  margin-bottom: 5px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7686;
}
.footer__col a,
.footer__col p {
  font-size: 0.86rem;
  line-height: 1.65;
  color: #98a3b2;
  width: fit-content;
}
.footer__col a { transition: color 0.18s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__phone { font-weight: 600; color: #e7ebf2 !important; }
.footer__hours { color: #35c48a !important; font-weight: 500; }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.75rem;
  color: #6b7686;
}
.footer__bottom span { color: #98a3b2; }

/* =========================================================
   REVEAL
   ========================================================= */
/* Motion only — content stays readable even if the observer never fires. */
.js [data-reveal] {
  transform: translateY(14px);
  transition: transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible { transform: none; }

/* =========================================================
   BREAKPOINTS
   ========================================================= */
@media (min-width: 560px) {
  .container { padding-inline: 28px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .header__actions .btn--sm { display: inline-flex; }
  .banner { grid-template-columns: 1fr auto; align-items: center; padding: 30px 32px; }
  .banner .btn { width: auto; }
  .proof__list li { padding-block: 28px; }
  .proof__value { font-size: 1.5rem; }
  .contact__actions .btn { flex: 0 0 auto; }
}

@media (min-width: 680px) {
  .topbar__meta { display: flex; }
  .header { --h: 70px; }
  .header__inner { min-height: 70px; }
  .brand__mark { width: 38px; height: 38px; flex-basis: 38px; font-size: 1.16rem; }
  .brand__name { font-size: 1rem; }
  .header__phone-label { display: block; }
  .header__phone-number { font-size: 0.88rem; }
  .values { grid-template-columns: repeat(2, 1fr); column-gap: 44px; }
  .services { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .service { padding: 28px; }
  .contact__panel { padding: 28px 30px; }
  .map { min-height: 380px; }
  .footer__top { grid-template-columns: 1.5fr 1fr; column-gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 960px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
  .header__inner { min-height: 76px; gap: 24px; }
  .header__actions { gap: 20px; }
  .hero { padding-top: clamp(64px, 7vw, 104px); }
  .hero__inner {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 56px;
  }
  .hero__lead { font-size: 1.06rem; }
  .hero__visual { display: block; }
  .spec-card { padding: 20px; }
  .device { width: 150px; }
  .proof__list { grid-template-columns: repeat(4, 1fr); }
  .proof__list li {
    padding: 30px 26px;
    border-bottom: 0;
  }
  .proof__list li:nth-child(even) { padding-left: 26px; }
  .proof__list li + li { border-left: 1px solid var(--line); }
  .proof__list li:first-child { padding-left: 0; }
  .values { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .value { padding: 26px 34px 0 0; }
  .value__mark { top: 26px; }
  .section__head--split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: end;
    max-width: none;
  }
  .section__lead--aside { margin-top: 0; }
  .contact { grid-template-columns: 0.92fr 1.08fr; gap: 18px; align-items: stretch; }
  .map { min-height: 100%; }
  .footer__top { grid-template-columns: 1.7fr 0.8fr 1fr; gap: 48px; }
  .footer__brand { grid-column: auto; }
}

@media (min-width: 1180px) {
  .container { padding-inline: 40px; }
  .hero__inner { gap: 72px; }
  .spec-card { padding: 22px; }
  .device { width: 158px; }
  .service { padding: 32px; }
  .contact__panel { padding: 32px 34px; }
}

/* Small phones */
@media (max-width: 390px) {
  .container { padding-inline: 16px; }
  .brand__sub { font-size: 0.55rem; letter-spacing: 0.1em; }
  .brand__name { font-size: 0.88rem; }
  .header__phone-number { font-size: 0.8rem; }
  .header__actions { gap: 6px; }
  .nav-toggle { width: 36px; height: 36px; }
  .topbar { font-size: 0.68rem; }
  .hero__facts { gap: 14px 22px; }
  .contact__phone { font-size: 1.4rem; }
  .spec-card { padding: 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { transform: none; }
}

/* Print */
@media print {
  .topbar, .header, .hero__visual, .map__link, .skip-link { display: none !important; }
  body { background: #fff; }
  .hero, .section--ink, .footer { background: #fff !important; color: #000 !important; }
  .hero h1, .section--ink h2, .contact__strong, .contact__phone { color: #000 !important; }
  .hero__lead, .section__lead, .contact__muted { color: #333 !important; }
  .js [data-reveal] { transform: none; }
}
