/* ===========================================================
   BlueAxis — corporate one-page site
   =========================================================== */

:root {
  --navy:        #11245c;
  --navy-deep:   #0b1740;
  --blue:        #1f6bff;
  --blue-bright: #2f86ff;
  --ink:         #0e1726;
  --muted:       #5d6b82;
  --bg:          #ffffff;
  --bg-soft:     #f4f7fc;
  --border:      #e6ebf3;
  --shadow:      0 18px 50px -20px rgba(17, 36, 92, 0.25);
  --radius:      16px;
  --container:   1160px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }

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

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(31, 107, 255, 0.7);
}
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -18px rgba(11, 23, 64, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; }

.header-actions { display: flex; align-items: center; gap: 26px; }

/* Language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 7px; }
.lang-switch button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}
.lang-switch button:hover { color: var(--navy); }
.lang-switch button.active { color: var(--blue); }
.lang-sep { color: var(--border); font-size: 0.82rem; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.25s var(--ease);
}
.nav > a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 540px at 78% -10%, rgba(31, 107, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}
/* diagonal accent echoing the logo's slash */
.hero-slash {
  position: absolute;
  top: -18%;
  right: -6%;
  width: 4px;
  height: 150%;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  transform: rotate(24deg);
  transform-origin: top;
  opacity: 0.9;
  box-shadow: -40px 0 120px 20px rgba(31, 107, 255, 0.12);
}
.hero-inner {
  position: relative;
  padding: 96px 28px 104px;
  max-width: 980px;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.hero-title .word { color: var(--navy); display: inline-block; margin-right: 0.18em; }
.hero-title .word.accent { color: var(--blue); }
.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.hero-stats span { font-size: 0.9rem; color: var(--muted); }

/* ===========================================================
   SECTIONS (shared)
   =========================================================== */
.section { padding: 104px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 0 56px; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
}
.section-sub { font-size: 1.08rem; color: var(--muted); margin: 0; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 26px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step-no {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.22rem; color: var(--navy); margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- Experience cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(31,107,255,0.12), rgba(31,107,255,0.04));
  color: var(--blue);
  margin-bottom: 22px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); }

/* ===========================================================
   CONTACT
   =========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.contact-intro h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
}
.contact-details {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.contact-details li { display: flex; flex-direction: column; gap: 4px; }
.contact-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-details a, .contact-details li > span:last-child {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
}
.contact-details a:hover { color: var(--blue); }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 107, 255, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.invalid input, .field.invalid textarea { border-color: #e0463e; background: #fff6f5; }

.form-note { margin: 16px 0 0; font-size: 0.92rem; min-height: 1.2em; }
.form-note.ok { color: #1a8a4a; }
.form-note.err { color: #e0463e; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  background: var(--navy-deep);
  color: #c6d0e6;
  padding: 64px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo { height: 30px; width: auto; margin-bottom: 14px; }
.footer-tagline {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8696bb;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.footer-nav a { font-size: 0.95rem; color: #c6d0e6; transition: color 0.18s var(--ease); }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 28px;
  font-size: 0.85rem;
  color: #7e8eb3;
}

/* ===========================================================
   SCROLL REVEAL
   =========================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 920px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 28px 24px;
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.32s var(--ease);
  }
  .nav.open { transform: translateY(0); }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 16px; }
  .nav-toggle { display: flex; }

  .section { padding: 76px 0; }
  .hero-inner { padding: 70px 28px 80px; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}
