@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

@font-face { font-family: 'GT Walsheim'; src: url('fonts/GT-Walsheim-Regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'GT Walsheim'; src: url('fonts/GT-Walsheim-Medium.woff') format('woff'); font-weight: 600; font-display: swap; }

:root {
	--color-one: #505fb5;
	--color-two: #7a99fc;
	--color-three: #bed2fc;
	--navy: var(--color-one);
	--navy-deep: #414f9e;
	--blue: #505fb5;
	--blue-bright: #7a99fc;
	--teal: var(--color-one);
	--ice: #f2f2f2;
	--white: #fff;
	--ink: #1b2b3a;
	--muted: #607080;
	--line: #d9e1e8;
	--shadow: 0 10px 28px rgba(80, 95, 181, .10);
	--radius: 8px;
	--header-height: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; color: var(--ink); background: var(--white); font-family: 'Roboto', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { border: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: 'GT Walsheim', sans-serif; line-height: 1.12; }
p { margin-bottom: 1rem; }
.container { width: min(100% - 48px, 1280px); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; color: var(--navy); background: var(--white); border-radius: 4px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.animate-elm { opacity: 0; transform: translateY(18px); }
.animate-elm.active { opacity: 1; transform: none; }
.eyebrow { margin-bottom: 14px; color: var(--teal); font-family: 'GT Walsheim', sans-serif; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* Header */
header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-height); transition: background .3s, box-shadow .3s, height .3s; }
header.scrolled, header.menu-open { height: 76px; background: var(--color-one); box-shadow: 0 8px 30px rgba(80, 95, 181, .18); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 238px; }
nav { display: flex; align-items: center; gap: 24px; }
nav > a { color: rgba(255,255,255,.96); font-family: 'GT Walsheim', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .055em; text-shadow: 0 1px 5px rgba(20, 27, 52, .55); text-transform: uppercase; transition: color .2s; }
nav > a:hover, nav > a:focus-visible { color: var(--white); }
nav .nav-login { padding: 11px 17px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }
#btn-menu-mobile { display: none; width: 40px; height: 40px; padding: 8px; cursor: pointer; background: transparent; }
#hamburger, #hamburger::before, #hamburger::after { display: block; width: 24px; height: 2px; position: relative; background: var(--white); transition: .25s; }
#hamburger::before, #hamburger::after { content: ''; position: absolute; left: 0; }
#hamburger::before { top: -7px; }
#hamburger::after { top: 7px; }
.menu-open #hamburger { background: transparent; }
.menu-open #hamburger::before { top: 0; transform: rotate(45deg); }
.menu-open #hamburger::after { top: 0; transform: rotate(-45deg); }

/* Shared controls and headings */
.button { min-height: 52px; padding: 14px 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; font-family: 'GT Walsheim', sans-serif; font-size: .86rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--color-two); }
.button-primary:hover { background: var(--color-one); }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.04); }
.button-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.section-heading { max-width: 760px; margin-bottom: 70px; }
.section-heading.compact { margin-bottom: 34px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .final-cta h2, #contact h2 { margin-bottom: 20px; color: #666; font-size: clamp(2rem, 3.4vw, 3.25rem); letter-spacing: -.025em; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.13rem; }

/* Hero */
#hero { min-height: 700px; height: 98svh; position: relative; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--color-one) url('images/HEADER-TOP-01.jpg') center/cover no-repeat; }
#hero::before { content: ''; position: absolute; inset: 0; background: rgba(122, 153, 252, .72); clip-path: polygon(0 0, 59% 0, 25% 100%, 0 100%); }
#hero::after { display: none; }
.hero-content { position: relative; z-index: 1; padding-top: 70px; }
#hero .eyebrow { color: var(--color-three); }
#hero h1 { max-width: 650px; margin-bottom: 26px; font-size: clamp(2.8rem, 5vw, 4.6rem); letter-spacing: -.035em; text-shadow: 0 2px 14px rgba(35, 46, 96, .2); }
#hero h1 span { color: var(--color-three); }
.hero-intro { max-width: 720px; margin-bottom: 34px; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.scroll-cue { position: absolute; z-index: 2; bottom: 27px; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.72); font-size: .67rem; letter-spacing: .15em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue span { width: 1px; height: 32px; background: rgba(255,255,255,.55); }

/* Service navigation */
.service-navigation { position: relative; z-index: 3; padding: 90px 0 80px; background: var(--white); }
.service-nav-grid { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.service-nav-grid a { min-height: 132px; padding: 22px 17px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; color: var(--navy); border-right: 1px solid var(--line); font-family: 'GT Walsheim', sans-serif; font-size: .94rem; line-height: 1.25; transition: color .2s, background .2s, transform .2s; }
.service-nav-grid a:last-child { border-right: 0; }
.service-nav-grid a:hover { color: var(--white); background: var(--color-one); }
.service-nav-grid span { color: var(--teal); font-size: .72rem; letter-spacing: .13em; }
.service-nav-grid a:hover span { color: var(--color-three); }

/* Services */
.services { padding: 120px 0 130px; background: var(--ice); }
.service-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); align-items: center; gap: clamp(45px, 7vw, 100px); padding: 95px 0; scroll-margin-top: 95px; border-top: 1px solid var(--line); }
.service-detail.reverse .service-visual { order: 2; }
.service-visual { height: min(44vw, 580px); min-height: 430px; position: relative; overflow: hidden; border-radius: var(--radius); }
.service-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,127,140,.16), transparent 55%); }
.service-visual img { width: 100%; height: 100%; object-fit: cover; }
.service-number { display: inline-block; margin-bottom: 20px; color: var(--teal); font-family: 'GT Walsheim', sans-serif; font-size: .78rem; font-weight: 600; letter-spacing: .17em; }
.service-copy h3 { margin-bottom: 14px; color: var(--navy); font-size: clamp(2rem, 3.2vw, 3.15rem); letter-spacing: -.035em; }
.service-tagline { margin-bottom: 22px; color: var(--teal); font-family: 'GT Walsheim', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.service-copy > p:not(.service-tagline):not(.difference) { color: var(--muted); font-size: 1.05rem; }
.service-copy h4 { margin: 28px 0 12px; color: var(--navy); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.service-copy ul { margin: 0 0 25px; padding: 0; list-style: none; }
.service-copy li { position: relative; padding: 8px 0 8px 22px; color: #435667; border-bottom: 1px solid rgba(217,225,232,.75); }
.service-copy li::before { content: ''; position: absolute; top: 18px; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.difference { margin: 26px 0 23px; padding: 18px 20px; color: #555; background: #edf1ff; border-left: 3px solid var(--color-one); border-radius: 0 6px 6px 0; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-family: 'GT Walsheim', sans-serif; font-weight: 600; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }

/* Solutions */
.solutions { position: relative; padding: 120px 0; overflow: hidden; color: var(--white); background: var(--color-one); }
.solutions::before { display: none; }
.section-heading.light h2, .section-heading.light > p:last-child { color: var(--white); }
.section-heading.light > p:last-child { color: rgba(255,255,255,.66); }
.solution-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.solution-card { min-height: 340px; padding: 34px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; background: rgba(255,255,255,.06); transition: background .25s; }
.solution-card:hover { background: rgba(255,255,255,.1); }
.solution-card > span { margin-bottom: auto; color: var(--color-three); font-family: 'GT Walsheim', sans-serif; font-size: .76rem; letter-spacing: .16em; }
.solution-card h3 { margin: 45px 0 12px; font-size: 1.65rem; }
.solution-card p { color: rgba(255,255,255,.68); }
.solution-card .solution-tagline { color: var(--color-three); font-size: .78rem; }

/* Proof */
.why-us { padding: 120px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid article { min-height: 265px; padding: 28px 30px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.proof-grid article:last-child { border-right: 0; }
.proof-grid span { color: var(--teal); font-size: .72rem; letter-spacing: .15em; }
.proof-grid h3 { margin: 55px 0 15px; color: var(--navy); font-size: 1.35rem; }
.proof-grid p { color: var(--muted); }

/* About and team */
.about { padding: 120px 0; background: var(--ice); }
.about-intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 80px; margin-bottom: 70px; }
.about-intro .section-heading { margin-bottom: 0; }
.about-intro > p { color: var(--muted); font-size: 1.15rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { overflow: hidden; background: var(--white); border-radius: 6px; }
.team-card > img { width: 100%; aspect-ratio: 1.42; object-fit: cover; object-position: center 20%; filter: saturate(.78); }
.team-card > div { padding: 27px; }
.team-role { min-height: 38px; margin-bottom: 6px; color: var(--teal); font-family: 'GT Walsheim', sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.team-card h3 { margin-bottom: 12px; color: var(--navy); font-size: 1.65rem; }
.team-summary, .team-card details p { color: var(--muted); }
.team-card details { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.team-card summary { color: var(--blue); cursor: pointer; font-family: 'GT Walsheim', sans-serif; font-weight: 600; }
.team-card details p { margin: 15px 0 0; font-size: .94rem; }

/* Conversion */
.final-cta { padding: 90px 0; color: var(--white); background: var(--color-two); }
.final-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.final-cta .container > div { max-width: 820px; }
.final-cta .eyebrow { color: var(--color-three); }
.final-cta h2 { color: var(--white); }
.final-cta p:last-child { margin-bottom: 0; color: rgba(255,255,255,.76); font-size: 1.08rem; }
.final-cta .button { flex: 0 0 auto; background: var(--white); color: var(--navy); }

/* Contact */
#contact { padding: 110px 0; color: var(--white); background: var(--navy-deep) url('images/BG-CONTACT-CENTER.gif') center/cover no-repeat; }
#contact .container { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(60px, 9vw, 130px); }
#contact .eyebrow { color: var(--color-three); }
#contact h2 { color: var(--white); }
.contact-copy > p:last-child { color: rgba(255,255,255,.7); font-size: 1.08rem; }
#contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#contact-form label { display: block; }
#contact-form label:first-of-type, #contact-form label:nth-of-type(4), #contact-form button, .form-status { grid-column: 1 / -1; }
#contact-form label span { display: block; margin: 0 0 7px 2px; color: rgba(255,255,255,.78); font-size: .85rem; }
#contact-form input, #contact-form textarea { width: 100%; padding: 14px 15px; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid transparent; border-radius: 6px; outline: none; }
#contact-form input:focus, #contact-form textarea:focus { border-color: #9ab1ff; box-shadow: 0 0 0 3px rgba(154,177,255,.2); }
#contact-form label.error input, #contact-form label.error textarea { border-color: #e76363; }
#contact-form button { min-height: 52px; color: var(--white); background: var(--color-one); border-radius: 6px; cursor: pointer; font-family: 'GT Walsheim', sans-serif; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: background .2s; }
#contact-form button:hover { background: #3f4d9e; }
#contact-form button:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 24px; margin: 0; color: var(--color-three); font-size: .9rem; }
.form-status.error { color: #ffb2b2; }
.form-status.success { color: #bff7d7; }

/* Footer */
footer { padding: 65px 0 35px; position: relative; overflow: hidden; color: var(--white); background: var(--white); }
footer::before { content: ''; position: absolute; inset: 0 0 0 auto; width: 65%; background-color: var(--color-one); background-image: url('images/BG-FOOTER-LEFT-NO-REPEAT.gif'); background-position: left center; background-repeat: no-repeat; background-size: auto; }
.footer-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-row.top { padding-bottom: 45px; border-bottom: 1px solid rgba(255,255,255,.13); }
.footer-row.top > a img { width: 235px; }
.footer-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a, .footer-row.bottom a { color: rgba(255,255,255,.7); font-size: .84rem; }
.footer-links a:hover, .footer-row.bottom a:hover { color: var(--white); }
.wrapper-socials { display: flex; gap: 12px; }
.wrapper-socials a { width: 38px; height: 38px; padding: 9px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.wrapper-socials svg { width: 100%; fill: var(--white); }
.footer-row.bottom { padding-top: 28px; justify-content: flex-end; }
.footer-row.bottom p { margin: 0; color: rgba(255,255,255,.5); font-size: .8rem; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.animate-elm { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
	:root { --header-height: 78px; }
	#btn-menu-mobile { display: block; }
	nav { position: fixed; inset: 76px 0 auto; max-height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: rgba(16,37,58,.98); transition: max-height .35s ease; }
	.menu-open nav { max-height: calc(100svh - 76px); overflow-y: auto; }
	nav > a { width: min(100% - 48px, 800px); margin-inline: auto; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
	nav .nav-login { margin-block: 14px 24px; text-align: center; }
	.service-nav-grid { grid-template-columns: repeat(4, 1fr); }
	.service-nav-grid a { border-bottom: 1px solid var(--line); }
	.service-nav-grid a:nth-child(4) { border-right: 0; }
	.service-detail { grid-template-columns: 1fr 1fr; gap: 48px; }
	.proof-grid { grid-template-columns: repeat(2, 1fr); }
	.proof-grid article:nth-child(2) { border-right: 0; }
	.team-grid { gap: 16px; }
}

@media (max-width: 820px) {
	.container { width: min(100% - 32px, 680px); }
	#hero { min-height: 720px; }
	#hero::before { background: rgba(122, 153, 252, .76); clip-path: polygon(0 0, 80% 0, 0 90%, 0 100%); }
	#hero h1 { font-size: clamp(3rem, 13vw, 5rem); }
	.service-navigation, .services, .solutions, .why-us, .about, #contact { padding-block: 85px; }
	.service-nav-grid { grid-template-columns: repeat(2, 1fr); }
	.service-nav-grid a:nth-child(even) { border-right: 0; }
	.service-detail, .service-detail.reverse { grid-template-columns: 1fr; gap: 38px; padding: 70px 0; }
	.service-detail.reverse .service-visual { order: initial; }
	.service-visual { height: 420px; min-height: 0; }
	.solution-grid, .team-grid { grid-template-columns: 1fr; }
	.solution-card { min-height: 280px; }
	.about-intro { grid-template-columns: 1fr; gap: 25px; }
	.final-cta .container { align-items: flex-start; flex-direction: column; gap: 32px; }
	#contact .container { grid-template-columns: 1fr; gap: 40px; }
	.footer-row.top { flex-direction: column; align-items: flex-start; }
	footer { background: var(--white); }
	footer::before { display: none; }
	.footer-links { margin-left: 0; }
	.footer-links a, .footer-row.bottom a, .footer-row.bottom p { color: #666; }
	.wrapper-socials a { border-color: var(--color-two); }
	.wrapper-socials svg { fill: var(--color-one); }
	.footer-row.bottom { justify-content: flex-start; }
}

@media (max-width: 540px) {
	.brand img { width: 195px; }
	#hero { min-height: 680px; }
	#hero::before { clip-path: polygon(0 0, 110% 0, 0 90%, 0 100%); }
	#hero h1 { font-size: clamp(2.7rem, 14vw, 4.1rem); }
	.hero-intro { font-size: 1rem; }
	.hero-actions .button { width: 100%; }
	.scroll-cue { display: none; }
	.service-nav-grid { grid-template-columns: 1fr; }
	.service-nav-grid a, .service-nav-grid a:nth-child(4), .service-nav-grid a:nth-child(even) { min-height: 92px; border-right: 0; }
	.service-visual { height: 300px; }
	.section-heading { margin-bottom: 50px; }
	.section-heading h2, .final-cta h2, #contact h2 { font-size: 2.2rem; }
	.service-copy h3 { font-size: 2rem; }
	.proof-grid { grid-template-columns: 1fr; }
	.proof-grid article, .proof-grid article:nth-child(2) { min-height: 220px; border-right: 0; }
	#contact-form { grid-template-columns: 1fr; }
	#contact-form label { grid-column: 1; }
	.footer-links { gap: 15px; }
	.footer-row.bottom { align-items: flex-start; flex-direction: column; }
}
