/* Foundation */
@font-face {
    font-family: Montserrat;
    src: url('/Fonts/Montserrat.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --navy: #0b1d33;
    --navy-dark: #081729;
    --blue: #216de0;
    --ink: #13253b;
    --text: #58677a;
    --muted: #f3f6fa;
    --line: #e0e6ed;
    --page-width: 1180px;
    --page-gutter: clamp(22px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy-dark); color: var(--text); font: 16px/1.7 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
main { background: #fff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .button, .nav, .eyebrow { font-family: Montserrat, system-ui, sans-serif; }
h1, h2, h3 { color: var(--ink); line-height: 1.14; }
a { color: var(--blue); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 2 * var(--page-gutter)), var(--page-width)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link:focus { position: fixed; z-index: 30; padding: 12px; background: #fff; }

/* Header and navigation */
.site-header { position: fixed; top: 0; left: 0; z-index: 10; width: 100%; border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s, box-shadow .25s, backdrop-filter .25s; }
.header__inner { display: flex; min-height: 100px; align-items: center; justify-content: space-between; transition: min-height .25s; }
.brand { display: flex; align-items: center; gap: 15px; }
.brand > img:first-child { width: 42px; height: 55px; transition: width .25s, height .25s; }
.brand__wordmark { width: 148px; height: auto; padding-left: 15px; border-left: 1px solid rgba(255, 255, 255, .32); transition: width .25s; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.button), .nav-services > summary { color: rgba(255, 255, 255, .84); font-size: 12px; font-weight: 550; text-decoration: none; }
.nav > a:not(.button):hover, .nav-services > summary:hover { color: #fff; }
.menu-toggle { display: none; }

.site-header.is-scrolled { border-color: rgba(255, 255, 255, .08); background: rgba(8, 23, 41, .94); box-shadow: 0 5px 20px rgba(8, 23, 41, .12); backdrop-filter: blur(12px); }
.site-header.is-scrolled .header__inner { min-height: 66px; }
.site-header.is-scrolled .brand > img:first-child { width: 32px; height: 42px; }
.site-header.is-scrolled .brand__wordmark { width: 128px; }
.site-header.is-scrolled .nav__cta { min-height: 37px; padding-block: 8px; }

.nav-services { position: relative; }
.nav-services > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.nav-services > summary::-webkit-details-marker { display: none; }
.nav-services > summary > span { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav-services[open] > summary > span { transform: translateY(2px) rotate(225deg); }
.nav-services__menu { position: absolute; top: calc(100% + 17px); left: -16px; z-index: 12; width: 265px; padding: 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 7px; background: #0c2038; box-shadow: 0 16px 40px rgba(0, 0, 0, .2); }
.nav-services__menu::before { position: absolute; right: 0; bottom: 100%; left: 0; height: 18px; content: ''; }
.nav-services__menu > a { display: block; padding: 9px 11px; border-radius: 4px; color: rgba(255, 255, 255, .82); font-size: 12px; text-decoration: none; }
.nav-services__menu > a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-services__menu > a:first-child { margin-bottom: 5px; padding-bottom: 11px; border-bottom: 1px solid rgba(255, 255, 255, .1); }

/* Buttons and shared content */
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 13px 19px; border: 1px solid transparent; border-radius: 5px; font-size: 12px; font-weight: 650; text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(109, 166, 255, .7); outline-offset: 3px; }
.button--primary { background: var(--blue); color: #fff; }
.button--primary:hover { background: #1558c0; }
.button--outline { border-color: rgba(255, 255, 255, .45); color: #fff; }
.button--light { background: #fff; color: var(--navy); }
.nav__cta { min-height: 42px; padding: 10px 15px; font-size: 11px; }
.eyebrow { margin-bottom: 16px; color: var(--blue); font-size: 10px; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow--light { color: #a4c4ff; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 13px; font-weight: 600; text-decoration: none; }
.section { padding-block: clamp(48px, 6vw, 76px); }
.section--muted { background: var(--muted); }
.section-heading { max-width: 720px; margin-bottom: 30px; }
.section-heading h2 { margin-bottom: 17px; font-size: clamp(30px, 4vw, 45px); letter-spacing: -.035em; }
.section-heading > p:last-child:not(.eyebrow) { max-width: 660px; margin-bottom: 0; }
.two-column, .contact-layout { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1fr); gap: clamp(45px, 9vw, 120px); }
.two-column .section-heading { margin-bottom: 18px; }
.split-heading { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.1fr); gap: clamp(50px, 10vw, 135px); }
.split-heading > .section-heading { position: sticky; top: 86px; align-self: start; }
.body-copy p { font-size: 15px; }

/* Homepage hero */
.hero { position: relative; display: flex; min-height: 100vh; min-height: 100svh; min-height: 100dvh; align-items: center; overflow: hidden; background: var(--navy-dark); }
.hero::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 23, 41, .34), rgba(8, 23, 41, .5) 52%, rgba(8, 23, 41, .76)); content: ''; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media img { object-position: 72% center; filter: saturate(.65) contrast(.88); opacity: .35; }
.hero__content { position: relative; z-index: 1; padding-top: 85px; }
.hero h1 { max-width: 820px; margin-bottom: 22px; color: #fff; font-size: clamp(40px, 4vw, 56px); line-height: 1.08; letter-spacing: -.025em; }
.hero h1 span { color: #b5d0ff; }
.hero__content > p:not(.eyebrow) { max-width: 640px; margin-bottom: 35px; color: rgba(255, 255, 255, .78); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .button { min-height: 47px; padding: 12px 22px; border-radius: 6px; background: transparent; font-size: 14px; font-weight: 600; }
.hero__actions .button:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .1); transform: none; }

/* Page headings */
.page-hero { padding: clamp(155px, 18vw, 184px) 0 68px; background-color: var(--navy-dark); background-image: linear-gradient(90deg, rgba(8, 23, 41, .91), rgba(8, 23, 41, .79) 58%, rgba(8, 23, 41, .62)), url('/Images/Hero/hero-1920x1080.webp'); background-position: center, 72% center; background-size: cover; }
.page-hero h1 { max-width: 840px; margin-bottom: 22px; color: #fff; font-size: clamp(39px, 5.6vw, 62px); letter-spacing: -.045em; }
.page-hero__copy > p:last-child { max-width: 710px; margin-bottom: 0; color: rgba(255, 255, 255, .77); }

/* Service cards and details */
.icon-badge { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(33, 109, 224, .14); border-radius: 11px; background: rgba(33, 109, 224, .055); color: var(--blue); }
.icon-badge svg { width: 22px; height: 22px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; min-height: 230px; flex-direction: column; padding: 23px 22px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.service-card:hover, .related-card:hover { transform: translateY(-3px); border-color: #bbcceb; box-shadow: 0 15px 34px rgba(11, 29, 51, .07); }
.service-card h3 { margin: 18px 0 10px; font-size: 17px; }
.service-card p { flex: 1; font-size: 13px; }
.service-accordion-list { display: none; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 16px 0 16px 20px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; }
.feature-list li::before { display: inline-block; margin-left: -20px; margin-right: 11px; color: var(--blue); content: '+'; }
.service-outcomes { margin-top: 23px; padding-top: 17px; border-top: 1px solid var(--line); }
.service-outcomes h3 { margin-bottom: 9px; font-size: 14px; }
.service-outcomes ul { display: grid; gap: 7px; margin: 0; padding-left: 18px; font-size: 13px; }
.service-outcomes li::marker, .managed-model > ul li::marker { color: var(--blue); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.related-card { padding: 25px; border: 1px solid var(--line); border-radius: 5px; background: #fff; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.related-card h3 { font-size: 16px; }

/* Managed IT */
.managed-models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.managed-model { padding: 24px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.managed-model__heading { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.managed-model__label { margin: 0 0 3px; color: var(--text); font-size: 11px; }
.managed-model__heading h3 { margin: 0; font-size: 21px; }
.managed-model > p { font-size: 14px; }
.managed-model > ul { display: grid; gap: 9px; margin: 19px 0; padding-left: 18px; color: var(--ink); font-size: 13px; }
.managed-model__fit { margin: 20px 0 0; padding-top: 15px; border-top: 1px solid var(--line); }
.managed-comparison { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.managed-comparison table { width: 100%; border-collapse: collapse; font-size: 13px; }
.managed-comparison th, .managed-comparison td { padding: 16px 19px; border-bottom: 1px solid var(--line); text-align: left; }
.managed-comparison thead th { background: #edf2f9; color: var(--ink); }
.managed-comparison tbody th { width: 27%; color: var(--ink); font-weight: 600; }
.managed-comparison tbody tr:last-child th, .managed-comparison tbody tr:last-child td { border-bottom: 0; }
.managed-comparison__note { margin: 16px 0 0; font-size: 13px; }
.scenario-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.scenario-list article { padding-top: 15px; border-top: 2px solid var(--blue); }
.scenario-list h3 { font-size: 16px; }
.scenario-list p { margin: 0; font-size: 13px; }

/* About and consultation banner */
.process-list { border-top: 1px solid var(--line); }
.process-step { padding: 18px 0; border-bottom: 1px solid var(--line); }
.process-step h3 { margin-bottom: 7px; font-size: 17px; }
.process-step p { margin: 0; font-size: 14px; }
.local-section { padding-top: 0; }
.local-section > .container { padding-top: 43px; border-top: 1px solid var(--line); }
.local-section .section-heading { margin-bottom: 16px; }
.cta-band { background: #114798; color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 15px; }
.cta-band h2 { max-width: 660px; margin-bottom: 9px; color: #fff; font-size: clamp(20px, 3.5vw, 36px); white-space: nowrap; }
.cta-band__inner > div > p:last-child { margin-bottom: 0; color: rgba(255, 255, 255, .79); font-size: 14px; }
.cta-band .button { flex-shrink: 0; }

/* Consultation form */
.contact-methods { display: grid; gap: 19px; margin-top: 36px; }
.contact-methods > a { color: var(--ink); font-size: 14px; font-weight: 550; text-decoration: none; }
.whatsapp-qr { display: flex; align-items: center; gap: 15px; padding: 10px 15px 10px 10px; border: 1px solid rgba(33, 109, 224, .2); border-radius: 6px; background: rgba(33, 109, 224, .045); }
.whatsapp-qr > img { width: 96px; height: 96px; padding: 5px; border-radius: 5px; background: #fff; }
.whatsapp-qr__icon { display: none; }
.whatsapp-qr__copy { display: flex; flex: 1; flex-direction: column; gap: 5px; }
.whatsapp-qr__copy > strong { color: var(--ink); font-size: 13px; }
.whatsapp-qr__copy > span { color: var(--text); font-size: 11px; }
.whatsapp-qr__mobile { display: none; }
.contact-card { padding: 35px; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 6px; background: #fafbfd; }
.contact-card > h2 { margin-bottom: 7px; font-size: 23px; }
.contact-card > p { font-size: 13px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.form-field { margin-top: 18px; }
.form-field > label, .interests > legend { display: block; margin-bottom: 6px; color: var(--ink); font-size: 12px; font-weight: 600; }
.form-field > label > span, .interests > legend > span { color: var(--text); font-weight: 400; }
.form-field > input, .form-field > textarea { width: 100%; padding: 10px 11px; border: 1px solid #cdd6e1; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; }
.form-field > input:focus, .form-field > textarea:focus { outline: 2px solid rgba(33, 109, 224, .2); border-color: var(--blue); }
.interests { min-width: 0; padding: 0; border: 0; }
.interests__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 11px; }
.interests__grid label { display: flex; align-items: flex-start; gap: 7px; color: var(--ink); font-size: 11px; }
.interests__grid input { margin-top: 4px; accent-color: var(--blue); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#contact-turnstile { margin-top: 15px; }
.contact-form > .button { margin-top: 19px; }
.form-note, .lee-form-status { font-size: 11px; }
.lee-form-status--success { color: #16703a; }
.lee-form-status--error { color: #b42318; }

/* Privacy and footer */
.legal-copy { max-width: 770px; }
.legal-copy h2 { margin-top: 35px; font-size: 21px; }
.legal-copy > p { font-size: 14px; }
.footer { background: var(--navy-dark); color: rgba(255, 255, 255, .67); }
.footer__main { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 30px 23px; }
.footer__identity > p { max-width: 510px; margin: 13px 0 0; font-size: 12px; }
.footer__contact { display: flex; align-items: flex-end; flex-direction: column; gap: 5px; }
.footer__contact > a, .footer__location { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; color: rgba(255, 255, 255, .73); font-size: 12px; text-decoration: none; }
.footer__contact svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.footer__contact svg.footer__icon--brand { fill: currentColor; stroke: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 11px; border-top: 1px solid rgba(255, 255, 255, .11); font-size: 11px; white-space: nowrap; }
.footer__bottom a { color: inherit; text-decoration: none; }

/* Tablet */
@media (max-width: 900px) {
    .header__inner { min-height: 84px; }
    .menu-toggle { display: flex; width: 38px; height: 38px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; }
    .menu-toggle > span:not(.sr-only) { width: 23px; height: 2px; background: #fff; }
    .nav { position: absolute; top: 83px; left: 0; display: none; width: 100%; align-items: stretch; flex-direction: column; gap: 0; padding: 12px var(--page-gutter) 23px; background: var(--navy-dark); }
    .site-header.is-scrolled .nav { top: 65px; }
    .nav.is-open { display: flex; }
    .nav > a:not(.button), .nav-services > summary { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .nav-services__menu { position: static; width: 100%; margin: 7px 0; border: 0; box-shadow: none; }
    .nav-services__menu::before { display: none; }
    .nav__cta { align-self: flex-start; margin-top: 17px; }
    .split-heading, .two-column, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .split-heading > .section-heading { position: static; margin-bottom: 0; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-band__inner { align-items: flex-start; flex-direction: column; gap: 21px; }
}

/* Mobile */
@media (max-width: 620px) {
    html.ios-device .hero { min-height: var(--ios-screen-height, calc(100lvh + env(safe-area-inset-bottom, 0px))); }
    html.ios-device .hero__content { display: flex; min-height: 100svh; flex-direction: column; justify-content: center; align-self: flex-start; padding-bottom: max(32px, env(safe-area-inset-bottom, 0px)); }
    .brand > img:first-child { width: 35px; height: 46px; }
    .brand__wordmark { width: 126px; }
    .hero { min-height: 100svh; }
    .hero h1 { font-size: clamp(36px, 9.5vw, 42px); }
    .hero__content > p:not(.eyebrow) { font-size: 15px; }
    .hero__actions { align-items: stretch; flex-direction: column; }
    .service-grid { display: none; }
    .related-grid, .feature-list, .interests__grid, .form-row, .managed-models, .scenario-list { grid-template-columns: 1fr; }
    .service-accordion-list { display: block; border-top: 1px solid var(--line); }
    .service-accordion { border-bottom: 1px solid var(--line); }
    .service-accordion > summary { position: relative; display: flex; min-height: 71px; align-items: center; gap: 13px; padding: 12px 35px 12px 0; color: var(--ink); font-family: Montserrat, system-ui, sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
    .service-accordion > summary::-webkit-details-marker { display: none; }
    .service-accordion > summary::after { position: absolute; right: 4px; color: var(--blue); font-size: 20px; content: '+'; }
    .service-accordion[open] > summary::after { content: '−'; }
    .service-accordion > summary .icon-badge { width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; }
    .service-accordion > summary .icon-badge svg { width: 19px; height: 19px; }
    .service-accordion__content { padding: 0 0 19px 49px; }
    .service-accordion__content > p { margin-bottom: 10px; font-size: 13px; }
    .service-accordion__content > ul { display: grid; gap: 5px; margin: 0 0 12px; padding-left: 17px; font-size: 12px; }
    .service-accordion__content > ul li::marker { color: var(--blue); }
    .page-hero { padding-top: 145px; padding-bottom: 55px; }
    .page-hero h1 { font-size: 41px; }
    .section-heading h2 { font-size: 32px; }
    .contact-card { padding: 24px 19px; }
    .footer__main { align-items: flex-start; flex-direction: column; gap: 18px; padding-block: 25px 18px; }
    .footer__contact { align-items: flex-start; }
    .footer__contact > a, .footer__location { justify-content: flex-start; }
    .footer__bottom { gap: 8px; font-size: clamp(8px, 2.3vw, 11px); }
    .cta-band .button { width: 100%; }
    .cta-band__inner { gap: 8px; padding-block: 11px; }
    .cta-band__inner > div > p:last-child { display: none; }
    .cta-band h2 { margin-bottom: 4px; font-size: clamp(16px, 5.5vw, 32px); }
    .whatsapp-qr { min-height: 54px; padding: 12px 15px; }
    .whatsapp-qr__icon { display: inline-flex; align-items: center; color: var(--ink); }
    .whatsapp-qr__icon svg { width: 23px; height: 23px; fill: currentColor; stroke: none; }
    .whatsapp-qr > img, .whatsapp-qr__desktop { display: none; }
    .whatsapp-qr__mobile { display: block; }
    .managed-model { padding: 22px 18px; }
    .managed-comparison { overflow-x: auto; }
    .managed-comparison table { min-width: 570px; }
    .scenario-list { gap: 21px; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
