:root {
  --background: #ffffff;
  --foreground: #0b1f3a;
  --card: #ffffff;
  --card-foreground: #0b1f3a;
  --popover: #ffffff;
  --popover-foreground: #0b1f3a;
  --primary: #2855d9;
  --primary-foreground: #ffffff;
  --secondary: #eef4ff;
  --secondary-foreground: #0b1f3a;
  --muted: #f3f7fb;
  --muted-foreground: #5b6d83;
  --accent: #16b8a6;
  --accent-foreground: #ffffff;
  --destructive: #c62828;
  --border: #dce6f0;
  --input: #d8e3ef;
  --ring: #16b8a6;
  --radius: 0.875rem;
  --navy: #0b1f3a;
  --blue: #2855d9;
  --blue-deep: #173f9e;
  --teal: #16b8a6;
  --ink: #17314f;
  --muted-ink: #5b6d83;
  --surface: #f5f9fd;
  --line: #dce6f0;
  --shadow: 0 24px 70px rgba(11, 31, 58, 0.12);
  --shadow-soft: 0 12px 35px rgba(11, 31, 58, 0.08);
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --font-sans: "Segoe UI", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: #fff; color: var(--ink); font-family: "Segoe UI", Inter, Arial, sans-serif; font-size: 16px; line-height: 1.7; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
input, textarea, select { width: 100%; padding: 12px 14px; border: 1px solid var(--input); outline: none; }
table { width: 100%; border-collapse: collapse; }
img { display: block; max-width: 100%; }
svg { stroke-width: 1.8; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); font-weight: 800; }
h2 { margin-bottom: 22px; font-size: clamp(2.35rem, 4.2vw, 4rem); line-height: 1.08; letter-spacing: -0.045em; }
h3 { line-height: 1.2; }
p { color: var(--muted-ink); }

/* Header and navigation */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 86px; border-bottom: 1px solid rgba(11,31,58,.08); background: rgba(255,255,255,.96); box-shadow: 0 9px 30px rgba(11,31,58,.07); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { width: 220px; flex: none; }
.brand img { width: 100%; height: auto; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-item { min-height: 43px; padding: 10px 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; color: #344b67; font-size: .88rem; font-weight: 750; white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.nav-item:hover, .nav-item:focus-visible { color: #fff; border-color: var(--blue); background: var(--blue); box-shadow: 0 10px 22px rgba(40,85,217,.24); transform: translateY(-2px); }
.nav-item.active { color: var(--blue); border-color: rgba(40,85,217,.14); background: #eef4ff; }
.nav-item.active:hover, .nav-item.active:focus-visible { color: #fff; background: var(--blue); }
.header-phone, .menu-toggle { display: none; }
.header-phone span { line-height: 1; }
.menu-toggle span { font-size: 1.55rem; line-height: 1; }
.mobile-nav { visibility: hidden; position: fixed; inset: 86px 0 0; z-index: 99; opacity: 0; background: rgba(247,251,255,.98); backdrop-filter: blur(18px); transform: translateY(-12px); transition: opacity .22s ease, transform .22s ease, visibility .22s; }
.mobile-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
.mobile-nav-inner { width: min(620px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 36px; display: grid; gap: 10px; }
.mobile-nav-item { min-height: 60px; padding: 14px 18px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 15px; color: var(--navy); background: #fff; font-size: 1.05rem; font-weight: 750; box-shadow: 0 8px 22px rgba(11,31,58,.05); }
.mobile-nav-item span { color: var(--teal); font-size: .76rem; letter-spacing: .1em; }
.mobile-nav-item.active { color: #fff; border-color: var(--blue); background: linear-gradient(135deg, var(--blue), var(--blue-deep)); }
.mobile-nav-item.active span { color: #8ef0e5; }

/* Shared interactive buttons: strong blue -> teal hover */
.button-primary, .button-secondary, .button-light, .admin-site-link { min-height: 52px; padding: 13px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid transparent; border-radius: 999px; font-size: .92rem; font-weight: 800; line-height: 1.2; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--blue), #1746c4); box-shadow: 0 14px 30px rgba(40,85,217,.25); }
.button-secondary { color: var(--navy); border-color: rgba(11,31,58,.16); background: #fff; box-shadow: 0 10px 26px rgba(11,31,58,.08); }
.button-light { color: var(--navy); background: #fff; box-shadow: 0 14px 30px rgba(3,15,36,.18); }
.button-primary:hover, .button-primary:focus-visible, .button-secondary:hover, .button-secondary:focus-visible, .button-light:hover, .button-light:focus-visible, .admin-site-link:hover, .admin-site-link:focus-visible { color: #fff; border-color: var(--teal); background: var(--teal); box-shadow: 0 16px 34px rgba(22,184,166,.28); transform: translateY(-3px); }
.button-primary svg, .button-secondary svg, .button-light svg { width: 18px; height: 18px; }

/* Home hero */
.home-hero { min-height: 770px; padding-top: 86px; position: relative; display: flex; align-items: center; overflow: hidden; background: #eaf4ff; }
.home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(248,252,255,.99) 0%, rgba(245,250,255,.96) 34%, rgba(238,247,255,.78) 51%, rgba(229,243,255,.25) 69%, rgba(11,31,58,.03) 100%); }
.home-hero-content { position: relative; z-index: 2; padding-block: 64px; }
.hero-copy-card { width: min(660px, 58%); padding: 40px 42px; position: relative; border: 1px solid rgba(255,255,255,.94); border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(247,252,255,.75)); box-shadow: 0 30px 80px rgba(11,31,58,.15); backdrop-filter: blur(9px); }
.hero-copy-card::before { content: ""; position: absolute; left: 0; top: 42px; width: 5px; height: 86px; border-radius: 4px; background: linear-gradient(var(--blue), var(--teal)); }
.eyebrow { margin: 0 0 16px; display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 2px; flex: none; background: var(--teal); }
.eyebrow.light { color: #72e5d9; }
.hero-copy-card h1 { margin: 0 0 21px; font-size: clamp(3.15rem, 4.2vw, 4.2rem); line-height: .99; letter-spacing: -.055em; }
.hero-title-line { display: block; white-space: nowrap; }
.hero-lead { max-width: 570px; margin-bottom: 20px; color: #50627a; font-size: 1.05rem; line-height: 1.7; }
.hero-service-line { margin-bottom: 26px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--navy); font-size: .79rem; font-weight: 750; }
.hero-service-line i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tagline { margin: 23px 0 0; color: var(--navy); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-tagline b { padding: 0 5px; color: var(--teal); }
.trust-strip { position: relative; z-index: 3; margin-top: -35px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.trust-grid > div { min-height: 105px; padding: 24px 28px; display: flex; align-items: center; gap: 16px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid svg { width: 30px; height: 30px; flex: none; color: var(--teal); }
.trust-grid span, .trust-grid strong { display: block; }
.trust-grid p { margin: 0; }
.trust-grid .trust-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: 14px; color: var(--teal); background: #e7faf7; font-size: 1.35rem; font-weight: 850; }
.trust-grid strong { color: var(--navy); font-size: .96rem; }
.trust-grid span { color: var(--muted-ink); font-size: .8rem; line-height: 1.45; }

/* Shared sections */
.section-heading { max-width: 740px; }
.section-heading > p:not(.eyebrow) { font-size: 1.05rem; }
.section-heading.centered { margin: 0 auto 54px; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.dark h2 { color: #fff; }
.section-heading.dark > p:not(.eyebrow) { color: #bdcad9; }
.heading-row { max-width: none; margin-bottom: 52px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 80px; align-items: end; }
.heading-row > p { margin-bottom: 7px; }
.section-action { margin-top: 48px; text-align: center; }

/* Services */
.services-overview, .services-page { background: linear-gradient(180deg, #fff, #f7fbff); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { min-height: 400px; padding: 30px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: 0 9px 28px rgba(11,31,58,.05); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card::after { content: ""; position: absolute; right: -54px; bottom: -72px; width: 145px; height: 145px; border-radius: 50%; background: rgba(40,85,217,.06); transition: transform .25s ease; }
.service-card:hover { border-color: rgba(40,85,217,.26); box-shadow: 0 23px 55px rgba(11,31,58,.11); transform: translateY(-7px); }
.service-card:hover::after { transform: scale(1.2); }
.service-card-top { margin-bottom: 25px; display: flex; align-items: flex-start; justify-content: space-between; }
.service-card-top b { color: #b3c0ce; font-size: .78rem; letter-spacing: .09em; }
.service-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: var(--blue); background: #edf3ff; }
.service-card:nth-child(even) .service-icon { color: #087f74; background: #e7faf7; }
.service-icon svg { width: 28px; height: 28px; }
.service-symbol { font-size: .72rem; font-weight: 900; letter-spacing: .02em; }
.service-card h3 { margin-bottom: 13px; font-size: 1.34rem; }
.service-card > p { margin-bottom: 20px; font-size: .92rem; line-height: 1.7; }
.service-card ul { margin: 0; padding: 17px 0 58px; display: grid; gap: 7px; border-top: 1px solid #e9eef4; list-style: none; }
.service-card li { color: #43566e; font-size: .84rem; }
.service-card li::before { content: "•"; margin-right: 9px; color: var(--teal); }
.service-card > a { position: absolute; left: 30px; bottom: 27px; z-index: 2; display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: .86rem; font-weight: 850; }
.service-card > a:hover { color: var(--teal); }
.service-card > a svg { width: 15px; }
.service-card.detailed { min-height: 430px; }

/* Human + technology */
.human-tech-section { padding-block: 0; background: var(--navy); }
.human-tech-grid { width: 100%; max-width: none; display: grid; grid-template-columns: 1fr 1fr; }
.human-tech-image { min-height: 620px; position: relative; }
.human-tech-image img { object-fit: cover; object-position: center; }
.human-tech-image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.human-tech-copy { padding: 90px clamp(40px, 7vw, 110px); align-self: center; }
.human-tech-copy h2 { color: #fff; }
.human-tech-copy > p:not(.eyebrow) { color: #bdcad9; font-size: 1.02rem; }
.human-tech-copy ul, .feature-list { margin: 28px 0 34px; padding: 0; display: grid; gap: 14px; list-style: none; }
.human-tech-copy li, .feature-list li { display: flex; align-items: center; gap: 10px; color: #eef6ff; font-size: .93rem; }
.human-tech-copy li svg, .feature-list li svg { width: 19px; flex: none; color: var(--teal); }
.feature-list li { color: var(--ink); }
.check { color: var(--teal); font-weight: 900; }

/* Process and CTA */
.process-overview { background: #f7fbff; }
.process-grid, .process-detailed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process-grid article, .process-detailed-grid article { padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.process-grid article > span, .process-detailed-grid article > span { width: 46px; height: 46px; margin-bottom: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: .8rem; font-weight: 850; }
.process-grid article:nth-child(2) > span, .process-detailed-grid article:nth-child(2) > span { background: var(--teal); }
.process-grid h3, .process-detailed-grid h3 { font-size: 1.55rem; }
.process-grid p, .process-detailed-grid p { font-size: .91rem; }
.process-detailed-grid article { box-shadow: var(--shadow-soft); }
.process-detailed-grid ul { margin: 25px 0 0; padding: 19px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); list-style: none; }
.process-detailed-grid li { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: .86rem; }
.process-detailed-grid li svg { width: 17px; color: var(--teal); }
.premium-cta { padding: 78px 0; position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, #0b1f3a, #17417f); }
.premium-cta-orb { position: absolute; width: 420px; height: 420px; right: -130px; top: -180px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018); }
.premium-cta-inner, .page-cta .shell { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.premium-cta h2, .page-cta h2 { max-width: 720px; margin-bottom: 14px; color: #fff; }
.premium-cta p:not(.eyebrow) { max-width: 660px; margin: 0; color: #bdcad9; }
.page-cta { padding: 62px 0; color: #fff; background: linear-gradient(120deg, #0b1f3a, #17417f); }
.page-cta p { margin-bottom: 8px; color: #72e5d9; font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.page-cta h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 3rem); }

/* Inner page hero */
.page-hero { min-height: 510px; padding: 160px 0 86px; position: relative; overflow: hidden; display: flex; align-items: center; background: linear-gradient(135deg, #f9fcff 0%, #edf6ff 56%, #e4f8f5 100%); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content::before { content: ""; position: absolute; left: -30px; top: 4px; width: 5px; height: 96px; border-radius: 4px; background: linear-gradient(var(--blue), var(--teal)); }
.page-hero h1 { max-width: 870px; margin-bottom: 22px; font-size: clamp(3.3rem, 6vw, 5.2rem); line-height: 1; letter-spacing: -.055em; }
.page-hero-description { max-width: 730px; margin: 0; font-size: 1.12rem; line-height: 1.75; }
.page-hero-orb { position: absolute; border-radius: 50%; border: 1px solid rgba(40,85,217,.11); }
.page-hero-orb-one { width: 500px; height: 500px; right: -80px; top: -160px; box-shadow: 0 0 0 70px rgba(40,85,217,.025), 0 0 0 140px rgba(22,184,166,.02); }
.page-hero-orb-two { width: 250px; height: 250px; right: 30%; bottom: -170px; background: rgba(22,184,166,.035); }

/* About */
.split-section { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: center; }
.split-section > div:first-child > p:not(.eyebrow) { font-size: 1.02rem; }
.split-image { min-height: 570px; position: relative; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); }
.split-image img { object-fit: cover; }
.split-image > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.image-caption { position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 20px 24px; color: #fff; border-radius: 14px; background: rgba(11,31,58,.9); backdrop-filter: blur(10px); }
.image-caption strong, .image-caption span { display: block; }
.image-caption strong { color: #75e6da; letter-spacing: .08em; }
.image-caption span { margin-top: 4px; color: #d4dfeb; font-size: .84rem; }
.values-section { background: var(--surface); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-grid article { min-height: 285px; padding: 31px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.value-grid article:hover { box-shadow: var(--shadow-soft); transform: translateY(-6px); }
.value-grid article > span { float: right; color: #b1bfce; font-size: .76rem; font-weight: 800; }
.value-grid svg { width: 34px; height: 34px; margin-bottom: 35px; color: var(--teal); }
.value-symbol { margin: 30px 0; color: var(--teal); font-size: 2rem; font-weight: 850; }
.value-grid h3 { font-size: 1.35rem; }
.value-grid p { font-size: .88rem; }
.leadership-section { color: #fff; background: linear-gradient(120deg, #0b1f3a, #16396b); }
.leadership-card { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.leadership-card h2 { margin-bottom: 10px; color: #fff; }
.leadership-card strong { color: #72e5d9; font-size: .83rem; letter-spacing: .1em; text-transform: uppercase; }
.leadership-card > p { margin: 0; color: #c3d0df; font-size: 1.08rem; }

/* Services + solutions + process detail */
.responsible-section, .journey-section, .delivery-section { color: #fff; background: linear-gradient(135deg, #0b1f3a, #173b75); }
.responsible-grid, .delivery-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; align-items: center; }
.responsible-grid h2, .delivery-layout h2 { color: #fff; }
.responsible-grid > div > p:not(.eyebrow) { color: #bdcad9; }
.responsible-grid ul { margin: 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.responsible-grid li { padding: 18px 0; display: flex; gap: 15px; border-bottom: 1px solid rgba(255,255,255,.12); }
.responsible-grid li svg { width: 22px; flex: none; color: var(--teal); }
.responsible-grid li strong, .responsible-grid li span { display: block; }
.responsible-grid li strong { color: #fff; }
.responsible-grid li span { color: #bdcad9; font-size: .9rem; }
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.solution-grid article { min-height: 340px; padding: 36px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 36px rgba(11,31,58,.06); transition: transform .25s ease, box-shadow .25s ease; }
.solution-grid article:last-child { grid-column: 1 / -1; }
.solution-grid article:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.solution-number { position: absolute; right: 30px; top: 28px; color: #bac6d2; font-weight: 800; }
.solution-icon { width: 58px; height: 58px; margin-bottom: 27px; display: grid; place-items: center; border-radius: 17px; color: var(--blue); background: #edf3ff; }
.solution-icon svg { width: 29px; }
.solution-grid small { color: var(--teal); font-size: .74rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.solution-grid h3 { margin: 8px 0 14px; font-size: 1.7rem; }
.solution-grid p { max-width: 670px; }
.solution-grid a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: .88rem; font-weight: 800; }
.solution-grid a:hover { color: var(--teal); }
.solution-grid a svg { width: 16px; }
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.journey-grid article { min-height: 245px; padding: 32px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.06); }
.journey-grid article > span { color: #6fe2d6; font-size: 2rem; font-weight: 850; }
.journey-grid h3 { margin: 23px 0 9px; color: #fff; font-size: 1.4rem; }
.journey-grid p { color: #bdcad9; font-size: .88rem; }
.delivery-layout { grid-template-columns: .8fr 1.2fr; }
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.delivery-grid article { min-height: 195px; padding: 28px; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background: rgba(255,255,255,.07); }
.delivery-grid svg { width: 30px; height: 30px; margin-bottom: 22px; color: #70e1d5; }
.delivery-symbol { margin-bottom: 22px; color: #70e1d5; font-size: 1.8rem; font-weight: 850; }
.delivery-grid h3 { margin-bottom: 7px; color: #fff; font-size: 1.03rem; }
.delivery-grid p { color: #bdcad9; font-size: .84rem; }

/* Contact */
.contact-section { background: linear-gradient(135deg, #0b1f3a, #173b75); }
#enquiry { scroll-margin-top: 86px; }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 22px; }
.contact-details, .contact-form-card { border-radius: 20px; }
.contact-details { padding: 38px 32px; color: #fff; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.07); }
.contact-details h3 { margin-bottom: 25px; color: #fff; font-size: 1.55rem; }
.contact-details > div { padding: 16px 0; display: flex; align-items: flex-start; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.11); }
.contact-details > div > svg { width: 22px; margin-top: 4px; flex: none; color: #70e1d5; }
.contact-icon { width: 22px; margin-top: 1px; flex: none; color: #70e1d5; font-size: 1.15rem; }
.contact-details span, .contact-details small, .contact-details strong { display: block; }
.contact-details small { margin-bottom: 3px; color: #8ea2bb; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-details strong, .contact-details a { color: #fff; font-size: .9rem; font-weight: 650; }
.contact-details a:hover { color: #70e1d5; }
.contact-security { margin: 25px 0 0; padding: 16px; display: flex; align-items: flex-start; gap: 10px; border-left: 3px solid var(--teal); border-radius: 8px; color: #c6d3e1; background: rgba(22,184,166,.13); font-size: .8rem; }
.contact-security svg { width: 19px; flex: none; color: #70e1d5; }
.contact-form-card { padding: 42px; background: #fff; box-shadow: 0 30px 75px rgba(3,15,34,.22); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: grid; gap: 8px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: var(--navy); font-size: .8rem; font-weight: 800; }
.form-field input, .form-control, .form-textarea { min-height: 54px; border-color: var(--input); border-radius: 10px; color: var(--navy); background: #f7f9fc; font-size: .94rem; box-shadow: none; }
.form-field input:focus-visible, .form-control:focus-visible, .form-textarea:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,85,217,.1); }
.form-field [data-slot="native-select-wrapper"] { width: 100%; }
.form-textarea { min-height: 145px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.submit-button { margin-top: 26px; min-width: 205px; border: 0; }
.submit-button:disabled { opacity: .65; }
.form-note { margin: 13px 0 0; color: #8190a2; font-size: .76rem; }
.form-error { margin: 18px 0 0; padding: 12px 14px; border-radius: 9px; color: #9f1d1d; background: #fff0f0; font-size: .85rem; }
.form-success { min-height: 460px; padding: 35px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.form-success > svg { width: 54px; height: 54px; margin-bottom: 24px; color: var(--teal); }
.success-icon { width: 54px; height: 54px; margin-bottom: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); font-size: 1.7rem; font-weight: 900; }
.form-success h2 { font-size: 2.4rem; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.site-footer { padding-top: 82px; color: #aebccd; background: #07172d; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .72fr 1fr .92fr; gap: 55px; }
.footer-logo { width: 205px; height: auto; margin-bottom: 24px; padding: 9px 12px; border-radius: 10px; background: #fff; }
.footer-brand-block p { max-width: 340px; color: #aebccd; font-size: .88rem; }
.footer-brand-block strong { color: #63d9cd; font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; }
.site-footer h2 { margin-bottom: 23px; color: #fff; font-size: 1.05rem; letter-spacing: -.01em; }
.site-footer ul { margin: 0; padding: 0; display: grid; gap: 11px; list-style: none; }
.site-footer li, .site-footer a, .site-footer p { color: #aebccd; font-size: .86rem; }
.site-footer a:hover { color: #6ce0d4; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-list svg { width: 16px; margin-top: 5px; flex: none; color: var(--teal); }
.footer-contact-list li > span:first-child { width: 18px; flex: none; color: var(--teal); }
.footer-leader span { display: block; color: #6ce0d4; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.legal-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom { margin-top: 65px; padding: 25px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom p { margin: 0; font-size: .8rem; }
.admin-link { font-size: .76rem !important; font-weight: 750; }

/* Legal pages */
.legal-content { max-width: 860px; }
.legal-content h2 { margin: 42px 0 13px; font-size: 1.75rem; letter-spacing: -.02em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 1rem; }
.legal-content ul { padding-left: 22px; }
.legal-content a { color: var(--blue); font-weight: 700; }

/* Admin */
.admin-page, .admin-access-page { min-height: 100vh; background: #f3f7fb; }
.admin-shell { width: min(1400px, calc(100% - 40px)); margin-inline: auto; }
.admin-header { height: 76px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 6px 22px rgba(11,31,58,.06); }
.admin-header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.admin-header img { width: 190px; height: auto; }
.admin-header-inner > div { display: flex; align-items: center; gap: 17px; }
.admin-header-inner > div span { color: var(--muted-ink); font-size: .82rem; }
.admin-header-inner > div a { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: .82rem; font-weight: 750; }
.admin-header-inner > div a:hover { color: var(--teal); }
.admin-header-inner svg { width: 16px; }
.admin-content { padding: 52px 0 80px; }
.admin-title { margin-bottom: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.admin-title h1 { margin: 0 0 8px; font-size: clamp(2.4rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -.05em; }
.admin-title p:last-child { margin: 0; }
.admin-site-link { min-height: 44px; padding: 10px 19px; color: var(--blue); border-color: rgba(40,85,217,.2); background: #fff; box-shadow: var(--shadow-soft); }
.admin-stats { margin-bottom: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.admin-stats article { min-height: 125px; padding: 23px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 25px rgba(11,31,58,.045); }
.admin-stats span { color: var(--muted-ink); font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.admin-stats strong { color: var(--navy); font-size: 2.3rem; }
.admin-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.admin-toolbar { padding: 20px; display: grid; grid-template-columns: 1fr 190px; gap: 14px; border-bottom: 1px solid var(--line); }
.admin-search { position: relative; }
.admin-search > svg { position: absolute; left: 14px; top: 50%; z-index: 2; width: 18px; color: #788a9f; transform: translateY(-50%); }
.admin-search input { height: 46px; padding-left: 42px; border-radius: 10px; background: #f8fafc; }
.admin-filter { height: 46px; border-radius: 10px; background: #f8fafc; }
.admin-toolbar [data-slot="native-select-wrapper"] { width: 100%; }
.admin-toolbar input, .admin-toolbar select { border: 1px solid var(--line); }
.lead-table-wrap { overflow-x: auto; }
.lead-table-wrap table { min-width: 1140px; }
.lead-table-wrap th { height: 50px; padding: 12px 16px; color: #6d7e91; background: #f8fafc; font-size: .72rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.lead-table-wrap td { padding: 16px; color: var(--ink); font-size: .84rem; white-space: normal; }
.lead-name, .lead-reference { display: block; }
.lead-reference { margin-top: 3px; color: #8a99aa; font-size: .71rem; }
.lead-phone { color: var(--blue); font-weight: 750; }
.lead-message { max-width: 300px; margin: 0; color: var(--muted-ink); font-size: .82rem; line-height: 1.5; }
.status-select { min-width: 130px; height: 38px; border-radius: 999px; font-weight: 750; }
.status-new { color: #1748bd; background: #eaf0ff !important; }
.status-contacted { color: #8b5c00; background: #fff5dc !important; }
.status-qualified { color: #08796e; background: #e7faf7 !important; }
.status-closed { color: #56677b; background: #edf1f5 !important; }
.lead-card-list { display: none; }
.admin-error { margin: 16px 20px; padding: 12px; color: #9f1d1d; background: #fff0f0; }
.admin-empty, .admin-unavailable { min-height: 300px; padding: 50px 25px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.admin-empty svg { width: 42px; height: 42px; margin-bottom: 20px; color: var(--teal); }
.admin-empty h2, .admin-unavailable h2 { font-size: 1.8rem; }
.admin-access-page { padding: 40px 20px; display: grid; place-items: center; }
.admin-access-card { width: min(600px, 100%); padding: 50px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.admin-access-card > img { width: 220px; margin-bottom: 40px; }
.admin-access-card h1 { font-size: 2.4rem; line-height: 1.1; }
.setup-form { margin-top: 26px; display: grid; gap: 18px; }
.setup-form .button-primary { width: 100%; margin-top: 4px; }
.back-link { margin-top: 22px; display: inline-block; color: var(--blue); font-size: .86rem; font-weight: 750; }
.admin-notice { margin-bottom: 20px; padding: 13px 16px; border-radius: 10px; color: #08796e; background: #e7faf7; }
.status-badge { padding: 5px 9px; border-radius: 999px; font-size: .68rem; text-transform: capitalize; }
.lead-row.filtered-out { display: none !important; }

/* Tablet */
@media (max-width: 1079px) {
  .site-header { height: 78px; }
  .brand { width: 205px; }
  .desktop-nav { display: none; }
  .header-phone { width: 43px; height: 43px; margin-left: auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); }
  .header-phone svg { width: 18px; }
  .menu-toggle { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; color: var(--navy); background: #fff; }
  .menu-toggle svg { width: 23px; }
  .mobile-nav { inset: 78px 0 0; }
  .home-hero { min-height: 870px; padding-top: 78px; align-items: flex-start; }
  .home-hero-image { object-position: 68% bottom; }
  .home-hero-overlay { background: linear-gradient(180deg, rgba(249,252,255,.99) 0%, rgba(246,251,255,.96) 47%, rgba(236,247,255,.48) 69%, rgba(11,31,58,.06) 100%); }
  .home-hero-content { padding-top: 52px; }
  .hero-copy-card { width: min(710px, 100%); margin: 0 auto; padding: 36px 38px; text-align: center; }
  .hero-copy-card::before { display: none; }
  .hero-copy-card .eyebrow, .hero-actions, .hero-service-line { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-copy-card h1 { font-size: clamp(3rem, 7vw, 4.3rem); }
  .trust-strip { margin-top: 0; }
  .trust-grid { border-radius: 0; width: 100%; max-width: none; }
  .heading-row { grid-template-columns: 1fr; gap: 5px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .human-tech-image { min-height: 550px; }
  .human-tech-copy { padding: 65px 42px; }
  .split-section { gap: 45px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .responsible-grid, .delivery-layout { grid-template-columns: 1fr; gap: 45px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
  .contact-details h3, .contact-security { grid-column: 1 / -1; }
  .contact-details > div:nth-of-type(3), .contact-details > div:nth-of-type(4) { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1.15fr .7fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; padding-top: 20px; }
  .journey-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile: preserve desktop copy order and deliberate line breaks without overlap */
@media (max-width: 767px) {
  body { font-size: 16px; line-height: 1.65; }
  .shell, .admin-shell { width: min(100% - 28px, 1180px); }
  .section { padding: 74px 0; }
  .site-header { height: 72px; }
  .header-inner { gap: 9px; }
  .brand { width: min(54vw, 190px); }
  .header-phone { width: 41px; height: 41px; }
  .menu-toggle { width: 43px; height: 43px; }
  .mobile-nav { inset: 72px 0 0; overflow-y: auto; }
  .mobile-nav-inner { width: calc(100% - 28px); padding-top: 18px; }
  .mobile-nav-item { min-height: 56px; padding: 12px 16px; }
  h2 { font-size: clamp(2.1rem, 10vw, 3rem); }

  .home-hero { min-height: 850px; padding-top: 72px; }
  .home-hero-image { object-position: 66% bottom; }
  .home-hero-overlay { background: linear-gradient(180deg, rgba(250,253,255,1) 0%, rgba(247,252,255,.98) 48%, rgba(239,248,255,.62) 70%, rgba(11,31,58,.04) 100%); }
  .home-hero-content { width: calc(100% - 20px); padding: 28px 0 0; }
  .hero-copy-card { width: 100%; padding: 27px 15px 25px; border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 18px 50px rgba(11,31,58,.11); backdrop-filter: blur(7px); }
  .eyebrow { justify-content: center; font-size: .68rem; letter-spacing: .09em; line-height: 1.45; }
  .eyebrow > span { width: 20px; }
  .hero-copy-card h1 { margin-bottom: 17px; font-size: clamp(1.72rem, 8.25vw, 2.5rem); line-height: 1.04; letter-spacing: -.048em; }
  .hero-title-line { display: block; white-space: nowrap; }
  .hero-lead { margin-bottom: 17px; font-size: .94rem; line-height: 1.6; }
  .hero-service-line { margin-bottom: 20px; gap: 5px 7px; font-size: .68rem; line-height: 1.45; }
  .hero-service-line i { width: 4px; height: 4px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .button-primary, .button-secondary, .button-light { width: 100%; min-height: 50px; padding: 12px 18px; }
  .hero-tagline { margin-top: 18px; font-size: .7rem; letter-spacing: .09em; white-space: nowrap; }

  .trust-grid { grid-template-columns: 1fr; border-radius: 0; box-shadow: 0 14px 35px rgba(11,31,58,.08); }
  .trust-grid > div { min-height: 92px; padding: 20px 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .heading-row { margin-bottom: 38px; }
  .section-heading.centered { margin-bottom: 40px; }
  .section-heading > p:not(.eyebrow) { font-size: .98rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.detailed { min-height: 0; padding: 27px 25px 88px; }
  .service-card ul { padding-bottom: 15px; }
  .service-card > a { left: 25px; }
  .section-action { margin-top: 35px; }
  .human-tech-grid { grid-template-columns: 1fr; }
  .human-tech-image { min-height: 390px; order: 2; }
  .human-tech-copy { padding: 68px 22px; order: 1; }
  .human-tech-copy .eyebrow { justify-content: flex-start; }
  .process-grid, .process-detailed-grid { grid-template-columns: 1fr; }
  .premium-cta { padding: 65px 0; }
  .premium-cta-inner, .page-cta .shell { flex-direction: column; align-items: stretch; gap: 30px; }
  .premium-cta .eyebrow { justify-content: flex-start; }

  .page-hero { min-height: 430px; padding: 130px 0 62px; }
  .page-hero .eyebrow { justify-content: flex-start; }
  .page-hero-content::before { display: none; }
  .page-hero h1 { font-size: clamp(2.55rem, 12vw, 3.7rem); line-height: 1.02; }
  .page-hero-description { font-size: 1rem; }
  .split-section { grid-template-columns: 1fr; gap: 45px; }
  .split-section > div:first-child { order: 1; }
  .split-image { min-height: 430px; order: 2; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { min-height: 240px; }
  .leadership-card { grid-template-columns: 1fr; gap: 28px; }
  .leadership-card > p { font-size: 1rem; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-grid article:last-child { grid-column: auto; }
  .solution-grid article { min-height: 320px; padding: 30px; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-grid article { min-height: 205px; }
  .delivery-grid { grid-template-columns: 1fr; }
  .contact-details { display: block; padding: 30px 24px; }
  .contact-details > div:nth-of-type(3) { border-bottom: 1px solid rgba(255,255,255,.11); }
  .contact-form-card { padding: 29px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-field-wide { grid-column: auto; }
  .submit-button { width: 100%; }
  .form-success { min-height: 430px; padding: 20px 5px; }
  .form-success h2 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid > div:last-child { grid-column: auto; padding-top: 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .legal-content h2 { font-size: 1.55rem; }

  .admin-header { height: auto; min-height: 72px; }
  .admin-header img { width: 155px; }
  .admin-header-inner > div span { display: none; }
  .admin-content { padding: 35px 0 60px; }
  .admin-title { align-items: stretch; flex-direction: column; }
  .admin-title h1 { font-size: 2.55rem; }
  .admin-site-link { align-self: flex-start; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-stats article { min-height: 110px; }
  .admin-stats strong { font-size: 1.9rem; }
  .admin-toolbar { grid-template-columns: 1fr; }
  .lead-table-wrap { display: none; }
  .lead-card-list { padding: 15px; display: grid; gap: 14px; background: #f7f9fc; }
  .lead-card { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .lead-card-head { margin-bottom: 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
  .lead-card-head strong, .lead-card-head span { display: block; }
  .lead-card-head strong { color: var(--navy); }
  .lead-card-head span { color: #8695a7; font-size: .72rem; }
  .status-badge { border: 0; }
  .lead-card dl { margin: 0; display: grid; gap: 13px; }
  .lead-card dl > div { padding-bottom: 11px; border-bottom: 1px solid #edf1f5; }
  .lead-card dt { color: #8695a7; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .lead-card dd { margin: 3px 0 0; color: var(--ink); font-size: .88rem; line-height: 1.55; overflow-wrap: anywhere; }
  .lead-card dd a { color: var(--blue); font-weight: 750; }
  .lead-card [data-slot="native-select-wrapper"] { width: 100%; margin-top: 17px; }
  .mobile-status-select { width: 100%; height: 44px; }
  .admin-access-card { padding: 35px 25px; }
  .admin-access-card h1 { font-size: 2rem; }
}

@media (max-width: 370px) {
  .brand { width: 160px; }
  .header-phone { display: none; }
  .hero-copy-card h1 { font-size: 1.72rem; }
  .hero-service-line { font-size: .64rem; }
  .hero-tagline { font-size: .66rem; }
  .admin-stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
