/* Shared by every page: menus (Services / Solutions / Company), mobile menu,
   enquiry form extras and the "Inquiry received" dialog. Generated service,
   solution and industry pages also use the .pg-* page styles below. */

/* ---------- Dropdown menus ---------- */
.nav { position: sticky; }
.dd { position: static; }
.dd-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; font: 500 14px "Inter", system-ui, sans-serif; color: var(--ink, #0A1C38); cursor: pointer; }
.dd-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.dd-btn[aria-expanded="true"] { color: var(--violet, #098691); }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-btn:hover { color: var(--violet, #098691); }
.mega { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); width: min(1040px, calc(100vw - 32px)); background: #fff; border: 1px solid rgba(10, 28, 56, .1); border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(1, 15, 42, .45); padding: 22px; z-index: 60; animation: ddIn .2s ease both; text-align: left; }
.mega.sm { width: min(560px, calc(100vw - 32px)); }
.mega[hidden] { display: none; }
@keyframes ddIn { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 14px; }
.mega-grid.c2 { grid-template-columns: 1fr 1fr; }
.mg h6 { margin: 4px 10px 8px; font: 700 11.5px/1 "Inter", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--violet, #098691); }
.mg a { display: flex; gap: 11px; align-items: flex-start; padding: 10px; border-radius: 14px; text-decoration: none; color: var(--ink, #0A1C38); }
.mg a:hover, .mg a:focus-visible { background: #E5F6F8; }
.mg i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, rgba(93,214,161,.14), rgba(7,131,142,.16), rgba(172,125,2,.14)); color: #07838E; }
.mg i svg { width: 19px; height: 19px; }
.mg b { display: block; font-size: 14px; line-height: 1.3; font-weight: 600; }
.mg small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: var(--ink-soft, #1F5F66); }
.mega-foot { margin-top: 14px; padding: 14px 10px 2px; border-top: 1px solid rgba(10, 28, 56, .1); font-size: 14px; color: var(--ink-soft, #1F5F66); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.mega-foot a { color: var(--violet, #098691); font-weight: 600; text-decoration: none; }
@media (max-width: 1180px) and (min-width: 1001px) { .mega-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Mobile menu ---------- */
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(10, 28, 56, .12); background: #fff; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink, #0A1C38); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav { margin: 10px auto 0; max-width: 1040px; max-height: calc(100svh - 110px); overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: 0 24px 50px -20px rgba(1, 15, 42, .45); padding: 10px 12px 16px; display: grid; }
.mnav[hidden] { display: none; }
.mnav > a, .mnav summary { padding: 13px 10px; border-bottom: 1px solid rgba(10, 28, 56, .1); text-decoration: none; color: var(--ink, #0A1C38); font-weight: 600; font-size: 16px; cursor: pointer; }
.mnav summary { list-style: none; display: flex; justify-content: space-between; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: "+"; color: var(--violet, #098691); font-size: 20px; line-height: 1; }
.mnav details[open] summary::after { content: "–"; }
.mnav details > div { display: grid; padding: 4px 0 8px 10px; }
.mnav details a { padding: 8px 10px; font-size: 14.5px; color: var(--ink-soft, #1F5F66); text-decoration: none; }
.mn-g { margin: 10px 10px 2px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet, #098691); }
.mnav .btn { margin-top: 14px; justify-content: center; }
@media (max-width: 1000px) {
  .nav-links { display: none !important; }
  .burger { display: inline-flex; }
  .nav-in > .btn-grad { display: none; }
  .nav-in { justify-content: space-between; }
}

/* ---------- Enquiry form extras + success dialog ---------- */
.form-card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card .row2 > * { min-width: 0; }
@media (max-width: 560px) { .form-card .row2 { grid-template-columns: 1fr; } }
.form-card .phone-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; }
.form-card .privacy { text-align: center; font-size: 12.5px; color: var(--ink-soft, #1F5F66); margin: 0; }
.form-card .form-note.ok { color: #028A96; font-weight: 600; }
.form-card .form-note.err { color: #896406; }
.ok-modal { border: 0; padding: 0; border-radius: 26px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 40px 80px -30px rgba(1, 15, 42, .6); font-family: "Inter", system-ui, sans-serif; color: #0A1C38; }
.ok-modal::backdrop { background: rgba(1, 15, 42, .55); backdrop-filter: blur(4px); }
.ok-modal .in { padding: 34px 28px 26px; text-align: center; }
.ok-modal .tick { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #5DD6A1, #07838E 55%, #AC7D02); box-shadow: 0 14px 30px -10px rgba(7, 131, 142, .7); }
.ok-modal .tick svg { width: 32px; height: 32px; }
.ok-modal h3 { margin: 0 0 8px; font-size: 22px; }
.ok-modal p { margin: 0 0 6px; color: #1F5F66; font-size: 15px; }
.ok-modal .acts { display: grid; gap: 10px; margin-top: 20px; }
.ok-modal .acts a, .ok-modal .acts button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 999px; font: 600 15px "Inter", system-ui, sans-serif; text-decoration: none; cursor: pointer; border: 0; }
.ok-modal .wa { background: #1FA855; color: #fff; }
.ok-modal .dl { background: #E5F6F8; color: #066770; }
.ok-modal .close { background: none; color: #1F5F66; }
@media (prefers-reduced-motion: reduce) { .mega { animation: none; } }

/* ---------- Generated pages ---------- */
.pg-hero { padding: 120px 0 72px; margin-top: -78px; }
.crumbs { font-size: 13.5px; color: #79C4CD; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: #B3E0E6; text-decoration: none; } .crumbs a:hover { color: #fff; }
.pg-hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #E7B656; }
.pg-hero .eyebrow i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #61CEDB; background: linear-gradient(135deg, rgba(93,214,161,.2), rgba(7,131,142,.28), rgba(172,125,2,.2)); }
.pg-hero .eyebrow i svg { width: 22px; height: 22px; }
.pg-hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.1; letter-spacing: -1px; margin: 18px 0 16px; max-width: 18ch; }
.pg-hero h1 em { font-style: normal; background: linear-gradient(90deg, #5DD6A1, #15ADBC 45%, #CC9613); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-hero .lead { color: #A8DBE2; font-size: clamp(16px, 1.8vw, 19px); max-width: 60ch; }
.pg-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font: 600 15px/1 "Inter", system-ui, sans-serif; color: #fff; text-decoration: none; border: 1.5px solid rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: #fff; }
.pg-sec { padding: 80px 0; }
.pg-sec.alt { background: #ECF9FA; }
.pg-sec h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 10px; }
.pg-sec .sub { color: #1F5F66; max-width: 62ch; margin: 0 0 34px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.feat { background: #fff; border: 1px solid rgba(10,28,56,.09); border-radius: 20px; padding: 22px; box-shadow: 0 16px 34px -26px rgba(4, 77, 84, .35); }
.feat b { display: flex; gap: 10px; align-items: center; font-size: 16.5px; }
.feat b::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #5DD6A1, #07838E, #AC7D02); }
.feat p { margin: 8px 0 0; color: #1F5F66; font-size: 14.5px; }
.pains { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 8px; }
.pains li { list-style: none; padding: 16px 18px; border-radius: 16px; background: #FBF7EF; border: 1px solid #ECDEC3; color: #5E4301; font-size: 15px; }
.pains { padding: 0; }
.steps5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; padding: 0; }
.steps5 li { list-style: none; position: relative; background: #fff; border-radius: 18px; padding: 20px 18px; border: 1px solid rgba(10,28,56,.09); }
.steps5 li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 700; background: linear-gradient(135deg, #07838E, #AC7D02); margin-bottom: 12px; }
.steps5 b { display: block; font-size: 15.5px; }
.steps5 span { display: block; margin-top: 6px; color: #1F5F66; font-size: 14px; }
@media (max-width: 1000px) { .steps5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps5 { grid-template-columns: 1fr; } }
.why4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.why4 div { padding: 22px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.why4 b { display: block; font-size: 16px; color: #fff; }
.why4 span { display: block; margin-top: 6px; color: #93D3DB; font-size: 14.5px; }
.rel { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.rel a { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid rgba(10,28,56,.09); text-decoration: none; color: #0A1C38; transition: border-color .2s, transform .2s; }
.rel a:hover { border-color: #15ADBC; transform: translateY(-2px); }
.rel i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #07838E; background: linear-gradient(135deg, rgba(93,214,161,.14), rgba(7,131,142,.16), rgba(172,125,2,.14)); }
.rel i svg { width: 22px; height: 22px; }
.rel b { font-size: 15px; line-height: 1.3; }
.pg-faq { display: grid; gap: 10px; max-width: 860px; }
.pg-faq details { border-radius: 16px; background: #E5F6F8; padding: 16px 20px; }
.pg-faq summary { cursor: pointer; list-style: none; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; color: #098691; font-size: 22px; line-height: 1; transition: transform .2s; }
.pg-faq details[open] summary::after { transform: rotate(45deg); }
.pg-faq p { margin: 10px 0 0; color: #1F5F66; }
.pg-contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.pg-contact .info h2 { color: #fff; }
.pg-contact .info p { color: #93D3DB; }
.pg-contact .info ul { padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.pg-contact .info li { list-style: none; color: #C5EBF0; }
.pg-contact .info li::before { content: "✓"; color: #15ADBC; font-weight: 700; margin-right: 10px; }
.pg-contact .info .reach { display: grid; gap: 8px; margin-top: 26px; }
.pg-contact .info .reach a { color: #fff; text-decoration: none; font-weight: 600; }
@media (max-width: 900px) { .pg-contact { grid-template-columns: 1fr; } .pg-hero { padding-top: 110px; } }

/* Footer services row (same on every page) */
.foot > .f-svc { grid-column: 1 / -1; padding-bottom: 28px; border-bottom: 1px solid var(--navy-3, #112441); }
.f-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 24px; }
.f-svc h6 { margin: 0 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #15ADBC; }
@media (max-width: 1000px) { .f-svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .f-svc-grid { grid-template-columns: 1fr; } }
/* Links inside the menus keep their own colours (the nav sets all links to ink) */
.nav-links .mega-foot a { color: var(--violet, #098691); font-weight: 600; }
.nav-links .mg a { font-size: inherit; }
/* Menu items line up: dropdown buttons and plain links share one centre line */
.nav-links { align-items: center; }
.nav-links > a, .nav-links .dd-btn { display: inline-flex; align-items: center; height: 38px; line-height: 1; font-size: 14px; font-weight: 500; }

/* legal pages: privacy, terms, data deletion */
.legal-hero { padding-bottom: 56px; }
.legal-hero h1 { max-width: none; }
.legal-hero .updated { color: #6CB4BD; font-size: 14px; margin-top: 10px; }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 96px; font-size: 14px; }
.legal-toc ol { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.legal-toc a { color: #05545C; text-decoration: none; }
.legal-toc a:hover { color: #07838E; }
.legal article { max-width: 72ch; color: #182B49; line-height: 1.7; }
.legal article section { scroll-margin-top: 96px; }
.legal article section + section { margin-top: 36px; }
.legal article h2 { font-size: 22px; margin: 0 0 10px; color: #041530; }
.legal article ul, .legal article ol { padding-left: 20px; display: grid; gap: 8px; }
.legal article a { color: #0B6E78; }
.foot-bottom .legal-links a { color: inherit; text-decoration: none; }
.foot-bottom .legal-links a:hover { color: #fff; }
.form-card .privacy a { color: inherit; }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; }
}

/* How we work page */
.hw { display: grid; gap: 56px; }
.hw-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.hw-head > span { font-family: ui-monospace, Menlo, monospace; font-size: 13px; font-weight: 700; color: #07838E; background: #D3F1F4; border-radius: 10px; padding: 8px 10px; flex: none; }
.hw-head h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 6px; color: #041530; }
.hw-head p { margin: 0; color: #1F5F66; }
.hw-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.hw-card { background: #fff; border: 1px solid #D1EBEE; border-radius: 18px; padding: 20px; box-shadow: 0 10px 30px -18px rgba(25, 44, 74, .25); }
.hw-card b { display: block; color: #041530; margin-bottom: 6px; }
.hw-card p { margin: 0; color: #05545C; font-size: 14.5px; line-height: 1.6; }
.hw-cta { margin-top: 0; padding-top: 72px; }
.hw-link { margin-top: 18px; }
/* Testimonials (shown only when real quotes exist) */
.tms { padding: 80px 0; }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.tm { margin: 0; background: #fff; border: 1px solid #D1EBEE; border-radius: 20px; padding: 22px; }
.tm blockquote { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: #182B49; }
.tm figcaption b { display: block; color: #041530; } .tm figcaption span { font-size: 13px; color: #1F5F66; }
@media (max-width: 640px) { .hw-head { flex-direction: column; gap: 10px; } }

/* Footer sections open on click */
.foot details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; }
.foot details > summary::-webkit-details-marker { display: none; }
.foot details > summary h5 { margin: 0; transition: color .2s; }
.foot details > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid #93D3DB; border-bottom: 2px solid #93D3DB; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.foot details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.foot details[open] > summary { margin-bottom: 14px; }
.foot details > summary:hover h5, .foot details > summary:focus-visible h5 { color: #5DD6A1; }
.foot > details.f-svc:not([open]) { padding-bottom: 20px; }

/* Desktop: footer lists always open, headings are plain titles. Phones: tap a heading to open. */
.foot details > summary:focus { outline: none; }
.foot details > summary:focus-visible { outline: 2px solid #5DD6A1; outline-offset: 4px; border-radius: 6px; }
@media (min-width: 768px) {
  .foot details > summary { cursor: default; pointer-events: none; }
  .foot details > summary::after { display: none; }
  .foot details > summary:hover h5 { color: inherit; }
  .foot > details.f-svc:not([open]) { padding-bottom: 28px; }
}
@media (max-width: 767px) {
  .foot { grid-template-columns: 1fr; gap: 6px; }
  .foot > div:first-child { margin-bottom: 10px; }
  .foot details > summary { padding: 10px 0; width: 100%; justify-content: space-between; }
  .foot details[open] > summary { margin-bottom: 6px; }
  .foot details[open] { padding-bottom: 12px; }
}

/* Menu action: flat emerald button, same as the homepage */
.nav .btn-grad, .mnav .btn-grad { background: #17B3C2; color: #0A1C38; box-shadow: none; }
.nav .btn-grad:hover, .mnav .btn-grad:hover { background: #0DCEDF; }

/* Footer and menu labels: sentence case, readable size, separated by space instead of lines */
.f-svc h6, .mg h6 { text-transform: none; letter-spacing: 0; font-size: 14px; }
footer { border-top: 0; }
.foot > .f-svc, .foot > div:first-child { border-bottom: 0; }
.foot-bottom { border-top: 0; }
.soon { font-size: 12px; }

/* Brand accent: thin emerald → teal → gold strip under the top section and above the footer */
.k-hero { position: relative; }
.k-hero::after, footer::before { content: ""; position: absolute; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #17B3C2, #10A4B1 50%, #F5B301); pointer-events: none; }
.k-hero::after { bottom: 0; }
footer { position: relative; }
footer::before { top: 0; }

/* 2026-11 theme: Manrope headings */
h1,h2,h3,h4,.btn{font-family:"Manrope","Inter",system-ui,sans-serif!important}

/* Industries we serve (homepage + /industries/) */
.k-ind{padding:clamp(64px,7vw,104px) 0;background:var(--k-surface,#EEF5F6)}
.k-ind-page{background:transparent;padding-top:24px}
.k-served{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:28px 32px;margin-top:40px}
.k-served .k-served-g h3{font-family:inherit;line-height:1.3;font-size:15px;letter-spacing:.06em;text-transform:uppercase;color:var(--k-teal,#087B85);margin:0 0 12px!important}
.k-served-g ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.k-served .k-served-g a,.k-served .k-served-g span{display:block;padding:7px 0;border-bottom:1px solid rgba(10,28,56,.08);color:inherit;text-decoration:none;font-weight:500;line-height:1.35}
.k-served-g a:hover{color:var(--k-teal,#087B85);text-decoration:underline;text-underline-offset:3px}
.k-ind .k-ind-more{margin-top:36px!important}
.k-ind-cards a{align-items:flex-start}
.k-ind-cards span{display:flex;flex-direction:column;gap:4px}
.k-ind-cards small{font-weight:400;color:var(--k-muted,#4A5B70);font-size:14px;line-height:1.4}

/* Core offer: custom apps, Power BI, reports, IoT */
.k-core{list-style:none;margin:36px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px}
.k-core a{display:flex;flex-direction:column;gap:6px;height:100%;box-sizing:border-box;padding:20px 22px;border-radius:14px;background:#fff;border:1px solid rgba(8,123,133,.18);border-top:3px solid var(--k-teal,#087B85);color:inherit;text-decoration:none;transition:transform .2s,box-shadow .2s}
.k-core a:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(10,28,56,.08)}
.k-core b{font-size:17px;font-weight:700;color:var(--k-ink,#0A1C38)}
.k-core b::after{content:" →";color:var(--k-teal,#087B85)}
.k-core span{font-size:14.5px;line-height:1.45;color:var(--k-muted,#4A5B70)}
.k-core-tight{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px;max-width:560px}@media(max-width:520px){.k-core-tight{grid-template-columns:1fr}}
.k-ind-page .k-core a{background:var(--k-surface,#EEF5F6)}
.k .k-ind-h2b{margin-top:64px}
