/* Proficient Technologies – site styles */
:root {
  --navy: #0E2A47;
  --navy-deep: #0A1F36;
  --orange: #F26B21;
  --orange-text: #B84A0E;
  --slate: #5B6675;
  --mist: #F4F6F9;
  --line: #D5DBE3;
  --white: #FFFFFF;
  --on-navy-soft: #C4CEDB;
  --head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
  --radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--orange-text); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--orange); color: var(--navy); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: var(--head); font-size: 1.45rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.brand-sub { font-family: var(--head); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.3em; color: var(--slate); line-height: 1; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.nav a.btn { padding: 11px 20px; border-bottom: 0; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 24px; border-radius: 8px; border: 2px solid var(--navy); background: var(--navy); color: var(--white); font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }
.btn-accent { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); }
.btn-accent:hover { background: #FF8A47; border-color: #FF8A47; color: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.on-navy .btn-ghost { border-color: var(--on-navy-soft); color: var(--white); }
.on-navy .btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn svg { width: 18px; height: 18px; }

/* Sections */
section { padding: 84px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--orange); }
.on-navy .eyebrow { color: var(--orange); }
.section-head { max-width: 760px; margin-bottom: 44px; display: flex; flex-direction: column; }
.section-head p { margin-top: 14px; color: var(--slate); font-size: 1.08rem; }
.on-navy { background: var(--navy); color: var(--white); }
.on-navy .section-head p, .on-navy p.lead { color: var(--on-navy-soft); }
.on-navy a { color: var(--white); }
.mist { background: var(--mist); }

/* Hero */
.hero { padding: 76px 0 84px; background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.hero p.lead { margin-top: 22px; font-size: 1.18rem; color: var(--on-navy-soft); max-width: 600px; }
.hero h1 span { color: var(--orange); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero-tags li { font-size: 0.86rem; font-weight: 500; padding: 7px 14px; border: 1px solid rgba(196,206,219,0.45); border-radius: 100px; color: var(--on-navy-soft); }
.hero-art { width: 100%; height: auto; display: block; }
.page-hero { padding: 64px 0 60px; background: var(--navy); color: var(--white); }
.page-hero p { margin-top: 16px; color: var(--on-navy-soft); font-size: 1.12rem; max-width: 720px; }
.crumbs { font-size: 0.86rem; color: var(--on-navy-soft); margin-bottom: 18px; }
.crumbs a { color: var(--on-navy-soft); }

/* Cards and grids */
.grid { display: grid; gap: 22px; }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
a.card { text-decoration: none; color: var(--navy); transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14,42,71,0.10); color: var(--navy); }
.card p { color: var(--slate); font-size: 0.97rem; }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 0.93rem; color: var(--orange-text); }
.icon { width: 48px; height: 48px; border-radius: 10px; background: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.icon svg { width: 26px; height: 26px; stroke: var(--white); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon svg .a { stroke: var(--orange); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid rgba(196,206,219,0.35); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: "0" counter(step); font-family: var(--head); font-weight: 700; font-size: 1.5rem; color: var(--orange); }
.steps p { color: var(--on-navy-soft); font-size: 0.95rem; }

/* Service detail */
.svc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; padding: 52px 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc:last-child { border-bottom: 0; }
.svc-intro { display: flex; flex-direction: column; gap: 16px; }
.svc-intro p { color: var(--slate); }
.ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.ticks li { position: relative; padding-left: 22px; font-size: 0.98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; background: var(--orange); }
.toc { display: flex; flex-wrap: wrap; gap: 10px; }
.toc a { text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); }
.toc a:hover { border-color: var(--navy); color: var(--navy); }

/* Split / about */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack p { color: var(--slate); }
.on-navy .stack p { color: var(--on-navy-soft); }
.person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.avatar { width: 120px; height: 120px; border-radius: 16px; background: var(--navy); color: var(--white); font-family: var(--head); font-weight: 700; font-size: 2.6rem; display: flex; align-items: center; justify-content: center; }
.role { color: var(--orange-text); font-weight: 600; }
.placeholder { border: 2px dashed var(--line); border-radius: 10px; padding: 18px 20px; color: var(--slate); background: var(--mist); font-size: 0.97rem; }

/* CTA band */
.cta { background: var(--navy); color: var(--white); padding: 68px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta p { color: var(--on-navy-soft); margin-top: 10px; max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list strong { display: block; font-family: var(--head); font-size: 1.02rem; }
.contact-list span, .contact-list a { color: var(--slate); font-size: 0.98rem; }
.contact-list a:hover { color: var(--orange-text); }
form.enquiry { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.92rem; }
input, select, textarea { font: inherit; color: var(--navy); padding: 12px 14px; min-height: 48px; border: 1px solid #9AA5B4; border-radius: 8px; background: var(--white); width: 100%; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(242,107,33,0.45); border-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.88rem; color: var(--slate); }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 8px; font-weight: 500; display: none; }
.form-status.ok { display: block; background: #E7F5EC; color: #14532D; border: 1px solid #86C29B; }
.form-status.err { display: block; background: #FDECEC; color: #7F1D1D; border: 1px solid #E5A3A3; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-soft); padding: 60px 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: var(--white); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--body); font-weight: 600; }
.site-footer a { color: var(--on-navy-soft); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer li { margin-bottom: 9px; }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.site-footer .brand-sub { color: var(--on-navy-soft); }
.footer-bar { border-top: 1px solid rgba(196,206,219,0.2); padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.86rem; }
.footer-accent { height: 8px; background: linear-gradient(to right, var(--navy) 0, var(--navy) calc(100% - 120px), var(--orange) calc(100% - 120px)); }

/* WhatsApp float */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 12px 18px 12px 14px; border-radius: 100px; background: #128C4B; color: #FFFFFF; font-weight: 600; text-decoration: none; box-shadow: 0 10px 26px rgba(10,31,54,0.3); }
.wa:hover { background: #0E7540; color: #FFFFFF; }
.wa svg { width: 28px; height: 28px; fill: #FFFFFF; flex: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .split, .contact-grid, .svc { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-art { max-width: 460px; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--orange); }
  .nav a.btn { margin-top: 14px; border-bottom: 2px solid var(--navy); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .g-4, .g-3, .g-2, .steps, .ticks, .footer-grid, form.enquiry { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: minmax(0, 1fr); }
  .wa span { display: none; }
  .wa { padding: 13px; }
  .brand-name { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
