@font-face {
  font-family: Lexend;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/lexend-variable.woff2') format('woff2');
}

:root {
  --violet: #463a86;
  --lilac: #9e93c1;
  --gray: #aeabbc;
  --hover: #2f1bec;
  --fuchsia: #e017c1;
  --yellow: #f3b22a;
  --ink: #29253b;
  --muted: #676276;
  --paper: #f5f4f8;
  --line: #dfdce9;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Lexend, sans-serif; font-weight: 300; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; transition: color .2s, background .2s, transform .2s; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--hover); outline-offset: 6px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 350; }
h1, h2 { line-height: 1.1; letter-spacing: -2.6px; }
h2 { font-size: clamp(40px, 4.5vw, 66px); color: var(--violet); margin-bottom: 30px; }
em { font-style: normal; color: var(--lilac); }
p { font-size: 15px; line-height: 1.9; color: var(--muted); }
::selection { background: var(--lilac); color: #fff; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 15px; background: #fff; z-index: 100; }
.skip-link:focus { top: 10px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; min-height: 106px; display: flex; align-items: center; gap: 16px; padding: 8px 3%; background: #fff; border-bottom: 1px solid #efedf3; }
.brand { flex-shrink: 0; }
.brand img { width: 110px; height: 88px; object-fit: contain; }
.site-header #navigation { display: flex; align-items: center; gap: 6px; margin-left: auto; font-size: clamp(13px, .95vw, 18px); font-weight: 450; color: var(--violet); }
.site-header #navigation > a { padding: 12px 13px; border-radius: 30px; white-space: nowrap; background: var(--paper); }
.site-header #navigation > .nav-contact { background: var(--violet); padding: 11px 17px; font-size: inherit; }
.site-header #navigation > a:hover { background: #ece8f7; color: var(--hover); }
.site-header #navigation > .nav-contact:hover { background: var(--hover); }
.site-header nav a:hover { color: var(--hover); }
.nav-contact { background: var(--violet); color: #fff !important; border-radius: 30px; padding: 16px 23px; display: flex; gap: 25px; align-items: center; }
.nav-contact:hover { background: var(--hover); }
.nav-contact span { font-size: 20px; }
.menu-toggle { display: none; }
.language-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 30px; flex-shrink: 0; }
.language-option { display: grid; place-items: center; min-width: 35px; min-height: 35px; border-radius: 50%; color: var(--violet); font-size: 11px; font-weight: 500; }
.language-option[aria-current="page"] { background: var(--violet); color: #fff; }
.language-option:hover { background: var(--hover); color: #fff; }

/* A content-sized hero keeps the action inside the image at every width. */
.hero { margin: 12px 14px 0; min-height: 660px; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); background: #1e173f; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-image { object-fit: cover; object-position: center 55%; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, #191239db, #1e144159 65%, #1e144110); }
.hero-content { width: 100%; max-width: 1600px; margin: auto; padding: clamp(48px, 5vw, 90px) clamp(28px, 6vw, 100px) 58px; }
.eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 1.8px; line-height: 1.6; margin: 0 0 30px; color: var(--violet); }
.eyebrow.light { color: #ddd5f3; }
.hero h1 { font-size: clamp(48px, 5.25vw, 92px); max-width: 1380px; margin-bottom: 28px; }
.hero h1 > span { display: block; }
.hero h1 em { color: #c4b5ea; }
.hero-description { font-size: 16px; line-height: 1.85; color: #e6e0ef; max-width: 560px; margin-bottom: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 17px 23px; border-radius: 30px; font-size: 12px; font-weight: 450; }
.button-white { background: #fff; color: var(--violet); }
.button-white:hover { color: #fff; background: var(--hover); transform: translateY(-2px); }
.button-primary { background: var(--violet); color: #fff; }
.button-primary:hover { background: var(--hover); color: #fff; transform: translateY(-2px); }
.button .arrow-circle { display: inline-grid; place-items: center; width: 29px; height: 29px; flex-shrink: 0; border-radius: 50%; background: var(--yellow); color: var(--violet); font-size: 19px; line-height: 1; font-family: Arial, sans-serif; }
.arrow-circle svg { display: block; width: 13px; height: 12px; }
.button { max-width: 100%; text-align: left; line-height: 1.6; }
.hero-bottom { position: relative; margin: 0 6% 26px; font-size: 9px; letter-spacing: 1.8px; border-top: 1px solid #ffffff38; padding-top: 20px; }
.hero-bottom:after { content: ''; position: absolute; right: 0; top: -2px; width: 48px; height: 3px; background: var(--yellow); }

/* Shared sections */
.section { padding: 85px max(6%, calc((100% - 1300px)/2)); }
.section-label { display: flex; justify-content: space-between; gap: 20px; font-size: 9px; letter-spacing: 1.6px; color: var(--violet); font-weight: 450; margin-bottom: 55px; }
.section-label > span:first-child { display: flex; align-items: center; gap: 10px; }
.section-label > span + span { color: #80798f; }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.company-copy { padding-top: 4px; max-width: 520px; }
p.lead { font-size: 23px; line-height: 1.5; color: var(--violet); letter-spacing: -.5px; margin-bottom: 22px; }
.expertise-strip { margin-top: 60px; border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: var(--violet); font-size: 11px; }
.expertise-strip span:before { content: '/'; font-size: 17px; margin-right: 12px; color: var(--fuchsia); }

/* I+D: each image belongs to the subject it illustrates. */
.technology { background: var(--paper); }
.section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-bottom: 55px; }
.section-intro p { max-width: 330px; margin-bottom: 30px; }
.technology-chapters { border-top: 1px solid #d5d1e2; }
.tech-chapter { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6%; padding: 60px 0; border-bottom: 1px solid #d5d1e2; scroll-margin-top: 0; }
.tech-chapter:last-child { padding-bottom: 0; border-bottom: 0; }
.chapter-image { margin: 0; min-width: 0; align-self: stretch; display: flex; }
.chapter-image img { width: 100%; height: 100%; min-height: 420px; max-height: 600px; object-fit: cover; border-radius: var(--radius); }
.chapter-copy { min-width: 0; }
.chapter-kicker { font-size: 8px; font-weight: 450; letter-spacing: 1.2px; color: var(--violet); display: flex; align-items: center; gap: 15px; margin-bottom: 22px; line-height: 1.5; }
.chapter-copy h3 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.2; color: var(--violet); letter-spacing: -1.2px; margin-bottom: 24px; }
.chapter-copy p:not(.chapter-kicker) { font-size: 13px; line-height: 1.9; margin-bottom: 16px; }
.chapter-points { list-style: none; padding: 0; margin: 23px 0 0; }
.chapter-points li { position: relative; padding: 0 0 10px 15px; font-size: 11px; line-height: 1.7; color: var(--violet); }
.chapter-points li:before { content: '/'; position: absolute; left: 0; top: 0; color: var(--fuchsia); font-weight: 500; }
.tech-chapter.reverse .chapter-image { grid-column: 2; grid-row: 1; }
.tech-chapter.reverse .chapter-copy { grid-column: 1; grid-row: 1; }

/* Independent services: a continuous background across both halves. */
.feature-section { display: grid; grid-template-columns: 1fr 1fr; margin: 14px; border-radius: var(--radius); overflow: hidden; }
.feature-copy { padding: 64px 10% 55px; min-width: 0; }
.feature-copy > .button { margin-top: 26px; }
.feature-visual { display: flex; align-items: center; justify-content: center; padding: 50px; min-width: 0; background: transparent; }
.feature-visual img { width: 100%; height: auto; object-fit: contain; }
.content-section { background: var(--violet); }
.content-visual img { border-radius: var(--radius); }
.cas-section { background: var(--violet); }
.cas-copy { color: #fff; }
.cas-copy h2 { color: #fff; font-size: clamp(40px, 4.4vw, 65px); }
.cas-copy h2 em { color: #c9bee4; }
.cas-intro { color: #e4deef; font-size: 15px; max-width: 450px; line-height: 1.8; margin-bottom: 29px; }
.cas-detail { border-top: 1px solid #ffffff30; padding-top: 18px; margin-top: 18px; max-width: 440px; }
.cas-detail h3 { font-size: 16px; font-weight: 450; margin-bottom: 7px; }
.cas-detail p { font-size: 12px; color: #e4deef; line-height: 1.9; margin-bottom: 0; }
.cas-copy .button { margin-top: 28px; }
.cas-visual { min-height: 520px; }
.cas-visual > img { position: relative; width: min(86%, 415px); height: auto; filter: drop-shadow(15px 25px 16px #463a8622); transform: rotate(-7deg); }

/* Official group brands */
.group-block { width: 100%; padding: 0 0 50px; }
.adaltra-logo { width: 300px; height: auto; margin-bottom: 34px; }
.group-story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 9%; align-items: center; }
.group-story h2, .group-story h3 { font-size: clamp(35px, 3.8vw, 54px); font-weight: 350; line-height: 1.15; letter-spacing: -2px; color: var(--violet); margin: 0; }
.group-story p { max-width: 480px; }
.ek-block { border-top: 1px solid var(--line); padding: 50px 0 0; }
.ek-logo { width: 540px; height: auto; max-width: 100%; margin-bottom: 34px; }

/* Contact and corporate violet footer */
.contact { background: #eeebf5; padding-top: 65px; padding-bottom: 70px; }
.contact .section-label { margin-bottom: 45px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10%; align-items: end; }
.contact h2 { font-size: clamp(54px, 6vw, 82px); margin-bottom: 28px; }
.contact-email { font-size: clamp(14px, 1.4vw, 20px); }
.contact-details { max-width: 360px; }
.contact-details .eyebrow { font-size: 10px; margin-bottom: 20px; }
.contact-details p { font-size: 13px; }
.site-footer { background: #463a86; color: #fff; padding: 55px 6% 25px; }
.footer-main { display: grid; grid-template-columns: 1fr 1.2fr .8fr; gap: 8%; align-items: start; }
.footer-adaltra { display: block; width: 240px; height: auto; max-width: 100%; margin-top: 5px; }
.footer-adaltra img { width: 100%; height: auto; }
.footer-address .eyebrow { color: #ddd5ef; font-size: 9px; margin-bottom: 16px; }
.footer-address address { font-style: normal; font-size: 12px; line-height: 1.9; color: #f0ecf8; margin-bottom: 16px; }
.footer-address > a { font-size: 12px; color: #f0ecf8; }
.footer-links { display: flex; flex-direction: column; gap: 18px; font-size: 11px; }
.footer-button { padding: 10px 16px; border: 1px solid #ffffff55; color: #fff; font-size: 11px; justify-content: center; }
.footer-button:hover { background: #ffffff14; }
.footer-links .footer-button { align-self: flex-start; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid #ffffff35; margin-top: 40px; padding-top: 22px; color: #e1dcec; font-size: 10px; }
.footer-bottom p { color: inherit; font-size: 10px; margin: 0; }

@media (max-width: 1100px) {
  .site-header { gap: 10px; padding-inline: 2%; }
  .site-header #navigation > a { padding-inline: 10px; }
  .hero h1 { font-size: clamp(46px, 5.2vw, 64px); }
  .feature-copy { padding: 50px 8%; }
  .feature-visual { padding: 35px; }
  .tech-chapter { gap: 5%; }
  .chapter-image img { min-height: 470px; }
  .chapter-copy h3 { font-size: 30px; }
}

@media (max-width: 1080px) {
  html { scroll-padding-top: 88px; }
  .site-header { height: 82px; min-height: 82px; padding: 5px 6%; gap: 14px; }
  .brand img { width: 85px; height: 68px; }
  .menu-toggle { order: 3; display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--violet); border: 0; background: none; font-size: 12px; }
  .language-switch { margin-left: auto; }
  .menu-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
  .site-header #navigation { display: none; position: absolute; top: 82px; left: 0; right: 0; background: #fff; padding: 20px 6% 25px; box-shadow: 0 15px 20px #241c3b14; flex-direction: column; align-items: stretch; gap: 7px; font-size: 15px; max-height: calc(100svh - 82px); overflow-y: auto; }
  .site-header #navigation.is-open { display: flex; }
  .site-header #navigation > a { padding: 13px 20px; }
  .site-header #navigation > .nav-contact { padding: 13px 20px; justify-content: space-between; }
  .hero { margin: 8px 8px 0; min-height: 620px; }
  .hero-image { object-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, #191239eb, #19123966); }
  .hero-content { padding: 48px 7% 45px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 30px; }
  .hero h1 { font-size: clamp(39px, 8.8vw, 62px); letter-spacing: -1.8px; line-height: 1.12; }
  .hero-description { font-size: 13px; max-width: 400px; line-height: 1.9; }
  .button { font-size: 11px; padding: 16px 19px; gap: 20px; }
  .hero-bottom { margin: 0 7% 24px; font-size: 8px; letter-spacing: 1px; }
  .section { padding: 55px 7%; }
  .section-label { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 35px; }
  .section-label > span + span { display: none; }
  .group .section-label { flex-wrap: wrap; gap: 14px; }
  .group .section-label > span + span { display: inline; }
  .company-grid { grid-template-columns: 1fr; gap: 12px; }
  h2 { font-size: 42px; letter-spacing: -1.8px; }
  .company-copy { max-width: none; }
  .company-copy p.lead { font-size: 20px; }
  .company-copy p { font-size: 13px; }
  .expertise-strip { flex-wrap: wrap; gap: 15px; margin-top: 30px; font-size: 10px; }
  .expertise-strip span:before { margin-right: 8px; }
  .section-intro { display: block; margin-bottom: 30px; }
  .section-intro p { max-width: 400px; font-size: 13px; }
  .tech-chapter { grid-template-columns: 1fr; gap: 28px; padding: 35px 0; }
  .chapter-image img { height: auto; min-height: 0; max-height: none; aspect-ratio: 3/2; object-fit: cover; }
  .tech-chapter.reverse .chapter-image, .tech-chapter.reverse .chapter-copy { grid-column: auto; grid-row: auto; }
  .chapter-kicker { font-size: 7px; letter-spacing: 1px; gap: 12px; margin-bottom: 18px; }
  .chapter-copy h3 { font-size: 30px; letter-spacing: -1px; margin-bottom: 20px; }
  .chapter-copy p:not(.chapter-kicker) { font-size: 13px; }
  .chapter-points li { font-size: 11px; }
  .feature-section { grid-template-columns: 1fr; margin: 8px; }
  .feature-copy { padding: 40px 7%; }
  .feature-visual { padding: 30px 7%; }
  .content-visual { padding-bottom: 0; }
  .cas-copy h2 { font-size: 43px; }
  .cas-intro { font-size: 14px; }
  .cas-detail p { font-size: 12px; }
  .cas-visual { min-height: 380px; padding: 20px 7% 45px; }
  .cas-visual > img { width: 290px; }
  .group-story { grid-template-columns: 1fr; gap: 20px; }
  .group-story h2, .group-story h3 { font-size: 36px; letter-spacing: -1.5px; }
  .group-story p { font-size: 13px; }
  .group-block { padding-bottom: 35px; }
  .ek-block { padding-top: 35px; padding-bottom: 0; }
  .adaltra-logo, .ek-logo { margin-bottom: 22px; }
  .adaltra-logo { width: 245px; }
  .ek-logo { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact h2 { font-size: 49px; }
  .contact-email { font-size: 14px; gap: 20px; }
  .contact-details { max-width: none; }
  .site-footer { padding: 42px 7% 25px; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; }
  .footer-adaltra { width: 230px; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 22px; }
  .footer-bottom { align-items: flex-start; font-size: 9px; gap: 25px; }
  .footer-bottom p { font-size: 9px; max-width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
