:root {
  --navy: #06172a;
  --navy-2: #0b2743;
  --ink: #142235;
  --muted: #617082;
  --line: #e5e9ee;
  --soft: #f5f7f9;
  --white: #ffffff;
  --red: #e62936;
  --red-dark: #c71927;
  --shadow: 0 20px 55px rgba(6, 23, 42, 0.12);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }

.container { width: var(--container); margin-inline: auto; }
.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; left: 16px; top: -60px; padding: 12px 18px; background: var(--navy); color: white; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(6,23,42,.08);
  backdrop-filter: blur(18px);
}

.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; height: auto; object-fit: contain; }
.brand-logo-primary { width: 220px; }
.brand-logo-mark { display: none; width: 50px; }
.brand-logo-negative { width: 230px; }

.primary-nav { display: flex; align-items: center; justify-content: center; gap: 27px; margin-left: auto; }
.primary-nav a { position: relative; padding: 30px 0 26px; color: #2b3847; font-size: 13px; font-weight: 650; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--red); transition: right .22s ease; }
.primary-nav a:hover::after, .primary-nav a.active::after { right: 0; }
.primary-nav a.active { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.language-picker select { appearance: none; border: 0; padding: 10px 25px 10px 10px; color: var(--navy); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%2306172a' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 8px center; font-size: 12px; font-weight: 750; }
.menu-toggle { display: none; margin-left: auto; padding: 8px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--navy); transition: .2s ease; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; gap: 9px; padding: 0 22px; border: 1px solid var(--red); border-radius: 8px; background: var(--red); color: white; font-weight: 750; font-size: 14px; box-shadow: 0 9px 24px rgba(230,41,54,.18); transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); background: var(--red-dark); border-color: var(--red-dark); }
.button::after { content: "→"; }
.button-small { min-height: 40px; padding-inline: 17px; font-size: 12px; }
.button-outline { color: var(--navy); border-color: #aab4bf; background: transparent; box-shadow: none; }
.button-outline:hover { color: white; border-color: var(--navy); background: var(--navy); }
.button-light { color: var(--navy); border-color: white; background: white; box-shadow: none; }
.button-light:hover { color: white; border-color: var(--red); background: var(--red); }

main { min-height: 68vh; }
.page { animation: page-in .35s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }

.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(230,41,54,.08), transparent 25%),
    linear-gradient(120deg, #fff 0 64%, #f4f7fa 64% 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(500px, 1.25fr); min-height: 590px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 80px 22px 78px 0; }
.hero h1, .page-hero h1 { margin: 0; max-width: 730px; color: var(--navy); font-size: clamp(46px, 6.2vw, 78px); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 570px; margin: 26px 0 30px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; height: 100%; min-height: 590px; margin-right: calc((100vw - min(1180px, calc(100vw - 40px))) / -2); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, white 0, rgba(255,255,255,.08) 23%, transparent 55%), linear-gradient(0deg, rgba(6,23,42,.18), transparent 55%); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-note { position: absolute; z-index: 2; right: 34px; bottom: 30px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; max-width: 290px; padding: 18px 20px; color: white; background: rgba(6,23,42,.9); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.hero-note .pulse { grid-row: 1 / span 2; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 7px rgba(230,41,54,.18); }
.hero-note strong { font-size: 13px; }
.hero-note span { color: #ccd5df; font-size: 12px; }

.proof-strip { background: white; border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { display: flex; gap: 14px; align-items: center; min-height: 118px; padding: 24px; border-right: 1px solid var(--line); }
.proof-item:first-child { border-left: 1px solid var(--line); }
.icon-box { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; border: 1px solid #d7dde4; border-radius: 50%; color: var(--red); font-size: 19px; font-weight: 700; }
.proof-item strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.proof-item span { color: var(--muted); font-size: 12px; line-height: 1.45; }

.section { padding: 92px 0; background: white; }
.section-soft { background: var(--soft); }
.section-dark { color: white; background: var(--navy); }
.section-head { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 60px; margin-bottom: 42px; }
.section-head h2 { margin: 0; max-width: 680px; color: var(--navy); font-size: clamp(34px, 4.5vw, 58px); line-height: 1.04; letter-spacing: -.045em; }
.section-head > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.section-dark .section-head h2, .section-dark .section-head p { color: white; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { position: relative; min-height: 246px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { transform: translateY(-6px); border-color: #cfd6de; box-shadow: var(--shadow); }
.service-no { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.service-card h3 { margin: 45px 0 13px; color: var(--navy); font-size: 22px; line-height: 1.12; letter-spacing: -.02em; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-card::after { content: "↗"; position: absolute; right: 25px; top: 24px; color: var(--navy); font-size: 22px; }

.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.split-media { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media img { width: 100%; min-height: 420px; object-fit: cover; }
.split-copy h2 { margin: 0 0 22px; color: var(--navy); font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.05em; }
.split-copy > p { color: var(--muted); line-height: 1.8; }
.ticks { display: grid; gap: 13px; margin: 28px 0 32px; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 12px; color: #344456; line-height: 1.55; }
.ticks li::before { content: "✓"; display: grid; flex: 0 0 25px; height: 25px; place-items: center; color: white; background: var(--red); border-radius: 50%; font-size: 12px; font-weight: 900; }

.cta-band { padding: 55px 0; background: linear-gradient(115deg, var(--navy), #0c3256); color: white; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 45px); letter-spacing: -.035em; }
.cta-inner p { margin: 0; color: #c8d3df; }

.page-hero { padding: 95px 0 70px; background: linear-gradient(135deg, white 0 70%, #f4f7f9); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 880px; font-size: clamp(48px, 7vw, 84px); }
.page-hero .lead { max-width: 680px; margin: 25px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }

.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 36px rgba(6,23,42,.06); }
.industry-card img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; filter: saturate(.82) contrast(1.03); }
.industry-body { padding: 26px 26px 30px; }
.industry-body h3 { margin: 0 0 12px; color: var(--navy); font-size: 24px; }
.industry-body p { margin: 0 0 24px; color: var(--muted); line-height: 1.65; }
.mini-list { margin: 0; padding: 0; list-style: none; }
.mini-list li { padding: 9px 0; border-top: 1px solid var(--line); color: #445466; font-size: 13px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.18); }
.process-card { min-height: 245px; padding: 30px; background: var(--navy); }
.process-card span { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.process-card h3 { margin: 45px 0 14px; font-size: 20px; }
.process-card p { margin: 0; color: #c7d2dd; font-size: 14px; line-height: 1.65; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 45px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 32px 22px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--red); font-size: 36px; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 32px; border-radius: 16px; background: #f7f9fb; border: 1px solid var(--line); }
.value-card strong { display: block; margin: 20px 0 10px; color: var(--navy); font-size: 20px; }
.value-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.contact-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.contact-panel { position: sticky; top: 110px; padding: 34px; color: white; background: var(--navy); border-radius: 18px; }
.contact-panel h2 { margin: 0 0 16px; font-size: 34px; letter-spacing: -.04em; }
.contact-panel p { color: #c9d3de; line-height: 1.7; }
.contact-panel a { display: inline-block; margin-top: 18px; color: white; font-weight: 750; word-break: break-word; }
.contact-panel a:hover { color: #ff6871; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: 13px; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #ccd4dd; border-radius: 10px; background: white; padding: 14px 15px; color: var(--ink); outline: 0; transition: border-color .18s, box-shadow .18s; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(230,41,54,.1); }
.consent { display: flex; align-items: flex-start; gap: 10px; grid-column: 1 / -1; color: var(--muted); font-size: 12px; line-height: 1.55; }
.consent input { margin-top: 2px; accent-color: var(--red); }
.form-actions { display: flex; align-items: center; gap: 16px; grid-column: 1 / -1; }
.form-note { color: var(--muted); font-size: 12px; line-height: 1.5; }

.site-footer { color: #d8e0e8; background: #03101d; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1.1fr 1fr; gap: 55px; padding: 64px 0 45px; }
.footer-brand p { max-width: 330px; margin: 20px 0 0; color: #94a4b4; font-size: 13px; line-height: 1.7; }
.site-footer h2 { margin: 3px 0 18px; color: white; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-links span { color: #9bacbb; font-size: 13px; line-height: 1.45; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 25px 0 30px; border-top: 1px solid rgba(255,255,255,.12); color: #788b9d; font-size: 11px; }

.toast { position: fixed; z-index: 300; left: 50%; bottom: 25px; max-width: min(520px, calc(100vw - 30px)); transform: translate(-50%, 30px); padding: 14px 18px; border-radius: 10px; background: var(--navy); color: white; opacity: 0; pointer-events: none; box-shadow: var(--shadow); transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1020px) {
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 70px 0 auto; display: none; padding: 18px 20px 25px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary-nav.open { display: grid; }
  .primary-nav a { padding: 12px 0; font-size: 15px; }
  .primary-nav a::after { bottom: 6px; }
  .header-actions .button { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 0 26px; }
  .hero-visual { min-height: 420px; margin: 0 -20px; }
  .hero-visual::after { background: linear-gradient(0deg, rgba(6,23,42,.22), transparent 55%); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(odd) { border-left: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; gap: 22px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 42px; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-card { display: grid; grid-template-columns: .8fr 1.2fr; }
  .industry-card img { height: 100%; aspect-ratio: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-panel { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 660px) {
  :root { --container: min(100% - 28px, 1180px); }
  .brand-logo-primary { display: none; }
  .brand-logo-mark { display: block; }
  .language-picker select { padding-left: 2px; }
  .header-inner { gap: 10px; }
  .hero { background: white; }
  .hero h1, .page-hero h1 { font-size: clamp(42px, 14vw, 62px); }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-visual { min-height: 310px; }
  .hero-note { right: 14px; left: 14px; bottom: 14px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-left: 1px solid var(--line); }
  .section { padding: 68px 0; }
  .section-head h2, .split-copy h2 { font-size: 38px; }
  .service-grid { grid-template-columns: 1fr; }
  .industry-card { display: block; }
  .industry-card img { aspect-ratio: 1.6 / 1; }
  .process-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .values-grid { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .contact-form { grid-template-columns: 1fr; }
  .field-full, .consent, .form-actions { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

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