:root {
    --ink: #082f3b;
    --ink-soft: #36535c;
    --navy: #073b4c;
    --blue: #168fcf;
    --blue-pale: #eaf7fd;
    --orange: #ff9418;
    --orange-dark: #dc7410;
    --sand: #fff8ef;
    --paper: #ffffff;
    --line: #dce8eb;
    --radius: 1.25rem;
    --shadow: 0 18px 55px rgba(7, 59, 76, .09);
    --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
section[id], article[id] { scroll-margin-top: 96px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.35rem, 5vw, 4.65rem); margin-bottom: 1.15rem; }
h2 { font-size: clamp(1.75rem, 3.2vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .65rem; }
p { margin-bottom: 1rem; }
.container { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }
.section { padding: clamp(3rem, 4.5vw, 4.75rem) 0; }
.section-soft { background: #f5fafb; }
.section-dark { color: white; background: var(--navy); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .9rem;
    color: var(--blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.eyebrow::before { width: 2rem; height: 2px; content: ""; background: currentColor; }
.section-dark .eyebrow { color: #70cfff; }
.lead { max-width: 760px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.section-dark .lead { color: #d5e8ed; }
.muted { color: var(--ink-soft); }
.sr-only {
    position: absolute;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; z-index: 1000; top: .5rem; left: .5rem; padding: .75rem 1rem; color: white; background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, .93);
    backdrop-filter: blur(14px);
    transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(7, 59, 76, .06); }
.header-inner { display: flex; min-height: 80px; align-items: center; justify-content: space-between; }
.brand { display: block; width: 84px; height: 60px; overflow: hidden; }
.brand img { width: 80px; height: auto; transform: translateY(-3px); }
.main-nav { display: flex; align-items: center; gap: 1.25rem; }
.main-nav > a { font-size: .93rem; font-weight: 700; text-decoration: none; }
.main-nav > a:not(.button):hover, .main-nav > a.is-active:not(.button) { color: var(--blue); }
.menu-toggle { display: none; padding: .6rem; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--ink); }
.button {
    display: inline-flex;
    min-height: 3.4rem;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .9rem 1.35rem;
    border: 2px solid var(--orange);
    border-radius: 999px;
    color: var(--ink);
    background: var(--orange);
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s, background .18s, border-color .18s;
}
.button:hover { border-color: #ffab4d; background: #ffab4d; transform: translateY(-2px); }
.button-secondary { border-color: var(--line); background: white; }
.button-secondary:hover { border-color: var(--blue); background: var(--blue-pale); }
.button-small { min-height: 2.8rem; padding: .65rem 1.1rem; font-size: .87rem !important; }
.button-light { border-color: white; color: var(--navy); background: white; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    padding: clamp(3.5rem, 5.5vw, 5rem) 0 4.5rem;
    background: linear-gradient(135deg, #f7fcfd 0%, #fff 58%, #fff5e8 100%);
}
.hero::before,
.hero::after {
    position: absolute;
    left: 50%;
    width: 132vw;
    height: 31rem;
    border: 3px solid rgba(22, 143, 207, .2);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    transform: translateX(-50%) rotate(-3deg);
}
.hero::before {
    bottom: -26rem;
}
.hero::after {
    bottom: -28.5rem;
    width: 118vw;
    border-color: rgba(255, 148, 24, .18);
    transform: translateX(-50%) rotate(2deg);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 3.5rem; align-items: center; }
.hero h1 span { color: var(--blue); }
.hero-copy { max-width: 750px; }
.hero-proof {
    position: relative;
    padding: 1.6rem;
    border: 1px solid rgba(22, 143, 207, .18);
    border-radius: 2rem;
    background: rgba(255,255,255,.82);
    box-shadow: var(--shadow);
}
.hero-proof::before { position: absolute; top: -10px; right: 2rem; width: 54px; height: 20px; border-radius: 99px; background: var(--orange); content: ""; }
.proof-number { display: block; color: var(--blue); font-size: 3.8rem; font-weight: 850; letter-spacing: -.08em; line-height: 1; }
.proof-row { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.proof-row:last-child { border: 0; padding-bottom: 0; }
.proof-row strong { display: block; font-size: 1.08rem; }
.logo-cloud { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin-top: 1.8rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.client-mark { display: flex; min-height: 95px; align-items: center; justify-content: center; padding: .85rem; color: #566d74; background: white; font-size: .84rem; font-weight: 800; line-height: 1.25; text-align: center; }
.client-mark img { max-width: 125px; max-height: 48px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.client-mark img[src*="edps"], .client-mark img[src*="iteos"] { max-height: 64px; }
.client-mark img[src*="sword"] { filter: brightness(0); }
.client-mark:hover img { filter: grayscale(0); opacity: 1; }
.client-mark:hover img[src*="sword"] { filter: brightness(0); }
.client-mark:hover { color: var(--blue); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.6rem; }
.section-heading > div { max-width: 760px; }
.text-link { color: var(--blue); font-weight: 800; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
    position: relative;
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { border-color: #bcdde8; box-shadow: var(--shadow); transform: translateY(-4px); }
.card-index { display: block; margin-bottom: 1.8rem; color: var(--orange-dark); font-size: .76rem; font-weight: 900; letter-spacing: .12em; }
.card p { color: var(--ink-soft); }
.card a::after { position: absolute; inset: 0; content: ""; }
.card-featured { grid-column: span 2; color: white; background: var(--navy); }
.card-featured p { color: #d5e8ed; }
.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.expertise-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.expertise-card-primary { border-top: 4px solid var(--blue); box-shadow: 0 12px 30px rgba(12, 72, 94, .08); }
.expertise-card h3 { margin-bottom: .7rem; }
.expertise-card p { color: var(--ink-soft); }
.expertise-label { display: block; margin-bottom: 1rem; color: var(--orange-dark); font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tech-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.tech-tags li { padding: .4rem .7rem; border-radius: 999px; color: var(--blue); background: var(--blue-pale); font-size: .78rem; font-weight: 800; }
.expertise-grid-detailed { grid-template-columns: repeat(3, 1fr); }
.technology-vision { display: grid; grid-template-columns: .42fr 1.58fr; gap: 2rem; margin-bottom: 1.2rem; padding: 1.6rem; border-radius: var(--radius); color: white; background: linear-gradient(125deg, var(--navy), #126b87); }
.technology-vision .expertise-label { margin: .25rem 0 0; color: #70cfff; }
.technology-vision h3 { margin-bottom: .65rem; color: white; font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
.technology-vision p { max-width: 850px; margin: 0; color: #d5e8ed; }
.technology-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2rem; padding: 1.5rem 2rem; border-radius: var(--radius); color: white; background: var(--navy); }
.technology-cta p { margin: 0; color: #d5e8ed; }
.technology-cta strong { color: white; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.case {
    display: flex;
    min-height: 310px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2.25rem;
    padding: 1.6rem;
    border-radius: var(--radius);
    background: var(--blue-pale);
}
.case:nth-child(2) { background: var(--sand); }
.case:nth-child(3) { color: white; background: var(--navy); }
.case-tag { font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.case h3 { font-size: 1.8rem; }
.case p { color: inherit; opacity: .78; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); }
.metric { padding: 1.7rem 1.5rem 0 0; }
.metric strong { display: block; color: #70cfff; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.06em; line-height: 1; }
.metric span { display: block; margin-top: .7rem; color: #d5e8ed; }
.cta-band { padding: 2.5rem 0; color: white; background: var(--blue); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-inner h2 { max-width: 760px; margin: 0; }
.page-hero { padding: 3rem 0; background: linear-gradient(135deg, #f6fbfc, #fff7ed); }
.page-hero h1 { max-width: 920px; font-size: clamp(2.25rem, 4vw, 3.9rem); }
.page-hero .lead { max-width: 820px; }
.content-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 3.5rem; }
.sticky-intro { align-self: start; position: sticky; top: 120px; }
.service-block { padding: 1.7rem 0; border-top: 1px solid var(--line); }
.service-block:first-child { padding-top: 0; border: 0; }
.service-block ul { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 2rem; padding-left: 1.2rem; color: var(--ink-soft); }
.tech-line { color: var(--blue); font-size: .9rem; font-weight: 750; }
.detail-case { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.detail-case:first-child { padding-top: 0; border: 0; }
.detail-case h2 { font-size: clamp(1.75rem, 2.5vw, 2.5rem); }
.fact-list { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.fact-list li { padding: .45rem .8rem; border-radius: 999px; background: var(--blue-pale); font-size: .82rem; font-weight: 750; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.team-card { min-height: 360px; padding: 2rem; border-radius: var(--radius); background: var(--blue-pale); }
.team-card:nth-child(2) { background: var(--sand); }
.team-photo { display: grid; min-height: 220px; margin: -.75rem -.75rem 1.5rem; place-items: center; align-content: center; gap: .4rem; overflow: hidden; border-radius: 1rem; color: white; background: linear-gradient(145deg, var(--navy), #126b87); }
.team-card:nth-child(2) .team-photo { background: linear-gradient(145deg, #d87210, var(--orange)); }
.team-photo span { font-size: 3rem; font-weight: 900; letter-spacing: -.06em; }
.team-photo small { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.linkedin-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; color: var(--blue); font-weight: 800; }
.linkedin-link.is-disabled { color: var(--ink-soft); font-size: .9rem; opacity: .7; }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3rem; align-items: start; }
.contact-aside { padding: 2rem; border-radius: var(--radius); color: white; background: var(--navy); }
.contact-aside a { display: block; margin: .5rem 0; font-size: 1.15rem; font-weight: 800; }
.wizard { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 1.6rem; background: white; box-shadow: var(--shadow); }
.wizard-progress { height: 5px; margin-bottom: 1.8rem; overflow: hidden; border-radius: 99px; background: var(--line); }
.wizard-progress span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--orange); transition: width .25s; }
.wizard-step[hidden] { display: none; }
.wizard h2 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; }
.option label { display: flex; min-height: 88px; align-items: center; padding: .85rem 1rem; border: 2px solid var(--line); border-radius: 1rem; font-weight: 750; cursor: pointer; transition: border .15s, background .15s; }
.option input:checked + label { border-color: var(--blue); background: var(--blue-pale); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 750; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: .9rem 1rem;
    border: 1px solid #b9ccd2;
    border-radius: .7rem;
    color: var(--ink);
    background: white;
}
.field textarea { min-height: 135px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(22, 143, 207, .18); border-color: var(--blue); }
.consent-label { display: flex !important; align-items: flex-start; gap: .65rem; font-weight: 500 !important; cursor: pointer; }
.consent-label input { width: auto; flex: 0 0 auto; margin: .32rem 0 0; padding: 0; }
.consent-label span { min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wizard-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.form-status { padding: 1rem; border-radius: .7rem; background: var(--blue-pale); }
.honeypot { position: absolute; left: -10000px; }
.legal { max-width: 820px; }
.legal h2 { margin-top: 2.5rem; font-size: 1.8rem; }
.site-footer { padding: 2.5rem 0 1.25rem; color: #d8e8ec; background: #052d39; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
.footer-grid h2 { color: white; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a { display: block; margin-bottom: .4rem; text-decoration: none; }
.footer-grid a:hover { color: #70cfff; }
.footer-brand { color: white; font-size: 1.5rem; font-weight: 900; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .main-nav { position: fixed; inset: 80px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 2rem; border-bottom: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
    .main-nav.is-open { display: flex; }
    .main-nav > a { padding: .9rem 0; }
    .main-nav .button { margin-top: .6rem; }
    .hero { min-height: 0; }
    .hero-grid, .contact-layout, .content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-proof { max-width: 520px; }
    .hero::before { bottom: -28rem; width: 165vw; }
    .hero::after { bottom: -30rem; width: 145vw; }
    .logo-cloud { grid-template-columns: repeat(3, 1fr); }
    .cards, .case-grid { grid-template-columns: 1fr 1fr; }
    .expertise-grid-detailed { grid-template-columns: repeat(2, 1fr); }
    .card-featured { grid-column: auto; }
    .case:last-child { grid-column: 1 / -1; min-height: 280px; }
    .metrics { grid-template-columns: 1fr 1fr; }
    .sticky-intro { position: static; }
    .detail-case { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 620px) {
    html { scroll-padding-top: 84px; }
    section[id], article[id] { scroll-margin-top: 84px; }
    .container { width: min(calc(100% - 1.5rem), var(--container)); }
    .section { padding: 2.75rem 0; }
    .header-inner { min-height: 72px; }
    .brand { width: 74px; height: 54px; }
    .brand img { width: 71px; }
    .main-nav { inset-block-start: 72px; }
    .hero { padding-top: 2.75rem; }
    .hero-grid { gap: 2rem; }
    .hero-proof { padding: 1.5rem; }
    .logo-cloud { grid-template-columns: 1fr 1fr; }
    .client-mark { min-height: 90px; }
    .section-heading, .cta-inner { align-items: flex-start; flex-direction: column; }
    .cards, .case-grid, .team-grid, .option-grid, .field-row { grid-template-columns: 1fr; }
    .expertise-grid, .expertise-grid-detailed { grid-template-columns: 1fr; }
    .technology-vision { grid-template-columns: 1fr; gap: .75rem; }
    .technology-cta { align-items: flex-start; flex-direction: column; }
    .case, .case:last-child { min-height: 250px; grid-column: auto; }
    .metrics { grid-template-columns: 1fr; }
    .metric { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
    .service-block ul { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
