:root {
  --navy: #052a4d;
  --navy-deep: #031d36;
  --blue: #0c4e86;
  --gold: #e7a91a;
  --sand: #f3efe6;
  --paper: #fbfaf7;
  --ink: #14293a;
  --muted: #657784;
  --line: #dbe2e4;
  --shadow: 0 24px 65px rgba(3, 36, 65, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 112px 0; }
.eyebrow { margin: 0 0 20px; color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow.dark { color: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; line-height: 1.08; }
h2 { margin-bottom: 0; font-size: clamp(2.25rem, 4.2vw, 4.5rem); letter-spacing: -.05em; }

.site-header { position: fixed; z-index: 40; top: 0; left: 0; width: 100%; color: white; border-bottom: 1px solid rgba(255,255,255,.14); transition: .25s ease; }
.site-header.scrolled { color: var(--navy); background: rgba(255,255,255,.96); box-shadow: 0 10px 35px rgba(5,33,56,.08); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { width: 154px; height: 62px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 700; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--gold); transition: width .2s; }
.nav-links a:hover::after { width: 100%; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 55px; padding: 0 25px; border: 0; border-radius: 3px; color: var(--navy); background: var(--gold); font-weight: 800; cursor: pointer; transition: transform .2s, filter .2s; }
.button:hover { transform: translateY(-2px); filter: brightness(1.05); }
.button-small { min-height: 43px; padding: 0 18px; font-size: .85rem; }
.menu-toggle { display: none; border: 0; color: inherit; background: transparent; font-size: 1.5rem; cursor: pointer; }

.hero { position: relative; min-height: 850px; display: grid; align-items: center; overflow: hidden; color: white; background: radial-gradient(circle at 82% 18%, #0d4e82 0, var(--navy) 34%, var(--navy-deep) 80%); }
.hero-grid-lines { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, black, transparent 75%); }
.hero-layout { position: relative; z-index: 2; padding-top: 120px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 62px; align-items: center; }
.hero-copy-wrap { padding-bottom: 20px; }
.hero h1 { max-width: 720px; margin-bottom: 26px; font-size: clamp(3.2rem, 6.1vw, 6.3rem); letter-spacing: -.065em; }
.hero h1 span { color: var(--gold); }
.hero-copy { max-width: 640px; margin-bottom: 35px; color: #d8e5ed; font-size: 1.12rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.text-link { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.55); font-weight: 700; }
.hero-visual { min-height: 610px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.42fr .85fr; gap: 13px; transform: rotate(1deg); }
.hero-photo { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.24); background: #133c5f; box-shadow: 0 22px 60px rgba(0,0,0,.2); }
.hero-photo-main { grid-column: 1 / -1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,29,54,.78), transparent 48%); }
.hero-photo figcaption { position: absolute; z-index: 2; left: 18px; bottom: 15px; color: white; font-size: .76rem; font-weight: 700; letter-spacing: .04em; }

.proof-strip { color: white; background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.12); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { min-height: 122px; padding: 29px 24px; display: flex; gap: 16px; align-items: flex-start; border-right: 1px solid rgba(255,255,255,.13); }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { border-right: 0; }
.proof-grid strong { color: var(--gold); font-family: "Manrope", sans-serif; font-size: .78rem; }
.proof-grid span { color: #c9d7df; font-size: .83rem; line-height: 1.45; }

.expertise { background: white; }
.expertise-grid { display: grid; grid-template-columns: .8fr 1.1fr; gap: 10%; align-items: start; }
.quality-note { margin-top: 55px; padding: 26px; border-left: 4px solid var(--gold); background: var(--sand); }
.quality-note span { display: block; margin-bottom: 8px; color: var(--navy); font-weight: 800; }
.quality-note p { margin: 0; color: var(--muted); }
.founder-panel { padding: 48px; color: white; background: var(--navy); box-shadow: var(--shadow); }
.founder-kicker { margin-bottom: 10px; color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.founder-panel h3 { margin-bottom: 28px; font-size: 2rem; }
.founder-panel > p:not(.founder-kicker) { color: #d1dee6; }
.source-link { display: inline-flex; gap: 9px; margin-top: 4px; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.42); color: white; font-size: .82rem; font-weight: 700; }
.credential-grid { margin-top: 40px; padding-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.credential-grid div { min-height: 88px; padding: 0 18px; border-right: 1px solid rgba(255,255,255,.16); }
.credential-grid div:first-child { padding-left: 0; }
.credential-grid div:last-child { border-right: 0; }
.credential-grid strong { display: block; margin-bottom: 8px; color: var(--gold); font-family: "Manrope"; font-size: 1.15rem; }
.credential-grid span { color: #c2d1da; font-size: .76rem; line-height: 1.4; }

.solutions { background: var(--sand); }
.section-heading { margin-bottom: 58px; display: grid; grid-template-columns: 1.2fr .65fr; gap: 11%; align-items: end; }
.section-heading > p { margin: 0; color: var(--muted); }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.solution-card { position: relative; min-height: 430px; overflow: hidden; background: var(--navy); box-shadow: 0 12px 35px rgba(3, 36, 65, .1); }
.solution-card-large, .solution-card-wide { grid-column: span 2; }
.solution-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.solution-card:hover img { transform: scale(1.035); }
.solution-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,29,54,.96) 4%, rgba(3,29,54,.72) 42%, rgba(3,29,54,.05) 77%); }
.solution-content { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 25px; color: white; }
.solution-content > span { color: var(--gold); font-size: .72rem; font-weight: 800; }
.solution-content h3 { margin: 13px 0 8px; font-size: 1.28rem; }
.solution-content p { margin: 0; color: #d6e0e6; font-size: .88rem; line-height: 1.55; }
.portfolio-note { margin: 24px 0 0; color: var(--muted); font-size: .86rem; }

.industries { color: white; background: var(--navy); }
.industries-layout { display: grid; grid-template-columns: .8fr 1.1fr; gap: 10%; align-items: start; }
.industry-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.17); }
.industry-list > div { min-height: 122px; padding: 25px 22px; border-right: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); }
.industry-list > div:nth-child(even) { border-right: 0; }
.industry-list span { color: var(--gold); font-size: .72rem; font-weight: 800; }
.industry-list h3 { margin: 20px 0 0; font-size: 1rem; }

.process { background: white; }
.process-heading { display: grid; grid-template-columns: 1.05fr .55fr; gap: 12%; align-items: end; }
.process-heading > p { margin: 0; color: var(--muted); }
.steps { margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid var(--line); }
.steps li { min-height: 260px; padding: 32px 24px 20px 0; border-right: 1px solid var(--line); }
.steps li:not(:first-child) { padding-left: 24px; }
.steps li:last-child { border-right: 0; }
.steps span { color: var(--gold); font-size: .76rem; font-weight: 800; }
.steps h3 { margin: 68px 0 12px; color: var(--navy); font-size: 1.35rem; }
.steps p { color: var(--muted); font-size: .9rem; }

.contact { background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.05fr; gap: 9%; }
.contact-copy > p:not(.eyebrow) { margin: 24px 0 38px; color: var(--muted); font-size: 1.04rem; }
.contact-list { display: grid; gap: 14px; }
.contact-list a, .contact-list > p { margin: 0; display: grid; grid-template-columns: 145px 1fr; color: var(--navy); font-weight: 700; }
.contact-list span { color: var(--muted); font-size: .69rem; font-weight: 800; letter-spacing: .1em; }
.qr-row { display: flex; gap: 14px; margin-top: 35px; }
.qr-card { padding: 10px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: white; color: var(--navy); font-size: .76rem; font-weight: 800; cursor: pointer; }
.qr-card img { width: 52px; height: 52px; object-fit: cover; }
.enquiry-form { padding: 40px; background: white; box-shadow: var(--shadow); }
.form-heading { margin-bottom: 28px; display: flex; align-items: baseline; gap: 15px; }
.form-heading p { margin: 0; color: var(--gold); font-weight: 800; }
.form-heading h3 { margin: 0; font-size: 1.5rem; }
.enquiry-form label { margin-bottom: 16px; display: grid; gap: 7px; color: var(--navy); font-size: .78rem; font-weight: 800; }
.enquiry-form input, .enquiry-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #cbd6db; border-radius: 0; outline: none; color: var(--ink); background: #fff; }
.enquiry-form input:focus, .enquiry-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,92,153,.09); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.button.full { width: 100%; margin-top: 4px; }
.enquiry-form small { display: block; margin-top: 13px; color: var(--muted); line-height: 1.45; }

.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; min-height: 56px; padding: 0 20px 0 16px; display: inline-flex; align-items: center; gap: 10px; border: 2px solid rgba(255,255,255,.92); border-radius: 999px; color: white; background: #25d366; box-shadow: 0 12px 34px rgba(4,31,57,.3); font-weight: 800; transition: transform .2s, background .2s, box-shadow .2s; }
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }
.whatsapp-float:hover { transform: translateY(-3px); background: #1fbd5a; box-shadow: 0 16px 40px rgba(4,31,57,.36); }
.whatsapp-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

footer { padding: 38px 0; color: white; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
.footer-grid > p { margin: 0; color: #aebfca; font-size: .8rem; text-align: center; }
.footer-grid > p:last-child { text-align: right; }
.footer-brand img { width: 132px; height: 58px; }

dialog { width: min(390px, calc(100% - 32px)); padding: 30px; border: 0; text-align: center; color: var(--navy); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(4,31,57,.8); backdrop-filter: blur(4px); }
dialog img { width: 250px; max-height: 300px; margin: 0 auto 16px; object-fit: contain; }
dialog h3 { margin-bottom: 6px; }
dialog p { margin: 0; color: var(--muted); }
.dialog-close { position: absolute; top: 8px; right: 12px; border: 0; background: none; color: var(--navy); font-size: 1.8rem; cursor: pointer; }

@media (max-width: 980px) {
  .section { padding: 84px 0; }
  .nav-links { position: absolute; top: 86px; left: 20px; right: 20px; padding: 24px; display: none; flex-direction: column; align-items: flex-start; color: var(--navy); background: white; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .hero { min-height: auto; }
  .hero-layout { padding-top: 150px; padding-bottom: 74px; grid-template-columns: 1fr; }
  .hero-copy-wrap { max-width: 760px; }
  .hero-visual { min-height: 560px; }
  .expertise-grid, .section-heading, .industries-layout, .process-heading, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .solution-card-large, .solution-card-wide { grid-column: span 1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { border-right: 0; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 74px; }
  .brand img { width: 124px; height: 54px; }
  .nav-links { top: 74px; left: 14px; right: 14px; }
  .hero-layout { padding-top: 126px; gap: 44px; }
  .hero h1 { font-size: 3.2rem; }
  .hero-copy { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
  .hero-visual { min-height: 490px; grid-template-rows: 1.25fr .8fr; }
  .hero-photo figcaption { left: 12px; bottom: 10px; font-size: .65rem; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { min-height: 106px; padding: 23px 14px; border-bottom: 1px solid rgba(255,255,255,.13); }
  .proof-grid > div:first-child { padding-left: 14px; }
  .proof-grid > div:nth-child(2) { border-right: 0; }
  .founder-panel { padding: 30px 22px; }
  .credential-grid { grid-template-columns: 1fr; }
  .credential-grid div, .credential-grid div:first-child { min-height: auto; padding: 14px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .credential-grid div:last-child { border-bottom: 0; }
  .solution-grid, .industry-list, .steps, .form-row { grid-template-columns: 1fr; }
  .solution-card { min-height: 400px; }
  .industry-list > div, .industry-list > div:nth-child(even) { min-height: 105px; border-right: 0; }
  .steps li, .steps li:not(:first-child) { min-height: auto; padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps h3 { margin-top: 28px; }
  .contact-list a, .contact-list > p { grid-template-columns: 1fr; gap: 2px; }
  .enquiry-form { padding: 27px 19px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid > p, .footer-grid > p:last-child { text-align: left; }
  .whatsapp-float { right: 14px; bottom: 14px; min-height: 52px; padding: 0 16px 0 13px; font-size: .9rem; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
