:root {
  --navy: #0b1f4b;
  --navy-deep: #07163a;
  --blue: #1e88f5;
  --blue-soft: #e8f2fe;
  --white: #ffffff;
  --ink: #14213d;
  --muted: #5a6785;
  --line: #dde4f0;
  --bg-alt: #f5f8fc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 75, 0.08);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.08rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn svg { width: 1.2rem; height: 1.2rem; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #0f74dc; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.9rem; }
.eyebrow.light { color: #8cc3ff; }
.link-cta { font-weight: 700; color: var(--blue); text-decoration: none; }
.link-cta:hover { text-decoration: underline; }

/* 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);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.brand img { height: 56px; width: auto; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.93rem; color: var(--muted); }
.nav-links a:hover { color: var(--navy); }

/* Hero */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(30, 136, 245, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: clamp(4.5rem, 10vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-inner { position: relative; z-index: 1; }
.hero .eyebrow { color: #8cc3ff; }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 7vw, 4.6rem); max-width: 14ch; margin-bottom: 1.4rem; }
.hero h1 span { color: var(--blue); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, 0.8); max-width: 58ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2.2rem 0 3.5rem; }
.hero-pillars {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-pillars li { padding: 1.4rem 1.4rem 0 0; display: flex; flex-direction: column; }
.hero-pillars li + li { padding-left: 1.4rem; border-left: 1px solid rgba(255, 255, 255, 0.15); }
.hero-pillars strong { font-family: var(--font-head); font-size: 1.02rem; }
.hero-pillars span { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 620px; margin-bottom: 2.75rem; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-cta { text-align: center; margin-top: 2.5rem; }

.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split .section-head { position: sticky; top: 110px; margin-bottom: 0; }

.card-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.card::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--blue); margin-bottom: 1rem; }
.card p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.card:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Staffing */
.collar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.collar { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.75rem, 4vw, 2.75rem); }
.collar h3 { font-size: 1.45rem; margin: 1rem 0 1.5rem; }
.collar-dark { background: var(--navy); border-color: var(--navy); }
.collar-dark h3 { color: var(--white); }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.collar-dark .tag { background: rgba(30, 136, 245, 0.2); color: #8cc3ff; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chips li { padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.collar-dark .chips li { border-color: rgba(255, 255, 255, 0.2); color: var(--white); }

/* Solutions */
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.solution { padding: 1.75rem 1.5rem; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid transparent; transition: border-color 0.2s; }
.solution:hover { border-color: var(--blue); }
.solution .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 700; margin-bottom: 1.2rem; }
.solution p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* Industries */
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2 { color: var(--white); }
.industry-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1px; background: rgba(255, 255, 255, 0.14); border-radius: var(--radius); overflow: hidden; }
.industry-grid li { flex: 1 1 18%; background: var(--navy); padding: 2rem 1rem; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; transition: background-color 0.2s; }
.industry-grid li:hover { background: #12306e; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial { position: relative; margin: 0; padding: 2.5rem 2rem 2rem; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); display: flex; flex-direction: column; gap: 1.5rem; background: var(--white); box-shadow: var(--shadow); }
.quote-mark { font-family: var(--font-head); font-size: 4rem; line-height: 0.6; height: 1.5rem; color: var(--blue); }
.testimonial blockquote { margin: 0; flex: 1; }
.testimonial blockquote p { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.7; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 0.2rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.testimonial figcaption strong { font-family: var(--font-head); color: var(--navy); font-size: 1rem; }
.testimonial figcaption span { color: var(--muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-buttons { display: grid; gap: 0.8rem; margin-top: 2rem; }
.contact-btn {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-btn:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.contact-btn svg { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--navy); color: var(--white); flex-shrink: 0; }
.contact-btn.whatsapp svg { background: #25d366; }
.contact-btn span { display: flex; flex-direction: column; line-height: 1.35; }
.contact-btn strong { color: var(--navy); }
.contact-btn small { color: var(--muted); font-size: 0.88rem; }

.contact-form { background: var(--white); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.field input, .field select {
  font: inherit; font-size: 1rem; padding: 0.85rem 1rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-alt); color: var(--ink); width: 100%; transition: border-color 0.2s, background-color 0.2s;
}
.field input:focus, .field select:focus { border-color: var(--blue); background: var(--white); outline: none; box-shadow: 0 0 0 3px rgba(30, 136, 245, 0.18); }
.hidden-field { position: absolute; left: -9999px; }
.form-status { margin: 1rem 0 0; font-weight: 600; text-align: center; min-height: 1.5em; }
.form-status.success { color: #14804a; }
.form-status.error { color: #c0392b; }
.contact-form button[disabled] { opacity: 0.7; cursor: wait; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.7); padding: 2rem 0; font-size: 0.9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-email { color: var(--white); font-weight: 600; text-decoration: none; }
.footer-email:hover { color: #8cc3ff; }
.footer-logo { height: 56px; width: auto; background: var(--white); padding: 4px 8px; border-radius: 10px; }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: var(--white); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* Thank-you page */
.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; background: var(--bg-alt); }
.thanks img { margin: 0 auto 2rem; height: 72px; width: auto; }
.thanks p { color: var(--muted); max-width: 44ch; margin-inline: auto; }

/* Responsive */
@media (max-width: 1000px) {
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid li { flex-basis: 30%; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .split, .contact, .collar-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .split .section-head { position: static; }
}
@media (max-width: 600px) {
  .brand img { height: 46px; }
  .hero-pillars { grid-template-columns: 1fr; }
  .hero-pillars li, .hero-pillars li + li { padding: 1rem 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .hero-ctas .btn { width: 100%; }
  .card-list, .solution-grid, .testimonial-grid, .field-row { grid-template-columns: 1fr; }
  .industry-grid li { flex-basis: 45%; padding: 1.5rem 0.75rem; }
}
