/* ==========================================================================
   ASTRUS TALENT — shared design system
   Edit colours, fonts and spacing here to restyle the whole site at once.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0e1115;
  --card: rgba(23,26,33,0.8);
  --card2: #21242c;
  --card-border: #272c35;
  --blue: #1a8cff;
  --blue-dim: rgba(26,140,255,0.1);
  --blue-border: rgba(26,140,255,0.3);
  --teal: #0098a1;
  --teal-dim: rgba(0,152,161,0.12);
  --teal-border: rgba(0,152,161,0.35);
  --text: #e7ebef;
  --muted: #96a3b8;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

/* anchored form/section targets land below the fixed nav, not under it */
[id] { scroll-margin-top: 96px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 1000px; margin: 0 auto; padding: 0 32px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 100;
  background: rgba(14,17,21,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
}
nav .container { height: 100%; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.wordmark {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 22px; letter-spacing: -0.5px; color: #fff;
  display: inline-flex; align-items: baseline;
}
.wordmark .dot {
  display: inline-block; width: 0.22em; height: 0.22em;
  border-radius: 50%; background: var(--blue);
  margin-left: 2px; position: relative; top: 0.02em;
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.btn-nav {
  background: var(--blue); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  padding: 10px 22px; border-radius: 8px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-nav:hover { background: #1578e0; transform: translateY(-1px); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h);
  left: 0; right: 0; bottom: 0; background: var(--bg);
  z-index: 99; padding: 36px 32px; flex-direction: column; gap: 22px;
  border-top: 1px solid var(--card-border); overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.mobile-menu a:hover { color: var(--blue); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--blue); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 8px; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #1578e0; transform: translateY(-1px); }
.btn-primary svg { width: 16px; height: 16px; }
.btn-secondary {
  background: rgba(255,255,255,0.08); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer; display: inline-block; transition: background 0.2s, transform 0.15s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }

/* ── PAGE HEADER ── */
.page-header { padding: calc(var(--nav-h) + 80px) 0 56px; text-align: center; }
.page-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.page-header h1 { font-size: clamp(34px, 5vw, 56px); color: var(--text); margin-bottom: 18px; }
.page-header p { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0 auto; line-height: 1.7; }

/* ── SECTION HEADERS ── */
.section-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); text-align: center; margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 3.5vw, 44px); color: var(--text); text-align: center; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 56px; line-height: 1.7; }

/* ── GENERIC CARD GRID ── */
.card-grid { display: grid; gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 32px; transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--blue-border); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-dim); margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; stroke: var(--blue); }
.feature-card h3 { font-size: 20px; color: var(--text); margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* pill list used inside expertise / assessment cards */
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill-list li {
  font-size: 12px; color: var(--blue);
  background: var(--blue-dim); border: none;
  border-radius: 9999px; padding: 4px 12px;
}

/* dotted list */
.dot-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dot-list li { font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.dot-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ── PROCESS STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 32px 28px; }
.step-num {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-dim); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.step h3 { font-size: 18px; color: var(--text); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── FORMS ── */
.form-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 18px; padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; letter-spacing: 0.02em; }
.req { color: var(--blue); }
.form-input {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; color: var(--text); font-family: inherit; font-size: 15px;
  padding: 12px 14px; outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,140,255,0.12); }
/* keep the dark theme on browser-autofilled / selected fields (no white boxes) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text) !important;
  -webkit-box-shadow: 0 0 0 1000px #20232a inset !important;
  box-shadow: 0 0 0 1000px #20232a inset !important;
  caret-color: var(--text);
  transition: background-color 9999s ease-in-out 0s;
}
.form-input::placeholder { color: rgba(139,154,176,0.5); }
textarea.form-input { resize: none; min-height: 120px; line-height: 1.6; }
.phone-field { display: flex; gap: 8px; }
.phone-field .phone-code { flex: 0 0 116px; max-width: 116px; }
.phone-field .phone-num { flex: 1; min-width: 0; }
.file-drop { display: flex; align-items: center; gap: 12px; width: 100%; background: rgba(255,255,255,0.04); border: 1px dashed rgba(255,255,255,0.2); border-radius: 8px; padding: 14px 16px; cursor: pointer; color: var(--muted); font-size: 14px; transition: border-color .15s, background .15s, color .15s; }
.file-drop:hover { border-color: var(--blue); background: rgba(26,140,255,0.05); }
.file-drop.has-file { border-style: solid; border-color: var(--blue-border); color: var(--text); }
.file-drop svg { width: 20px; height: 20px; stroke: var(--blue); flex-shrink: 0; }
.btn-submit {
  width: 100%; background: var(--blue); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  padding: 15px; border-radius: 9px; border: none; cursor: pointer;
  transition: background 0.2s; box-shadow: 0 4px 16px rgba(26,140,255,0.3);
}
.btn-submit:hover { background: #1578e0; }
.privacy-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; opacity: 0.7; }

/* ── CTA BAND ── */
.cta-band { padding: 100px 0; text-align: center; background: var(--bg); }
.cta-band h2 { font-size: clamp(28px, 4vw, 46px); color: var(--text); margin-bottom: 18px; }
.cta-band p { font-size: 17px; color: var(--muted); margin: 0 auto 40px; max-width: 560px; line-height: 1.7; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: var(--bg); border-top: 1px solid var(--card-border); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--card-border); }
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 14px; line-height: 1.7; max-width: 240px; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: normal; text-transform: none; color: var(--text); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text); }
.contact-item { font-size: 14px; color: var(--muted); line-height: 1.6; }
.contact-item a { color: var(--muted); transition: color 0.2s; }
.contact-item a:hover { color: var(--text); }
.footer-quote { padding: 32px 0; text-align: center; border-bottom: 1px solid var(--card-border); }
.footer-quote p { font-size: 14px; color: var(--muted); font-style: italic; max-width: 700px; margin: 0 auto; line-height: 1.7; }
.footer-bottom { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* ── FADE IN ── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4); transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 20px; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .nav-links-desktop { display: none; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
}
