/* ============================================================
   Wilkin Technologies — Global Stylesheet
   ============================================================ */

:root {
  --navy: #0B1E3D;
  --navy-2: #122A52;
  --navy-3: #17335F;
  --blue: #1C8CFF;
  --orange: #FF8A1E;
  --ink: #16213E;
  --muted: #5B6478;
  --line: #E4E8F0;
  --bg-soft: #F6F8FC;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(11, 30, 61, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 30, 61, 0.16);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { color: var(--muted); }

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

section { padding: 88px 0; }
section.tight { padding: 72px 0; }
section.bg-soft { background: var(--bg-soft); }
section.bg-white { background: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: #fff;
  box-shadow: 0 14px 30px rgba(28, 140, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(28, 140, 255, 0.36); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-arrow { transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  padding: 6px 2px;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--blue); }
.main-nav a.nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
}
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover { background: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 100% at 15% 0%, var(--navy-3) 0%, var(--navy) 55%, var(--navy) 100%);
  padding: 120px 0 140px;
}
.orbit-line {
  position: absolute;
  right: -40px;
  top: 10%;
  width: 46%;
  max-width: 560px;
  opacity: 0.9;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 680px; }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(28, 140, 255, 0.12);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .accent {
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { color: #C6CEE0; font-size: 1.08rem; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.28); }
.hero .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 85% 0%, var(--navy-3) 0%, var(--navy) 60%, var(--navy) 100%);
  padding: 84px 0 78px;
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #C6CEE0; max-width: 620px; font-size: 1.05rem; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: #9CAAC7; margin-bottom: 18px;
}
.breadcrumb a { color: #C6CEE0; }
.breadcrumb a:hover { color: var(--blue); }

/* ---------- Section head ---------- */
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow {
  background: rgba(28, 140, 255, 0.1);
}
.section-head p { margin-top: 14px; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 14px 0 10px; }
.card p { font-size: 0.96rem; }
.card-dark {
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  border-color: transparent;
}
.card-dark h3, .card-dark p { color: #fff; }
.card-dark p { color: #C6CEE0; }

.path-row .card { padding-top: 44px; }
.card .node {
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  position: absolute; top: -5px; left: 30px;
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line);
}
.card .num {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(28,140,255,0.14), rgba(255,138,30,0.14));
  color: var(--blue);
  margin-bottom: 6px;
}
.icon-box svg { width: 26px; height: 26px; }

/* ---------- Stat strip ---------- */
.stat-strip { background: var(--bg-soft); padding: 56px 0; }
.stat { text-align: center; }
.stat .num { font-size: 1.7rem; font-weight: 800; color: var(--navy); }
.stat .label { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 60%, #1a3a6b 100%);
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #C6CEE0; max-width: 520px; margin: 0 auto 30px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
footer { background: var(--navy); padding: 64px 0 26px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.footer-brand img { height: 38px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .h {
  color: #fff; font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px;
}
.footer-col a, .footer-col span { color: #AEB9D4; font-size: 0.94rem; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; color: #7C89AC; font-size: 0.85rem;
}

/* ---------- Services page ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: none; }
.service-row.reverse .service-copy { order: 2; }
.service-row.reverse .service-visual { order: 1; }
.service-copy .eyebrow { margin-bottom: 14px; }
.service-copy h3 { font-size: 1.5rem; margin-bottom: 14px; }
.service-copy p { margin-bottom: 18px; }
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem; color: var(--ink);
}
.service-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.service-visual {
  height: 280px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.service-visual .glyph {
  width: 92px; height: 92px;
  opacity: 0.9;
}
.service-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 20%, rgba(255,138,30,0.35), transparent 70%),
              radial-gradient(50% 50% at 10% 90%, rgba(28,140,255,0.4), transparent 70%);
}

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process-steps .step {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
}
.process-steps .step .step-num {
  font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px; display: block;
}

/* ---------- Industries page ---------- */
.industry-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.industry-card .icon-box { margin-bottom: 18px; }
.industry-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.industry-card p { font-size: 0.92rem; }

/* ---------- About page ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-visual {
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.story-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(55% 55% at 85% 15%, rgba(255,138,30,0.4), transparent 70%),
              radial-gradient(55% 55% at 10% 90%, rgba(28,140,255,0.45), transparent 70%);
}
.story-copy p { margin-bottom: 16px; }

.value-card { text-align: left; }
.value-card .icon-box { margin-bottom: 16px; }

.capability-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.capability-pill {
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  background: var(--bg-soft);
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: start; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 0.86rem; font-weight: 600;
  color: var(--navy); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex; gap: 16px; align-items: flex-start;
}
.info-card .icon-box { flex-shrink: 0; margin-bottom: 0; }
.info-card h4 { color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.info-card p { font-size: 0.92rem; }
.info-card a { color: var(--muted); }
.info-card a:hover { color: var(--blue); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 220px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .service-row, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-row.reverse .service-copy,
  .service-row.reverse .service-visual { order: initial; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 28px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; }
  .main-nav a.nav-cta { width: auto; margin-top: 8px; text-align: center; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 100px; }
  .orbit-line { opacity: 0.35; width: 70%; top: 60%; }
  section { padding: 64px 0; }
  .footer-cols { gap: 40px; }
}
