:root {
  --ink: #0e171b;
  --text: #253136;
  --muted: #627179;
  --line: #d7e1e4;
  --soft: #eef5f6;
  --panel: #ffffff;
  --brand: #009999;
  --brand-dark: #052b34;
  --accent: #f2a900;
  --steel: #e6eef1;
  --cyan: #37d2d2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #f7fafb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 18, 23, .9), rgba(5, 18, 23, .42));
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .13);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  text-transform: uppercase;
}

nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover {
  color: #fff;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(10, 18, 17, .34);
}

.language-switch button {
  width: 40px;
  height: 32px;
  border: 0;
  color: rgba(255, 255, 255, .78);
  background: transparent;
  cursor: pointer;
}

.language-switch button.active {
  color: var(--ink);
  background: #fff;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: flex;
  align-items: center;
  padding: 130px clamp(22px, 7vw, 92px) 84px;
  color: #fff;
  background: url("assets/hero-pharma-tanks.png") center / cover no-repeat;
  background-image: image-set(
    url("assets/hero-pharma-tanks.webp") type("image/webp"),
    url("assets/hero-pharma-tanks.png") type("image/png")
  );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 18, 24, .96), rgba(3, 18, 24, .76) 40%, rgba(3, 18, 24, .22) 72%),
    linear-gradient(180deg, rgba(3, 18, 24, .1), rgba(3, 18, 24, .78));
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(55, 210, 210, .7), transparent);
}

.hero-content {
  position: relative;
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 21px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, .85);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .32);
  font-weight: 800;
}

.button.primary {
  border-color: var(--accent);
  color: #101619;
  background: var(--accent);
  box-shadow: 0 14px 34px rgba(242, 169, 0, .18);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 38, 43, .06);
}

.signal-band div {
  padding: 26px clamp(18px, 3vw, 38px);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 251, 251, .98));
}

.signal-band strong,
.signal-band span {
  display: block;
}

.signal-band strong {
  color: var(--ink);
  font-size: 17px;
}

.signal-band span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 88px clamp(22px, 7vw, 92px);
}

.section.muted {
  background: var(--soft);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 38px;
}

.section-heading.compact {
  margin: 0;
}

.intro-grid,
.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 7vw, 76px);
}

.intro-copy,
.experience-copy {
  display: grid;
  gap: 18px;
}

.intro-copy p,
.experience-copy p {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.team-links span {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-links a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  color: var(--brand-dark);
  background: #fff;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 16px 18px;
  border-left: 4px solid var(--brand);
  color: var(--ink);
  background: var(--steel);
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article {
  min-height: 264px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.assignments-cta {
  max-width: 920px;
  margin: 26px 0 0;
  padding: 22px 24px;
  border-left: 4px solid var(--brand);
  color: var(--ink);
  background: #fff;
  font-size: 19px;
  font-weight: 700;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 380px;
  padding: 28px;
  border-top: 4px solid var(--brand);
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 38, 43, .07);
}

.case-grid span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.case-grid h3,
.case-grid p {
  margin: 0;
}

.case-grid p {
  color: var(--text);
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 7vw, 84px);
  align-items: start;
}

.ai-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 38, 43, .06);
}

.ai-panel p {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.topic-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.topic-grid h3,
.topic-grid p {
  margin: 0;
}

.topic-grid a {
  align-self: end;
  color: var(--brand-dark);
  font-weight: 900;
}

.industries-section .section-heading {
  max-width: 960px;
}

.industries-section .section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.industry-grid article {
  min-height: 252px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  background: #fff;
}

.industry-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.industry-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.solution-page {
  padding-top: 96px;
  background: #f7fafb;
}

.solution-hero {
  padding: 96px clamp(22px, 7vw, 92px) 70px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 43, 52, .98), rgba(5, 43, 52, .82)),
    url("assets/hero-pharma-tanks.webp") center / cover no-repeat;
}

.solution-hero h1 {
  max-width: 900px;
}

.solution-hero .hero-copy {
  max-width: 820px;
}

.solution-content {
  padding: 76px clamp(22px, 7vw, 92px);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.solution-grid article {
  min-height: 310px;
  padding: 28px;
  border-top: 4px solid var(--brand);
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 38, 43, .07);
}

.solution-grid h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.solution-cta {
  margin-top: 24px;
  padding: 24px;
  border-left: 4px solid var(--accent);
  color: var(--ink);
  background: #fff;
  font-size: 20px;
  font-weight: 800;
}

.icon-line {
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 30px;
  background: linear-gradient(90deg, var(--brand), var(--cyan), var(--accent));
}

.keyword-panel {
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.keyword-panel span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  color: var(--brand-dark);
  background: var(--soft);
  font-weight: 800;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  align-items: start;
  gap: clamp(30px, 7vw, 84px);
}

.delivery-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.delivery-steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.delivery-steps span {
  color: var(--brand);
  font-weight: 900;
}

.delivery-steps p {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .9fr);
  gap: clamp(28px, 7vw, 78px);
  padding: 78px clamp(22px, 7vw, 92px);
  color: #fff;
  background: var(--brand-dark);
}

.contact h2 {
  color: #fff;
}

.contact-panel {
  align-self: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
}

.contact-panel a {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-panel .secondary-contact {
  color: var(--accent);
  font-size: 16px;
}

.contact-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .78);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(22px, 7vw, 92px);
  color: #dae6e2;
  background: #111816;
  font-size: 13px;
}

footer div {
  display: grid;
  gap: 4px;
}

footer a {
  color: #fff;
}

.legal-page {
  padding-top: 96px;
  background: #fbfcfb;
}

.legal-content {
  max-width: 900px;
  padding: 72px clamp(22px, 7vw, 92px);
}

.legal-content h1 {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 58px);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 24px;
}

@media (max-width: 980px) {
  .signal-band,
  .service-grid,
  .case-grid,
  .topic-grid,
  .industry-grid,
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 840px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    overflow: hidden;
  }

  nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .language-switch button {
    width: 34px;
  }

  .language-switch {
    position: fixed;
    top: 13px;
    right: 16px;
    width: 114px;
  }

  .hero {
    min-height: 90svh;
    padding: 116px 20px 66px;
  }

  h1 {
    max-width: 360px;
    font-size: 36px;
    line-height: 1.08;
  }

  .hero-copy {
    max-width: 350px;
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .button {
    width: 100%;
  }

  .signal-band,
  .service-grid,
  .case-grid,
  .topic-grid,
  .industry-grid,
  .solution-grid,
  .ai-section,
  .intro-grid,
  .experience-layout,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .signal-band div {
    padding: 20px 20px 22px;
  }

  .signal-band strong {
    font-size: 18px;
    line-height: 1.18;
  }

  .signal-band span {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.45;
  }

  .section,
  .contact {
    padding: 64px 20px;
  }

  .intro {
    padding-top: 56px;
  }

  h2 {
    font-size: 32px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .intro-copy p,
  .experience-copy p {
    font-size: 18px;
  }

  .service-grid article {
    min-height: auto;
  }

  .case-grid article {
    min-height: auto;
  }

  .topic-grid article,
  .industry-grid article,
  .solution-grid article {
    min-height: auto;
  }

  footer {
    flex-direction: column;
    padding: 24px 20px;
  }
}
