/* ==========================================================================
   Keleno — styles.css
   Palette:
     ink        #0B0F19  — headings, primary buttons, dark/moody sections
                           (hero, CTA banner, Vafion, footer)
     ink-soft   #4B5568  — body text on light backgrounds
     paper      #FFFFFF  — page base
     surface    #F5F6F8  — alternating section background
     line       #E4E6EB  — borders, dividers
     accent     #19A950  — primary brand accent, sampled from the Keleno
                           logo's green node — used sparingly against both
                           light and dark (ink) backgrounds
     accent-deep #127939 — accent hover / pressed
     accent-tint #ECF8F1 — pale accent fill for chips/badges
   Dark sections (.hero, .cta-banner, .vafion-section, .section--dark) share
   a faint diagonal accent streak texture (--streak) for a moody, editorial
   feel, referencing reflectionsglobal.com without copying its palette.
   Type: Inter (body/UI), IBM Plex Mono (eyebrows, tags, stat labels — the
   "engineering" accent voice)
   ========================================================================== */

:root {
  --ink: #0B0F19;
  --ink-soft: #4B5568;
  --ink-faint: #8A93A6;
  --paper: #FFFFFF;
  --surface: #F5F6F8;
  --surface-deep: #ECEEF2;
  --line: #E4E6EB;
  --accent: #19A950;
  --accent-deep: #127939;
  --accent-light: #59C181;
  --accent-tint: #ECF8F1;
  --signal: var(--accent);
  --signal-tint: var(--accent-tint);

  --streak: repeating-linear-gradient(
    115deg,
    rgba(89, 193, 129, 0.14) 0px,
    rgba(89, 193, 129, 0.14) 1.5px,
    transparent 1.5px,
    transparent 64px
  );

  --font-body: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-card: 0 1px 2px rgba(11, 15, 25, 0.04), 0 10px 30px rgba(11, 15, 25, 0.06);
  --shadow-lift: 0 20px 45px rgba(11, 15, 25, 0.12);

  --container: 1200px;
}

/* ---------- Dark section decoration ----------
   Shared moody-charcoal treatment for hero / CTA / named-IP sections:
   ink background + faint diagonal streak texture behind the content. */

.hero,
.cta-banner,
.vafion-section,
.section--dark {
  position: relative;
  overflow: hidden;
}

.hero::before,
.cta-banner::before,
.vafion-section::before,
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--streak);
  z-index: -1;
  pointer-events: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-body);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; font-weight: 400; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.container--narrow {
  width: min(820px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Eyebrow / mono accents ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.eyebrow--light { color: var(--accent-light); }
.eyebrow--light::before { background: var(--accent-light); }

.section-intro {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
  min-height: 46px;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; }

.btn-accent { background: var(--accent); color: var(--paper); }
.btn-accent:hover { background: var(--accent-deep); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }

.btn-outline--light { color: var(--paper); border-color: rgba(255, 255, 255, 0.35); }
.btn-outline--light:hover { border-color: var(--paper); }

.btn-ghost { background: transparent; color: var(--accent); padding: 0.5rem 0; min-height: 0; font-size: 0.94rem; }
.btn-ghost:hover { color: var(--accent-deep); transform: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.1rem 0;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-right: auto;
}

.brand .dot { color: var(--accent); }

.brand-logo { height: 50px; width: auto; display: block; }

.site-nav { display: flex; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav > ul > li { position: relative; }

.site-nav a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.5rem 0;
}

.site-nav a.nav-link svg { width: 13px; height: 13px; color: var(--ink-faint); transition: transform 0.2s ease; }

.has-dropdown:hover a.nav-link svg,
.has-dropdown:focus-within a.nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translateX(-50%);
  width: 15.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}

.dropdown a:hover { background: var(--surface); color: var(--accent); }

.dropdown a small {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 0.1rem;
}

/* ---------- Mega-menu dropdown (AI Services) ---------- */

.mega-dropdown {
  width: 46rem;
  max-width: 90vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2rem 0.4rem;
  padding: 1.1rem 0.6rem;
}

.has-mega-dropdown .dropdown { left: 0; transform: translateY(6px); }
.has-mega-dropdown:hover .dropdown,
.has-mega-dropdown:focus-within .dropdown { left: 0; transform: translateY(0); }

.mega-col + .mega-col { border-left: 1px solid var(--line); padding-left: 0.8rem; }

.mega-col-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 0.5rem;
  padding: 0 0.8rem;
}

.header-actions { display: flex; align-items: center; gap: 1.2rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span { width: 18px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  padding: 1.1rem 0;
  font-size: 0.86rem;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol { display: flex; gap: 0.5rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: var(--line); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li[aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  padding: 4.5rem 0 4rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { max-width: 40rem; }
.page-hero .section-intro { margin-top: 1.1rem; }

/* ---------- Section spacing ---------- */

.section { padding: 6rem 0; }
.section--tight { padding: 4rem 0; }
.section--surface, .section--tint { background: var(--surface); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, 0.7); }
.section--dark h2, .section--dark h3 { color: var(--paper); }

.section-head { max-width: 42rem; margin-bottom: 3rem; }
.section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  max-width: none;
}

/* ---------- Cards ---------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--ink); }

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  color: var(--accent);
  margin-bottom: 1.3rem;
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; margin-bottom: 0; }
.card address { font-style: normal; font-size: 0.86rem; color: var(--ink-faint); margin-top: 0.8rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 1.1rem;
}

.card-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

.service-sublist {
  display: grid;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.service-sublist li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.service-sublist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Leadership cards ---------- */

.leadership-grid { align-items: start; }

.leader-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.leader-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.leader-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 500;
}

.leader-avatar img { width: 100%; height: 100%; object-fit: cover; }

.leader-header h3 { margin-bottom: 0.25rem; }

.leader-title {
  font-size: 0.86rem;
  color: var(--ink-faint);
  margin: 0;
}

.leader-highlights {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.leader-highlights li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.leader-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.leader-meta {
  font-size: 0.86rem;
  color: var(--ink-faint);
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  margin: 0;
}

.leader-meta + .leader-meta { border-top: none; padding-top: 0.5rem; }

.leader-meta strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

/* ---------- Placeholder blocks (proof strip / case studies not live yet) ---------- */

.placeholder-note {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.4rem 1.6rem;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--ink-faint);
  font-size: 0.92rem;
}

.placeholder-note svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink-faint); }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 { color: var(--paper); font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.5rem; }
.cta-banner p { color: rgba(255, 255, 255, 0.62); margin: 0; max-width: 32rem; }
.cta-banner-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.55); padding: 4.5rem 0 2rem; }

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(6, 0.8fr);
  gap: 1.6rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand { color: var(--paper); margin-bottom: 1rem; }
.footer-brand .brand-logo { height: 40px; }
.footer-brand p { font-size: 0.92rem; max-width: 22rem; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { font-size: 0.92rem; }
.footer-col a:hover { color: var(--paper); }

.footer-office { display: grid; gap: 0.25rem; }
.footer-office strong { font-weight: 500; color: rgba(255, 255, 255, 0.72); }
.footer-office address { font-style: normal; font-size: 0.82rem; line-height: 1.5; color: rgba(255, 255, 255, 0.4); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.84rem;
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--paper); }

.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.footer-social a:hover { border-color: var(--paper); color: var(--paper); }
.footer-social svg { width: 15px; height: 15px; }

/* ---------- Utility grids ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  z-index: 100;
  font-weight: 600;
  font-size: 0.9rem;
}

.skip-link:focus { top: 1rem; }

/* ---------- Hero ---------- */

.hero {
  padding: 6rem 0 6.5rem;
  background: var(--ink);
}

.hero--video::before { content: none; }

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(0.4) sepia(0.7) hue-rotate(70deg) saturate(2.4) brightness(0.85);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 15, 25, 0.94) 0%, rgba(11, 15, 25, 0.82) 32%, rgba(11, 15, 25, 0.4) 68%, rgba(11, 15, 25, 0.18) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
}

.hero--video .hero-grid { grid-template-columns: 1fr; }
.hero--video .hero-grid > div { max-width: 38rem; }

.hero h1 { margin-bottom: 1.3rem; color: var(--paper); }

.hero-sub {
  font-size: 1.14rem;
  color: rgba(255, 255, 255, 0.66);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Trust strip ---------- */

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-line { font-size: 1.02rem; color: var(--ink-soft); max-width: 46rem; margin: 0; }

/* ---------- Industry cards ---------- */

.industry-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.industry-card-media { height: 12rem; background-size: cover; background-repeat: no-repeat; }

.industry-card-media--hospitality {
  background-color: #C7D0FF;
  background-image: url('../assets/industry-hospitality.jpg');
  background-position: center 70%;
}

.industry-card-media--healthcare {
  background-color: #BDEFDE;
  background-image: url('../assets/industry-healthcare.jpg');
  background-position: center 30%;
}

.industry-card-body { padding: 2rem; }
.industry-card-body h3 { margin: 0.4rem 0 0.8rem; font-size: 1.3rem; }
.industry-card-body p { font-size: 0.96rem; }

/* ---------- Vafion IP section ---------- */

.vafion-section { background: var(--ink); }

.vafion-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.vafion-copy { max-width: 34rem; }
.vafion-copy h2 { color: var(--paper); margin-bottom: 1.2rem; }
.vafion-copy p { color: rgba(255, 255, 255, 0.62); font-size: 1.02rem; }
.vafion-copy .btn-primary { background: var(--accent); margin-top: 0.6rem; }
.vafion-copy .btn-primary:hover { background: var(--accent-deep); }

.vafion-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  justify-content: center;
}

.vafion-badge-mark {
  width: 5.6rem;
  height: auto;
  display: block;
}

.vafion-badge-word {
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* ---------- Contact form ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 3.5rem;
  align-items: start;
}

.form-field { display: grid; gap: 0.4rem; margin-bottom: 1.3rem; }

.form-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field textarea { resize: vertical; min-height: 8rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.form-success {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.6rem;
  background: var(--signal-tint);
  border-radius: var(--radius-md);
  color: var(--ink);
}

.form-success svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--signal); margin-top: 0.1rem; }
.form-success h3 { margin-bottom: 0.3rem; }
.form-success p { margin: 0; font-size: 0.94rem; color: var(--ink-soft); }

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info-card h3 { margin-bottom: 1.3rem; }

.contact-info-row {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.contact-info-row:first-of-type { border-top: none; padding-top: 0; }

.contact-info-row svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); margin-top: 0.15rem; }
.contact-info-row strong { display: block; font-size: 0.92rem; color: var(--ink); }
.contact-info-row span { display: block; font-size: 0.88rem; color: var(--ink-faint); }

/* ---------- Header scrolled state ---------- */

.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 24px rgba(11, 15, 25, 0.05); }

/* ---------- Scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.19, 1, 0.22, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Products ---------- */

.product-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 1rem;
}

.product-tagline span:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: var(--line); }

.product-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--ink); }

.product-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  color: var(--accent);
  margin-bottom: 1.3rem;
}

.product-card-icon svg { width: 24px; height: 24px; }

.product-card h3 { margin-bottom: 0.4rem; }
.product-card p { font-size: 0.92rem; margin-bottom: 0; }

.product-card-domain {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.9rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.stat-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  text-align: center;
}

.stat-tile .stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.stat-tile .stat-label {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.product-spec-list {
  display: grid;
  gap: 0.6rem;
}

.product-spec-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.product-spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.product-spec-list li strong { color: var(--ink); }

/* ---------- AI Services: stage cards (Assess / Build / Scale) ---------- */

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.stage-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}

.stage-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.9rem;
}

.stage-card h3 { margin-bottom: 0.3rem; }

.stage-meta {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-faint);
  margin-bottom: 1.1rem;
}

.stage-card .product-spec-list { gap: 0.7rem; }
.stage-card .product-spec-list li { font-size: 0.88rem; }

/* ---------- AI Services: FAQ ---------- */

.faq-item h4 { font-size: 1rem; color: var(--ink); margin-bottom: 0.4rem; }
.faq-item p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .header-inner { gap: 1.2rem; }

  .site-nav {
    display: block;
    position: fixed;
    inset: 0;
    top: 73px;
    background: var(--paper);
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .site-nav.is-open { transform: translateX(0); }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav > ul > li { border-bottom: 1px solid var(--line); }

  .site-nav a.nav-link { padding: 1rem 0; width: 100%; justify-content: space-between; font-size: 1.02rem; }

  .dropdown {
    position: static;
    display: none;
    width: 100%;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0.8rem;
    opacity: 1;
    visibility: visible;
  }

  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown.is-open a.nav-link svg { transform: rotate(180deg); }

  .mega-dropdown { grid-template-columns: 1fr; gap: 0.4rem; max-width: none; }
  .mega-col + .mega-col { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 0.6rem; margin-top: 0.4rem; }

  .header-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; z-index: 60; position: relative; }

  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stage-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .cta-banner { padding: 2.2rem; flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }

  .hero { padding: 3rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-bg-overlay { background: rgba(11, 15, 25, 0.72); }

  .vafion-inner { flex-direction: column; text-align: center; }
  .vafion-copy { text-align: left; }

  .section-head--split { flex-direction: column; align-items: flex-start; }

  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .header-actions .btn span { display: none; }
}
