/* ==========================================================================
   NEPTIS TECHNOLOGIES PRIVATE LIMITED
   Global stylesheet — design tokens, layout, components, pages, responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — sampled from the supplied logo */
  --red: #e60a0a;
  --red-600: #cc0808;
  --red-700: #a80606;
  --red-tint: #fdeaea;
  --red-glow: rgba(230, 10, 10, 0.28);

  --ink: #231f20;
  --ink-800: #322c2e;
  --ink-700: #4a4344;
  --muted: #6f6869;
  --muted-2: #8d8687;

  --line: #e9e5e6;
  --line-strong: #d9d4d5;

  --bg: #ffffff;
  --bg-soft: #f8f7f7;
  --bg-tint: #f4f2f2;

  /* Type */
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Shape */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(35, 31, 32, 0.06);
  --sh-sm: 0 2px 6px rgba(35, 31, 32, 0.06), 0 8px 20px rgba(35, 31, 32, 0.05);
  --sh-md: 0 10px 34px rgba(35, 31, 32, 0.1);
  --sh-lg: 0 28px 70px rgba(35, 31, 32, 0.16);

  /* Metrics */
  --container: 1180px;
  --header-h: 78px;
  --section-y: clamp(64px, 8vw, 112px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
}
.skip-link:focus { left: 16px; }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.16;
  letter-spacing: -0.021em;
  font-weight: 800;
}

h1 { font-size: clamp(2.15rem, 1.35rem + 3.1vw, 3.65rem); }
h2 { font-size: clamp(1.72rem, 1.2rem + 2vw, 2.65rem); }
h3 { font-size: clamp(1.18rem, 1.02rem + 0.6vw, 1.42rem); font-weight: 700; }
h4 { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

strong { color: var(--ink); font-weight: 650; }

.lead {
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.16rem);
  color: var(--muted);
  line-height: 1.75;
}

.text-red { color: var(--red); }

/* Underline flourish used on hero headlines */
.mark-line {
  position: relative;
  white-space: nowrap;
}
.mark-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.3em;
  background: var(--red);
  opacity: 0.16;
  border-radius: 3px;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 5vw, 72px); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p { color: var(--muted); font-size: 1.03rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.section-head--center .eyebrow::before { display: none; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: -0.005em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px var(--red-glow);
  background: var(--red-600);
}
.btn:active { transform: translateY(0); }

.btn--dark { --btn-bg: var(--ink); }
.btn--dark:hover { background: var(--ink-800); box-shadow: 0 12px 26px rgba(35, 31, 32, 0.28); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 12px 26px rgba(35, 31, 32, 0.2);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}
.btn--light:hover { background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.btn--sm { padding: 10px 20px; font-size: 0.87rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--red);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Brand mark (inline SVG lockup — used where the PNG can't sit on dark)
   -------------------------------------------------------------------------- */
.nx-mark { width: 34px; height: 34px; flex: none; }
.nx-mark .d-ink { fill: var(--ink); }
.nx-mark .d-red { fill: var(--red); }

.nx-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.nx-lockup .nx-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
  color: #fff;
  line-height: 1;
}
.nx-lockup .nx-word i { font-style: normal; color: var(--red); }
.nx-lockup .nx-mark .d-ink { fill: #fff; }

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.28s var(--ease), border-color 0.28s var(--ease),
    background 0.28s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 26px rgba(35, 31, 32, 0.07);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  display: block;
  padding: 9px 15px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--ink-700);
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--bg-tint); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--red);
}

.header-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.18s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: #fff;
  padding: 26px 0 40px;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.34s var(--ease), visibility 0.34s;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav a.m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.m-link svg { width: 18px; height: 18px; color: var(--muted-2); }
.mobile-nav a.m-link.is-active { color: var(--red); }
.mobile-nav .m-actions { margin-top: 28px; display: grid; gap: 12px; }
.mobile-nav .m-meta {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.mobile-nav .m-meta a { color: var(--ink); font-weight: 600; }

/* Push content below fixed header */
main { padding-top: var(--header-h); }

/* --------------------------------------------------------------------------
   8. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 6.5vw, 96px) clamp(64px, 7vw, 104px);
  background:
    radial-gradient(900px 460px at 88% -8%, rgba(230, 10, 10, 0.07), transparent 60%),
    radial-gradient(700px 420px at 4% 8%, rgba(35, 31, 32, 0.05), transparent 62%),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 22px;
}
.hero-badge b {
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 540px; margin-bottom: 30px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 30px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
}
.hero-points svg { width: 18px; height: 18px; color: var(--red); flex: none; }

/* Visual collage */
.hero-visual { position: relative; }
.hero-visual .shot {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 3.35;
  background: var(--bg-tint);
}
.hero-visual .shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(35, 31, 32, 0.35));
}

.float-card {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.float-card .fc-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--red-tint);
  color: var(--red);
  flex: none;
}
.float-card .fc-icon svg { width: 20px; height: 20px; }
.float-card b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.16rem;
  color: var(--ink);
  line-height: 1.15;
}
.float-card span { font-size: 0.79rem; color: var(--muted); }

.float-card--a { left: -26px; top: 16%; animation: bob 6s ease-in-out infinite; }
.float-card--b { right: -20px; bottom: 12%; animation: bob 6s ease-in-out 1.4s infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

.hero-dots {
  position: absolute;
  right: -34px;
  top: -30px;
  width: 130px;
  height: 130px;
  background-image: radial-gradient(var(--red) 1.6px, transparent 1.7px);
  background-size: 15px 15px;
  opacity: 0.3;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   9. Stats
   -------------------------------------------------------------------------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.stats-strip .stat {
  background: #fff;
  padding: 30px 22px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.85rem, 1.4rem + 1.5vw, 2.5rem);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat .num i { font-style: normal; color: var(--red); }
.stat .lbl {
  margin-top: 9px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.stats-strip--dark { background: rgba(255, 255, 255, 0.1); border: 0; }
.stats-strip--dark .stat { background: transparent; }
.stats-strip--dark .num { color: #fff; }
.stats-strip--dark .lbl { color: rgba(255, 255, 255, 0.6); }

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.955rem; margin-bottom: 0; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--red-tint);
  color: var(--red);
  margin-bottom: 20px;
  transition: background 0.28s var(--ease), color 0.28s var(--ease);
}
.card-icon svg { width: 25px; height: 25px; }
.card:hover .card-icon { background: var(--red); color: #fff; }

.card-list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  display: grid;
  gap: 8px;
}
.card-list li {
  display: flex;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--ink-700);
}
.card-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

.card-num {
  position: absolute;
  right: 22px;
  top: 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--ink);
  opacity: 0.06;
  line-height: 1;
}

/* Soft card (no hover lift) */
.card--flat:hover { transform: none; box-shadow: var(--sh-xs); }

/* --------------------------------------------------------------------------
   11. Media / figures
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-tint);
  box-shadow: var(--sh-md);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--16x10 { aspect-ratio: 16 / 10; }
.media--1x1 { aspect-ratio: 1 / 1; }

.media-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  box-shadow: var(--sh-sm);
}

.media-frame {
  position: relative;
  isolation: isolate;
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--red);
  border-radius: var(--r-lg);
  opacity: 0.24;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   12. Feature rows (alternating image / text)
   -------------------------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(40px, 4.5vw, 64px);
  border-top: 1px solid var(--line);
}
.feature-row:first-of-type { border-top: 0; padding-top: 0; }
.feature-row--flip .fr-media { order: 2; }

.fr-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--red-tint);
  color: var(--red-700);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.check-list { display: grid; gap: 12px; margin: 22px 0 0; }
.check-list li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-700);
}
.check-list svg {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--red);
  margin-top: 1px;
}
.check-list b { display: block; color: var(--ink); font-weight: 650; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 26px;
}

/* --------------------------------------------------------------------------
   13. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(52px, 6vw, 84px);
  background:
    radial-gradient(760px 380px at 84% 0%, rgba(230, 10, 10, 0.08), transparent 62%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead { max-width: 640px; }
.page-hero .btn-row { margin-top: 28px; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.crumbs svg { width: 14px; height: 14px; opacity: 0.5; }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}

/* --------------------------------------------------------------------------
   14. Products
   -------------------------------------------------------------------------- */
.product-block {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.product-block--flip .pb-media { order: 2; }

.product-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.product-logo .pl-badge {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.product-logo .pl-badge img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.product-logo .pl-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.42rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.product-logo .pl-url { font-size: 0.85rem; color: var(--red); font-weight: 600; }

.feature-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 26px 0 28px;
}
.feature-mini li {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}
.feature-mini li:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature-mini svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 2px; }
.feature-mini b {
  display: block;
  font-family: var(--font-head);
  font-size: 0.93rem;
  color: var(--ink);
  font-weight: 700;
}
.feature-mini span { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* Browser chrome mock around product shots */
.browser {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
}
.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.browser-bar i:first-child { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar .url {
  margin-left: 8px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px 14px;
  font-size: 0.76rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-shot { aspect-ratio: 16 / 10.4; background: var(--bg-tint); }
.browser-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
/* Real product screenshots: match the frame to the image's own ratio so the
   whole UI is visible instead of being cropped at the edges. */
.browser-shot--lms { aspect-ratio: 1625 / 968; }
.browser-shot--fg { aspect-ratio: 1280 / 847; }

/* --------------------------------------------------------------------------
   15. Process steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-top: 26px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--red);
  letter-spacing: 0.08em;
}
.step::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
}
.step:first-child::after { background: var(--red); }
.step h3 { margin: 10px 0 8px; font-size: 1.1rem; }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   16. Chips / pills / tech grid
   -------------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: all 0.22s var(--ease);
}
.chip:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-tint);
  transform: translateY(-2px);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--ink);
  transition: all 0.22s var(--ease);
}
.tech-item:hover { border-color: var(--red); box-shadow: var(--sh-sm); transform: translateY(-3px); }
.tech-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; }

.tech-col h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tech-col h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* --------------------------------------------------------------------------
   17. Testimonials
   -------------------------------------------------------------------------- */
.tst {
  position: relative;
  overflow: hidden;
}
.tst-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}
.tst-slide { min-width: 100%; padding: 4px; }
.tst-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 46px);
  box-shadow: var(--sh-sm);
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}
.tst-quote {
  font-family: var(--font-head);
  font-size: clamp(1.06rem, 0.96rem + 0.55vw, 1.36rem);
  line-height: 1.6;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 24px;
}
.tst-quote::before { content: "“"; color: var(--red); }
.tst-quote::after { content: "”"; color: var(--red); }
.tst-who {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}
.tst-role { font-size: 0.85rem; color: var(--muted); }
.tst-stars { display: flex; justify-content: center; gap: 3px; margin-bottom: 18px; color: var(--red); }
.tst-stars svg { width: 17px; height: 17px; }

.tst-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.tst-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-strong);
  transition: all 0.24s var(--ease);
}
.tst-dots button.is-active { background: var(--red); width: 26px; border-radius: var(--r-pill); }

/* --------------------------------------------------------------------------
   18. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.acc-btn:hover { color: var(--red); }
.acc-icon {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-tint);
  display: grid;
  place-items: center;
  position: relative;
  transition: background 0.24s var(--ease);
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), background 0.24s var(--ease);
}
.acc-icon::before { width: 12px; height: 2px; }
.acc-icon::after { width: 2px; height: 12px; }
.acc-btn[aria-expanded="true"] .acc-icon { background: var(--red); }
.acc-btn[aria-expanded="true"] .acc-icon::before,
.acc-btn[aria-expanded="true"] .acc-icon::after { background: #fff; }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: rotate(90deg); }

.acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.36s var(--ease);
}
.acc-panel > div { padding: 0 44px 24px 4px; color: var(--muted); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   19. Jobs
   -------------------------------------------------------------------------- */
.job-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn {
  padding: 9px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 0.87rem;
  color: var(--ink-700);
  transition: all 0.22s var(--ease);
}
.filter-btn:hover { border-color: var(--line-strong); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.job-list { display: grid; gap: 14px; }
.job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: all 0.26s var(--ease);
}
.job:hover { border-color: var(--red); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.job h3 { margin: 0 0 8px; font-size: 1.1rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.86rem; color: var(--muted); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { width: 15px; height: 15px; color: var(--red); }
.job-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--red-tint);
  color: var(--red-700);
  font-size: 0.74rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.job.is-hidden { display: none; }

.jobs-empty {
  display: none;
  padding: 46px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  color: var(--muted);
}
.jobs-empty.is-shown { display: block; }

/* --------------------------------------------------------------------------
   20. Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 155px;
  gap: 14px;
}
.gallery figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-tint);
  position: relative;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }

/* --------------------------------------------------------------------------
   21. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}

.info-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: all 0.26s var(--ease);
}
.info-card:hover { border-color: var(--red); box-shadow: var(--sh-sm); }
.info-card .ic-ico {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--red-tint);
  color: var(--red);
}
.info-card .ic-ico svg { width: 21px; height: 21px; }
.info-card h4 { margin: 0 0 5px; font-size: 0.98rem; }
.info-card p, .info-card a { font-size: 0.93rem; color: var(--muted); margin: 0; }
.info-card a:hover { color: var(--red); }

.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 42px);
  box-shadow: var(--sh-sm);
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 0.87rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field label .req { color: var(--red); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236f6869' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 10, 10, 0.1);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); background: var(--red-tint); }

.field .err {
  display: none;
  margin-top: 6px;
  font-size: 0.81rem;
  color: var(--red-700);
  font-weight: 500;
}
.field.has-error .err { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-note { font-size: 0.83rem; color: var(--muted-2); margin-top: 14px; }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 13px;
  padding: 18px 20px;
  margin-bottom: 22px;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  border-radius: var(--r-sm);
  color: #05603a;
  font-size: 0.92rem;
}
.form-success.is-shown { display: flex; }
.form-success svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  line-height: 0;
  background: var(--bg-tint);
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* --------------------------------------------------------------------------
   22. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 320px at 88% 110%, rgba(230, 10, 10, 0.4), transparent 62%),
    radial-gradient(520px 300px at 6% -20%, rgba(230, 10, 10, 0.2), transparent 60%);
}
.cta-band > .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255, 255, 255, 0.72); }

.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 34px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   23. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #1a1718;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 40px;
  padding-block: clamp(48px, 5.5vw, 72px);
}
.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer p { line-height: 1.75; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: rgba(255, 255, 255, 0.62); transition: color 0.2s var(--ease), padding-left 0.2s var(--ease); }
.footer-links a:hover { color: #fff; padding-left: 5px; }

.footer-contact { display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--red); margin-top: 3px; }
.footer-contact a { color: rgba(255, 255, 255, 0.62); }
.footer-contact a:hover { color: #fff; }

.footer-brand-copy { margin: 18px 0 22px; max-width: 330px; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.22s var(--ease);
}
.socials a:hover { background: var(--red); color: #fff; transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   24. Misc utilities
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.3s var(--ease);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red); }
.to-top svg { width: 19px; height: 19px; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.note-band {
  display: flex;
  gap: 14px;
  padding: 20px 24px;
  background: var(--red-tint);
  border-left: 3px solid var(--red);
  border-radius: var(--r-sm);
  font-size: 0.94rem;
  color: var(--ink-700);
}
.note-band svg { width: 21px; height: 21px; color: var(--red); flex: none; margin-top: 2px; }

/* --------------------------------------------------------------------------
   25. Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.09s; }
[data-reveal][data-delay="2"] { transition-delay: 0.18s; }
[data-reveal][data-delay="3"] { transition-delay: 0.27s; }
[data-reveal][data-delay="4"] { transition-delay: 0.36s; }

@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   25b. Notice modal (maintenance / apply-by-email)
   -------------------------------------------------------------------------- */
.nx-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.nx-modal.is-open { display: flex; }

.nx-modal__veil {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 18, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: nxFade 0.25s var(--ease);
}

.nx-modal__card {
  position: relative;
  width: min(540px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--bg);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 34px 32px 30px;
  animation: nxRise 0.32s var(--ease);
}

@keyframes nxFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nxRise {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.nx-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--bg-tint);
  color: var(--ink-700);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nx-modal__close:hover { background: var(--red-tint); color: var(--red); }
.nx-modal__close svg { width: 17px; height: 17px; }

.nx-modal__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  background: var(--red-tint);
  color: var(--red);
  margin-bottom: 18px;
}
.nx-modal__icon svg { width: 26px; height: 26px; }

.nx-modal__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.nx-modal__tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: nxPulse 1.8s ease-in-out infinite;
}
@keyframes nxPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.nx-modal__card h2 {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 10px;
}
.nx-modal__card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0 0 18px;
}
.nx-modal__card p:last-of-type { margin-bottom: 0; }

.nx-mail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  margin-bottom: 10px;
}
.nx-mail__ico { color: var(--red); flex: none; display: grid; place-items: center; }
.nx-mail__ico svg { width: 19px; height: 19px; }
.nx-mail__txt { min-width: 0; flex: 1; }
.nx-mail__txt small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}
.nx-mail__txt a {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  word-break: break-all;
  line-height: 1.35;
}
.nx-mail__txt a:hover { color: var(--red); }

.nx-copy {
  flex: none;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  border-radius: var(--r-pill);
  padding: 6px 13px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.nx-copy:hover { border-color: var(--red); color: var(--red); }
.nx-copy.is-done { background: var(--red); border-color: var(--red); color: #fff; }

.nx-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.nx-modal__actions .btn { flex: 1 1 190px; justify-content: center; }

.nx-modal__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--muted-2);
}
.nx-modal__foot a { color: var(--red); font-weight: 600; }

@media (max-width: 520px) {
  .nx-modal { padding: 12px; }
  .nx-modal__card { padding: 28px 20px 24px; }
  .nx-mail { flex-wrap: wrap; }
  .nx-copy { width: 100%; }
}

/* --------------------------------------------------------------------------
   26. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }

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

  .hero-grid,
  .split,
  .feature-row,
  .product-block,
  .contact-grid,
  .page-hero-grid,
  .cta-inner { grid-template-columns: 1fr; }

  .feature-row--flip .fr-media,
  .product-block--flip .pb-media { order: 0; }

  .hero-visual { max-width: 560px; margin-inline: auto; }
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
  .hero-dots { display: none; }
  .media-frame::before { display: none; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }

  .cta-inner { text-align: center; justify-items: center; }
  .cta-inner .btn-row { justify-content: center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--container)); }

  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .stat { padding: 24px 14px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .feature-mini, .check-grid, .field-row { grid-template-columns: 1fr; }

  .job { grid-template-columns: 1fr; }
  .job .btn { width: 100%; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .gallery .g-wide { grid-column: span 2; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .float-card { padding: 11px 14px; }
  .float-card b { font-size: 1rem; }
  .float-card .fc-icon { width: 34px; height: 34px; }
  .float-card .fc-icon svg { width: 17px; height: 17px; }

  .acc-panel > div { padding-right: 8px; }
  .map-wrap iframe { height: 320px; }
  .to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 420px) {
  .btn-row .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-wide, .gallery .g-tall { grid-column: auto; grid-row: auto; }
}

/* --------------------------------------------------------------------------
   27. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .mobile-nav, .to-top, .cta-band, .site-footer { display: none !important; }
  main { padding-top: 0; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
