/* ============================================================
   Axiom Data Nexus — Neumorphism design system
   Palette derived from the brushed-metal logo:
   cool light-gray base, cyan glow accent, ADN-blue secondary.
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #e4e8ee;
  --bg-2: #dfe3ea;
  --surface: #e4e8ee;

  /* Neumorphic shadows */
  --sh-dark: #bcc2cd;
  --sh-light: #ffffff;

  /* Text */
  --text: #2a3038;
  --text-soft: #5a626d;
  --text-faint: #828b97;

  /* Accents */
  --accent: #0f9bbd;        /* cyan/teal glow */
  --accent-strong: #0a7d99;
  --accent-2: #1f5fa6;      /* ADN blue */
  --accent-2-strong: #184c84;

  /* Radii / spacing */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;
  --r-pill: 999px;

  /* Shadows */
  --raise: 7px 7px 16px var(--sh-dark), -7px -7px 16px var(--sh-light);
  --raise-sm: 4px 4px 9px var(--sh-dark), -4px -4px 9px var(--sh-light);
  --inset: inset 5px 5px 11px var(--sh-dark), inset -5px -5px 11px var(--sh-light);
  --inset-sm: inset 3px 3px 6px var(--sh-dark), inset -3px -3px 6px var(--sh-light);

  --maxw: 1140px;
  --header-h: 76px;

  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; color: var(--text); margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.5rem); letter-spacing: -.5px; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

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

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

.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: .8rem;
}

.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--text-soft); font-size: 1.06rem; }

.lead { font-size: 1.12rem; color: var(--text-soft); }

/* ---------- Neumorphic primitives ---------- */
.neu { background: var(--bg); border-radius: var(--r-md); box-shadow: var(--raise); }
.neu-inset { background: var(--bg); border-radius: var(--r-md); box-shadow: var(--inset); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--raise-sm);
  transition: box-shadow .18s ease, transform .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); color: var(--accent-strong); }
.btn:active { box-shadow: var(--inset-sm); transform: translateY(0); color: var(--accent-strong); }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 5px 5px 12px var(--sh-dark), -5px -5px 12px var(--sh-light), inset 0 0 0 rgba(0,0,0,0);
}
.btn--primary:hover { color: #fff; filter: brightness(1.06); }
.btn--primary:active { color: #fff; box-shadow: inset 3px 3px 7px rgba(7,60,80,.55), inset -2px -2px 6px rgba(255,255,255,.25); }

.btn .icon { width: 18px; height: 18px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(228, 232, 238, .82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.5);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; display: block; transition: transform .2s ease; }
.brand:hover img { transform: scale(1.04); }
.brand .brand-mark { width: 40px; height: 40px; border-radius: 50%; box-shadow: var(--raise-sm); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .94rem;
  color: var(--text-soft);
  padding: 9px 14px;
  border-radius: var(--r-pill);
  transition: color .15s ease, box-shadow .15s ease;
}
.nav a:hover { color: var(--accent-strong); }
.nav a.active { color: var(--accent-strong); box-shadow: var(--inset-sm); }

.header-tools { display: flex; align-items: center; gap: 10px; }

/* Language switch */
.lang-switch { display: inline-flex; padding: 4px; border-radius: var(--r-pill); box-shadow: var(--inset-sm); background: var(--bg); }
.lang-switch a {
  font-family: var(--font-head);
  font-weight: 600; font-size: .8rem; letter-spacing: .5px;
  padding: 6px 12px; border-radius: var(--r-pill); color: var(--text-faint);
}
.lang-switch a.active { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: var(--raise-sm); }

/* Mobile menu button */
.menu-toggle {
  display: none;
  width: 46px; height: 46px; border: none; cursor: pointer;
  border-radius: 50%; background: var(--bg); box-shadow: var(--raise-sm);
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(4px); }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: translateY(0) rotate(45deg); }
body.menu-open .menu-toggle span::after { transform: translateY(-2px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; z-index: 0;
}
.hero::before { width: 420px; height: 420px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); top: -120px; right: -80px; }
.hero::after { width: 360px; height: 360px; background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%); bottom: -140px; left: -100px; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

.hero-copy h1 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.4rem); letter-spacing: -1px; margin-bottom: .35em; }
.hero-copy h1 .grad {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy .lead { max-width: 56ch; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-figure { display: flex; justify-content: center; }
.hero-figure .logo-frame { padding: 22px; border-radius: var(--r-lg); box-shadow: var(--raise); background: var(--bg); }
.hero-figure img { border-radius: 14px; box-shadow: var(--inset-sm); }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 1.8rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-soft); font-weight: 500; }
.trust-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--bg); border-radius: var(--r-md); padding: 30px 26px;
  box-shadow: var(--raise);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 10px 10px 22px var(--sh-dark), -10px -10px 22px var(--sh-light); }
.card .icon-wrap {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--inset-sm); margin-bottom: 18px;
}
.card .icon-wrap svg { width: 30px; height: 30px; stroke: var(--accent-strong); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-soft); font-size: .97rem; margin: 0; }
.card.is-featured { box-shadow: var(--raise), inset 0 0 0 2px rgba(15,155,189,.25); }
.card .tag {
  display: inline-block; font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent-strong); padding: 4px 10px; border-radius: var(--r-pill);
  box-shadow: var(--inset-sm); margin-bottom: 14px;
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--bg); border-radius: var(--r-md); padding: 28px 24px; box-shadow: var(--raise); position: relative; }
.step .num {
  counter-increment: step; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: #fff;
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: var(--raise-sm); margin-bottom: 16px;
}
.step .num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--text-soft); font-size: .93rem; margin: 0; }

/* ---------- Why / advantages ---------- */
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.why-list { display: grid; gap: 16px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-md); box-shadow: var(--raise-sm); background: var(--bg); }
.why-item .check { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--inset-sm); }
.why-item .check svg { width: 20px; height: 20px; stroke: var(--accent-strong); }
.why-item h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.why-item p { margin: 0; color: var(--text-soft); font-size: .95rem; }

.stat-panel { padding: 34px; border-radius: var(--r-lg); box-shadow: var(--inset); display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.stat { text-align: center; }
.stat .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { font-size: .88rem; color: var(--text-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-cards { display: grid; gap: 18px; align-content: start; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--r-md); box-shadow: var(--raise); background: var(--bg); transition: transform .2s ease; }
.contact-card:hover { transform: translateY(-3px); }
.contact-card .ic { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; box-shadow: var(--inset-sm); }
.contact-card .ic svg { width: 26px; height: 26px; stroke: var(--accent-strong); }
.contact-card .lbl { font-size: .8rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.contact-card .val { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--text); word-break: break-word; }
.contact-card .val:hover { color: var(--accent-strong); }

.form { padding: 30px; border-radius: var(--r-lg); box-shadow: var(--raise); background: var(--bg); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-soft); margin-bottom: 8px; font-family: var(--font-head); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--bg); border: none; border-radius: var(--r-sm); padding: 14px 16px;
  box-shadow: var(--inset-sm); resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: var(--inset-sm), 0 0 0 2px rgba(15,155,189,.4); }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--text-faint); margin: 12px 0 0; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(48px, 6vw, 72px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand img { width: 180px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-soft); font-size: .92rem; max-width: 38ch; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-faint); margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; color: var(--text-soft); font-size: .94rem; padding: 5px 0; }
.footer-col a:hover { color: var(--accent-strong); }
.footer-legal { padding: 20px 24px; border-radius: var(--r-md); box-shadow: var(--inset-sm); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.footer-legal .legal-info { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .82rem; color: var(--text-faint); }
.footer-legal .copyright { font-size: .82rem; color: var(--text-faint); }
.footer-legal strong { color: var(--text-soft); font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure .logo-frame { padding: 16px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg); padding: 16px 24px 24px;
    box-shadow: 0 18px 30px rgba(0,0,0,.12);
    transform: translateY(-130%); transition: transform .3s ease; z-index: 90;
  }
  body.menu-open .nav { transform: translateY(0); }
  .nav a { padding: 13px 16px; font-size: 1rem; }
}

@media (max-width: 560px) {
  .cards, .steps, .footer-grid { grid-template-columns: 1fr; }
  .stat-panel { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .brand img { height: 46px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}
