:root {
  --navy: #00122a;
  --navy-2: #061d38;
  --navy-3: #0a2a4b;
  --ink: #0b2342;
  --gold: #c99a45;
  --gold-bright: #e5b459;
  --paper: #f5f7f9;
  --white: #ffffff;
  --muted: #667286;
  --line: rgba(11, 35, 66, .14);
  --shadow: 0 20px 60px rgba(0, 18, 42, .16);
  --radius: 22px;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; padding: 10px 14px; background: white; color: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  z-index: 100;
  width: 100%;
  top: 0;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled { background: rgba(0, 18, 42, .9); backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.nav-wrap { width: var(--shell); margin-inline: auto; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 118px; flex: 0 0 auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; color: rgba(255,255,255,.9); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; position: relative; }
.site-nav a::after { content: ""; position: absolute; height: 2px; background: var(--gold-bright); left: 0; right: 100%; bottom: -8px; transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.lang-toggle { border: 1px solid rgba(255,255,255,.35); color: white; background: transparent; border-radius: 999px; padding: 7px 11px; font: inherit; font-size: .76rem; font-weight: 800; cursor: pointer; }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 8px; }
.menu-toggle span { display: block; height: 2px; background: white; margin: 6px 0; }

.hero { min-height: 100svh; position: relative; display: grid; place-items: center; overflow: hidden; background: var(--navy) url("assets/hero-cad-to-reality.webp") center / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,18,42,.98) 0%, rgba(0,18,42,.92) 31%, rgba(0,18,42,.42) 62%, rgba(0,18,42,.08) 100%), linear-gradient(0deg, rgba(0,18,42,.55), transparent 45%); }
.hero-content { position: relative; color: white; padding-block: 150px 100px; }
.hero-logo { width: clamp(250px, 32vw, 480px); margin-bottom: 36px; }
.section-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 800; }
.hero h1 { margin: 14px 0 22px; max-width: 800px; font-size: clamp(2.35rem, 5.1vw, 5.6rem); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
.hero-copy { font-size: clamp(1.05rem, 1.8vw, 1.35rem); max-width: 680px; color: rgba(255,255,255,.82); }
.hero-copy strong { color: var(--gold-bright); font-weight: 600; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-weight: 800; letter-spacing: .01em; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--navy); }
.button-primary:hover { background: var(--gold-bright); }
.button-ghost { border-color: rgba(255,255,255,.44); color: white; background: rgba(0,18,42,.12); }
.button-ghost:hover { border-color: white; background: rgba(255,255,255,.08); }
.scroll-cue { position: absolute; z-index: 3; bottom: 28px; left: 50%; width: 28px; height: 46px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; border-radius: 999px; background: var(--gold-bright); transform: translateX(-50%); animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 17px); } }

.innovation { min-height: 760px; display: grid; grid-template-columns: 1.08fr .92fr; background: #f8fafb; }
.innovation-photo { min-height: 760px; overflow: hidden; background: #f2f4f5; display: flex; justify-content: flex-end; }
.innovation-photo img { width: 100%; height: 100%; min-height: 760px; object-fit: cover; object-position: right center; }
.innovation-panel { padding: clamp(74px, 8vw, 126px) clamp(40px, 7vw, 118px); align-self: center; background: linear-gradient(130deg, rgba(255,255,255,.98), rgba(245,248,250,.94)), url("assets/pharma-light.webp") center / cover; }
.section-kicker { margin: 0 0 14px; color: var(--gold); }
.innovation h2, .section-heading h2, .split-heading h2, .contact h2 { margin: 0; font-size: clamp(2.1rem, 4.2vw, 4.5rem); line-height: 1.05; letter-spacing: -.045em; }
.gold-rule { width: 72px; height: 4px; background: var(--gold-bright); margin: 28px 0; }
.lead { max-width: 690px; font-size: 1.05rem; color: #526071; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 42px; border-top: 1px solid var(--line); }
.stat { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 24px 18px 24px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 24px; }
.stat svg { width: 40px; stroke: var(--gold); stroke-width: 1.7; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.stat strong { display: block; font-size: 1.65rem; line-height: 1; color: var(--ink); }
.stat span { display: block; margin-top: 7px; font-size: .78rem; color: var(--muted); font-weight: 700; }

.services { position: relative; color: white; background: var(--navy); overflow: hidden; }
.services-bg { position: absolute; inset: 0; background: radial-gradient(circle at 82% 14%, rgba(50,113,161,.24), transparent 33%), linear-gradient(140deg, transparent 0 58%, rgba(255,255,255,.025) 58% 59%, transparent 59% 100%); }
.services-bg::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, black 30%, black); }
.services-inner { position: relative; padding-block: clamp(90px, 10vw, 150px); }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading p:not(.section-kicker) { color: #9fb0c1; font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 300px; padding: clamp(30px, 4vw, 48px); border: 1px solid rgba(255,255,255,.13); background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); border-radius: var(--radius); box-shadow: inset 0 1px rgba(255,255,255,.05); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(229,180,89,.5); background: linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.035)); }
.service-icon { width: 58px; height: 58px; color: var(--gold-bright); margin-bottom: 28px; }
.service-icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); margin: 0 0 14px; }
.service-card p { color: #a9b8c7; }


.problem-types { padding-block: clamp(90px, 10vw, 150px); background: white; }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.split-heading > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 8px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.problem-card { padding: 34px; border-top: 4px solid var(--gold); background: #f5f7fa; min-height: 265px; }
.problem-card span { color: var(--gold); font-weight: 800; font-size: .78rem; letter-spacing: .12em; }
.problem-card h3 { font-size: 1.38rem; margin: 24px 0 12px; }
.problem-card p { color: var(--muted); }

.contact { min-height: 680px; display: grid; place-items: center; position: relative; overflow: hidden; color: white; background: var(--navy); }
.contact-image { position: absolute; inset: 0; background: url("assets/hero-cad-to-reality.webp") center 58% / cover no-repeat; transform: scale(1.03); }
.contact-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,18,42,.97), rgba(0,18,42,.82) 48%, rgba(0,18,42,.45)); }
.contact-content { position: relative; padding-block: 100px; }
.contact-content h2 { max-width: 900px; }
.contact-content > p:not(.section-kicker) { color: rgba(255,255,255,.74); max-width: 720px; font-size: 1.08rem; }

.site-footer { background: #000e21; color: white; padding: 68px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr .7fr; gap: 60px; }
.footer-logo { width: 150px; margin-bottom: 18px; }
.footer-grid p { color: #8fa0b1; margin: 5px 0; }
.footer-grid h2 { color: var(--gold-bright); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 18px; }
.footer-grid a { display: block; text-decoration: none; color: #d7e0e9; margin: 6px 0; }
.footer-bottom { margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; color: #798b9d; font-size: .82rem; }
.footer-bottom a { text-decoration: none; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible, .js .hero-content.reveal { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 34px, 900px); }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 78px 17px auto; border-radius: 16px; padding: 22px; background: rgba(0,18,42,.98); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 16px; opacity: 0; transform: translateY(-12px); pointer-events: none; transition: .2s ease; }
  .site-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: 8px; }
  .lang-toggle { align-self: flex-start; margin-left: 8px; }
  .innovation { grid-template-columns: 1fr; }
  .innovation-photo { min-height: auto; order: 2; aspect-ratio: 16 / 9; }
  .innovation-photo img { min-height: 0; object-position: right center; }
  .innovation-panel { order: 1; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 700px) {
  .nav-wrap { min-height: 68px; }
  .site-nav { top: 68px; }
  .brand { width: 100px; }
  .hero { min-height: 850px; background-position: 64% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(0,18,42,.98) 0%, rgba(0,18,42,.87) 75%, rgba(0,18,42,.5) 100%); }
  .hero-content { padding-top: 130px; }
  .hero-logo { width: 250px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 4.2rem); }
  .hero-actions, .contact-actions { align-items: stretch; flex-direction: column; max-width: 360px; }
  .innovation-panel { padding: 76px 24px; }
  .innovation-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { border-right: 0; }
  .stat:nth-child(even) { padding-left: 0; }
  .service-grid, .problem-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .contact { min-height: 730px; }
}

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