/* Nahati Technologies, site styles (v3, dark) */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #0b0d10;
  --bg-2: #12151a;
  --bg-3: #191d23;
  --line: #24282d;
  --line-strong: #3a4047;
  --text: #f4f3ef;
  --text-2: #c4c9ce;
  --muted: #8e959c;
  --accent: #e8a33d;
  --focus: #8ab4ff;

  --font: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: var(--text); text-underline-offset: 4px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--accent); color: #000; }

h1, h2, h3, h4 { margin: 0; color: var(--text); font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; line-height: 1.02; }
h1 { font-size: clamp(42px, 7.2vw, 96px); }
h2 { font-size: clamp(34px, 4.8vw, 60px); }
h3 { font-size: clamp(22px, 2.2vw, 26px); letter-spacing: .06em; line-height: 1.15; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #000; }

.eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-family: var(--font-display); font-size: 15px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--text-2);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px;
  font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1;
  color: #fff; background: transparent; border: 2px solid #fff; border-radius: 0;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: #fff; color: #000; }
.btn-solid { background: #fff; color: #000; }
.btn-solid:hover { background: transparent; color: #fff; }
.btn-sm { min-height: 42px; padding: 10px 20px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-strong);
  transition: border-color .2s var(--ease);
}
.text-link::after { content: "\2192"; letter-spacing: 0; transition: transform .2s var(--ease); }
.text-link:hover { border-color: #fff; }
.text-link:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0));
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(11, 13, 16, .96); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 40px; height: 100%; }

.logo { display: inline-flex; align-items: center; color: #fff; text-decoration: none; flex-shrink: 0; }
.logo svg { height: 22px; width: auto; }
.logo .nahati-path { fill: var(--accent); }
.footer-brand .logo svg { height: 46px; }
@media (max-width: 640px) { .site-header .logo svg { height: 18px; } }

.main-nav { display: flex; gap: 32px; margin-left: auto; }
.main-nav a {
  position: relative; padding: 8px 0;
  font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; text-decoration: none;
}
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: #fff; transition: right .25s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }

.mobile-nav { display: none; }

@media (max-width: 960px) {
  .main-nav, .header-cta { display: none; }
  .mobile-nav { display: block; margin-left: auto; }
  .mobile-nav summary {
    list-style: none; cursor: pointer; position: relative; z-index: 2;
    width: 48px; height: 48px; display: grid; place-items: center;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .bars, .bars::before, .bars::after { display: block; width: 26px; height: 2px; background: #fff; position: relative; transition: transform .25s var(--ease), background-color .25s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -8px; }
  .bars::after { top: 8px; }
  .mobile-nav[open] .bars { background: transparent; }
  .mobile-nav[open] .bars::before { transform: translateY(8px) rotate(45deg); }
  .mobile-nav[open] .bars::after { transform: translateY(-8px) rotate(-45deg); }
  .mobile-panel {
    position: fixed; inset: 0; z-index: 1;
    background: var(--bg); padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
    display: flex; flex-direction: column; overflow-y: auto;
  }
  .mobile-panel a:not(.btn) {
    display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: #fff; text-decoration: none;
  }
  .mobile-panel small { font-family: var(--font); font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
  .mobile-panel .btn { margin-top: 32px; }
  .logo { position: relative; z-index: 2; }
}
body.menu-open { overflow: hidden; }

/* Full-screen panels */
.panel {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 clamp(56px, 9vh, 112px);
  background: radial-gradient(120% 90% at 85% 10%, #231d14 0%, var(--bg-2) 45%, var(--bg) 100%);
  overflow: hidden;
}
.panel-short { min-height: 64vh; min-height: 64svh; }
.panel-media { position: absolute; inset: 0; z-index: -2; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; }
.panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(8,9,10,.94) 0%, rgba(8,9,10,.6) 38%, rgba(8,9,10,.25) 72%, rgba(8,9,10,.5) 100%),
    linear-gradient(to right, rgba(8,9,10,.72) 0%, rgba(8,9,10,0) 68%);
}
.panel-content { max-width: 780px; }
.panel h1 + p, .panel h2 + p { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); max-width: 600px; }
.panel .actions { margin-top: 36px; }
.panel-tags { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
/* Inline product links keep the surrounding text style. */
.panel-tags a, .panel-content h2 a { color: inherit; text-decoration: none; }
.panel-tags a:hover, .panel-content h2 a:hover { color: #fff; text-decoration: underline; }
.panel-tags li { padding: 6px 12px; border: 1px solid rgba(255,255,255,.3); font-size: 14px; color: var(--text-2); background: rgba(8,9,10,.35); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-2);
  text-decoration: none; display: grid; justify-items: center; gap: 8px;
}
.scroll-cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(#fff, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue::after { animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
  @keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
}

.breadcrumb { margin-bottom: 22px; font-size: 14px; color: var(--text-2); letter-spacing: .04em; }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { margin: 0 10px; opacity: .6; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Content sections */
.section { padding: var(--section) 0; background: var(--bg); }
.section-alt { background: var(--bg-2); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { font-size: 18px; color: var(--text-2); max-width: 520px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid rgba(255,255,255,.22); }
.facts > div { padding: 24px 24px 0 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.16); }
.facts dt { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 8px 0 0; color: var(--text); font-size: 17px; }

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.tile { background: var(--bg); padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; transition: background-color .3s var(--ease); }
.section-alt .tile { background: var(--bg-2); }
.tile:hover { background: var(--bg-3); }
.tile-kicker { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.tile p { margin-top: 14px; color: var(--text-2); }
.tile ul { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.tile li { position: relative; padding-left: 22px; font-size: 16px; color: var(--text-2); }
.tile li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: var(--accent); }
.tile .tile-foot { margin-top: auto; padding-top: 32px; }
.tile-logo { height: 48px; width: auto; margin-bottom: 28px; align-self: flex-start; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; border-top: 1px solid var(--line-strong); }
.steps li { counter-increment: step; position: relative; padding: 32px 24px 0 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block;
  font-family: var(--font-display); font-size: 44px; font-weight: 500; line-height: 1; color: var(--text); letter-spacing: .02em;
}
.steps li::after { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 3px; background: var(--accent); }
.steps h3 { margin-top: 22px; font-size: 21px; }
.steps p { margin-top: 10px; font-size: 16px; color: var(--text-2); }
.steps .when { display: block; margin-top: 14px; font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }

/* Split + checklist */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split-lead { margin-top: 20px; font-size: 18px; color: var(--text-2); max-width: 480px; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: item; }
.checklist li { counter-increment: item; padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; }
.checklist li::before { content: counter(item, decimal-leading-zero); font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: .1em; color: var(--accent); padding-top: 2px; }
.checklist strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.checklist span { display: block; margin-top: 6px; color: var(--text-2); }

/* Products */
.status {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--text-2);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e2b33c; }
.panel .facts { margin-top: 40px; }

/* CTA band */
.cta { padding: var(--section) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta p { margin-top: 18px; font-size: 19px; color: var(--text-2); max-width: 560px; }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.request-form { display: grid; gap: 44px; }
.form-section { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 22px; }
.form-section legend { padding: 0; margin-bottom: 22px; display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.step-no { font-size: 16px; letter-spacing: .1em; color: var(--accent); }
.js .form-section[data-lane][hidden] { display: none; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.optional { margin-left: 6px; font-weight: 400; letter-spacing: .04em; text-transform: none; font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 54px; margin-top: 10px; padding: 14px 16px;
  font: inherit; font-size: 17px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 0;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c4c9ce' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select option { background: var(--bg-2); color: var(--text); }
.field textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.field ::placeholder { color: #7b838a; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #fff; background: var(--bg-3); }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: grid; gap: 6px; height: 100%; padding: 22px 22px 22px 58px; background: var(--bg); font-size: 15px; color: var(--muted); transition: background-color .2s var(--ease); }
.choice span::before { content: ""; position: absolute; left: 22px; top: 25px; width: 20px; height: 20px; border: 2px solid var(--muted); border-radius: 50%; }
.choice strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.choice:hover span { background: var(--bg-2); }
.choice input:checked + span { background: var(--bg-3); }
.choice input:checked + span::before { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 4px var(--bg-3); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: -2px; }

.form-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-fineprint { font-size: 15px; color: var(--muted); max-width: 380px; }
.form-fineprint a { color: var(--text-2); }
.form-status { font-size: 16px; }
.form-status:empty { display: none; }
.form-status.is-error { color: #ffb4a8; padding: 16px 18px; border: 1px solid #6b2a24; background: #1d0f0d; }
.form-success { padding: 40px; border-top: 3px solid var(--accent); background: var(--bg-2); }
.form-success h2 { font-size: 36px; }
.form-success p { margin-top: 14px; color: var(--text-2); }
.form-success .actions { margin-top: 28px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.aside-box { border-top: 3px solid var(--accent); background: var(--bg-2); padding: 32px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-box h2 { font-size: 26px; }
.aside-box ol { margin: 20px 0 0; padding-left: 20px; display: grid; gap: 14px; color: var(--text-2); }
.aside-box hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.aside-box p { color: var(--text-2); }
.aside-box p + p { margin-top: 10px; }
.aside-box strong { color: var(--text); }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 52px 0 14px; }
.prose p + p { margin-top: 16px; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; margin: 14px 0; }
.prose strong { color: var(--text); }

/* Centred pages */
.center-page { min-height: 80vh; min-height: 80svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 48px) 0 var(--section); }
.center-page p { margin-top: 18px; font-size: 19px; }
.center-page .actions { justify-content: center; margin-top: 36px; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 72px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand p { margin-top: 20px; max-width: 320px; color: var(--muted); }
.footer-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .24em; color: var(--text); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 32px; display: grid; gap: 10px; font-size: 13px; color: var(--muted); }
.footer-bottom p { max-width: 820px; }

/* Scroll reveal (only with JS and motion allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* Utilities */
.mt-12 { margin-top: 12px; }

/* Responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 960px) {
  .section-head, .split, .form-layout, .grid-3 { grid-template-columns: 1fr; }
  .aside-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .field-row, .choice-grid, .steps, .steps.steps-3 { grid-template-columns: 1fr; }
  .steps { row-gap: 40px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .actions .btn { flex: 1 1 100%; }
  .form-actions .btn { width: 100%; }
  .panel { padding-bottom: 64px; }
  .scroll-cue { display: none; }
  .aside-box, .form-success { padding: 24px; }
}

/* Pages that open without a full-screen image keep a solid header */
.solid-header .site-header { background: rgba(11, 13, 16, .96); border-bottom-color: var(--line); }

/* Floating WhatsApp button (footer partial) */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  min-height: 52px; padding: 12px 22px; font-size: 15px;
  background: var(--accent); border-color: var(--accent); color: var(--bg);
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
}
.wa-float:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.wa-float:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn svg { flex: none; }
.site-footer { padding-bottom: 72px; }
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; width: 56px; min-height: 56px; padding: 0; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media print { .wa-float { display: none; } }
