:root {
  --ink: #102027;
  --muted: #5d6d72;
  --line: #d7e0df;
  --paper: #f7faf9;
  --white: #ffffff;
  --teal: #0f8b8d;
  --teal-dark: #0b5f63;
  --copper: #b46a3c;
  --steel: #53636b;
  --navy: #19313c;
  --shadow: 0 24px 60px rgba(16, 32, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.mobile-nav.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 35px rgba(16, 32, 39, 0.11);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-weight: 800;
}

.site-header.is-scrolled .brand-mark {
  border-color: var(--line);
  background: #eef5f4;
}

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

.brand small {
  color: currentColor;
  font-size: 11px;
  opacity: 0.78;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.header-cta {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .header-cta {
  border-color: transparent;
  color: var(--white);
  background: var(--teal-dark);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  z-index: 18;
  top: 78px;
  left: 16px;
  right: 16px;
  display: none;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mobile-nav a {
  display: block;
  padding: 13px 8px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/interventional-oem-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 25, 31, 0.88) 0%, rgba(10, 25, 31, 0.68) 42%, rgba(10, 25, 31, 0.15) 100%),
    linear-gradient(0deg, rgba(10, 25, 31, 0.55), rgba(10, 25, 31, 0.05) 45%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 78px;
}

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

.hero .eyebrow {
  color: #7be0d7;
}

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

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

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.primary-button {
  border: 0;
  padding: 0 22px;
  color: var(--white);
  background: var(--teal);
  cursor: pointer;
}

.secondary-button {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof {
  margin-top: 56px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.hero-proof span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.section-pad {
  padding: clamp(76px, 10vw, 126px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
}

.section-heading.narrow {
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: 40px;
  align-items: start;
  background:
    radial-gradient(circle at 8% 20%, rgba(15, 139, 141, 0.08), transparent 28%),
    var(--white);
}

.intro-grid {
  display: grid;
  gap: 16px;
}

.intro-grid article {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 6px 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 38px rgba(16, 32, 39, 0.05);
}

.intro-grid h3,
.intro-grid p {
  grid-column: 2;
}

.metric {
  grid-row: span 2;
  color: var(--copper);
  font-size: 28px;
  font-weight: 800;
}

.intro-grid p,
.capability-card p,
.capability-card li,
.program-list p,
.quality-panel p,
.contact-card p {
  color: var(--muted);
}

.product-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 310px;
  gap: 16px;
  padding: 18px clamp(18px, 5vw, 72px) 94px;
  background: var(--white);
}

.showcase-tile {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe8e7;
  box-shadow: var(--shadow);
}

.showcase-tile.large {
  grid-row: span 2;
}

.showcase-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 450ms ease;
}

.showcase-tile:hover img {
  transform: scale(1.055);
}

.showcase-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(10, 25, 31, 0.02) 32%, rgba(10, 25, 31, 0.72) 100%);
}

.showcase-tile div {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: var(--white);
}

.showcase-tile span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.showcase-tile h2,
.showcase-tile h3 {
  max-width: 620px;
  margin: 0;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
}

.showcase-tile h2 {
  font-size: clamp(30px, 3.8vw, 54px);
}

.showcase-tile h3 {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
}

.capabilities {
  background:
    linear-gradient(180deg, #eef6f4 0%, #f7faf9 48%, #ffffff 100%);
}

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

.capability-card {
  overflow: hidden;
  min-height: 520px;
  padding: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 52px rgba(16, 32, 39, 0.08);
}

.capability-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.capability-card:nth-child(5) img,
.capability-card:nth-child(6) img {
  object-position: center 34%;
}

.capability-card h3,
.capability-card p,
.capability-card ul {
  margin-left: 26px;
  margin-right: 26px;
}

.capability-card h3 {
  margin-top: 24px;
}

.capability-card ul {
  margin: 18px 0 0;
  padding-left: 44px;
}

.capability-card li + li {
  margin-top: 8px;
}

.programs {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(25, 49, 60, 0.98), rgba(11, 95, 99, 0.88)),
    var(--navy);
}

.catalog {
  background:
    linear-gradient(180deg, #ffffff 0%, #eef6f4 100%);
}

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

.catalog-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(16, 32, 39, 0.07);
}

.catalog-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: #e3f2ef;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-grid p {
  color: var(--muted);
}

.programs .eyebrow {
  color: #79d9d4;
}

.program-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 54px;
  align-items: start;
}

.programs .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.program-list {
  display: grid;
  gap: 18px;
}

.program-list article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.13);
}

.program-list span {
  color: #f1b48f;
  font-size: 13px;
  font-weight: 800;
}

.program-list p {
  color: rgba(255, 255, 255, 0.72);
}

.materials {
  padding: 38px clamp(18px, 5vw, 72px);
  background: var(--white);
}

.materials-inner {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px;
  align-items: start;
  max-width: 1320px;
  margin: auto;
}

.material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.material-tags span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f8f7;
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
}

.quality {
  background: #edf4f3;
}

.quality-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.quality-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quality-panel div + div {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.quality-panel strong {
  display: block;
  margin-bottom: 6px;
}

.contact {
  background: var(--white);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 95, 99, 0.98), rgba(25, 49, 60, 0.98)),
    var(--navy);
}

.contact-card .eyebrow {
  color: #9ee4dd;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.76);
}

.inquiry-form {
  display: grid;
  gap: 14px;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-details a,
.contact-details span {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 800;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.inquiry-form select option {
  color: var(--ink);
}

.inquiry-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #f0f5f4;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ai-assistant {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
}

.ai-toggle {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--navy));
  box-shadow: 0 18px 42px rgba(16, 32, 39, 0.28);
  cursor: pointer;
}

.ai-toggle span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  font-weight: 900;
}

.ai-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: none;
  width: min(380px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.ai-assistant.is-open .ai-panel {
  display: block;
}

.ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: var(--white);
  background: var(--navy);
}

.ai-header strong,
.ai-header span {
  display: block;
}

.ai-header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.ai-header button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.ai-messages {
  display: grid;
  max-height: 310px;
  gap: 10px;
  overflow: auto;
  padding: 16px;
  background: #f6faf9;
}

.ai-message {
  max-width: 90%;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.ai-message.bot {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.ai-message.user {
  justify-self: end;
  color: var(--white);
  background: var(--teal-dark);
}

.ai-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 0;
}

.ai-quick-actions button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 9px;
  color: var(--teal-dark);
  background: #edf6f4;
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
}

.ai-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 16px 16px;
}

.ai-input-row input,
.ai-input-row button {
  min-height: 42px;
  border-radius: 8px;
  font: inherit;
}

.ai-input-row input {
  min-width: 0;
  border: 1px solid var(--line);
  padding: 0 12px;
}

.ai-input-row button {
  border: 0;
  padding: 0 14px;
  color: var(--white);
  background: var(--teal);
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 680px) {
  .ai-assistant {
    right: 16px;
    bottom: 16px;
  }
}

.site-footer .image-credits {
  width: 100%;
  max-width: 980px;
  color: #758387;
  font-size: 11px;
}

.image-credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .intro,
  .program-layout,
  .quality-layout,
  .contact-card,
  .materials-inner {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-showcase {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 280px;
  }

  .showcase-tile.large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 25, 31, 0.92) 0%, rgba(10, 25, 31, 0.78) 50%, rgba(10, 25, 31, 0.3) 100%);
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions a {
    width: 100%;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-showcase {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
    padding-bottom: 62px;
  }

  .showcase-tile.large {
    grid-column: auto;
  }

  .capability-card {
    min-height: auto;
  }

  .capability-card img {
    height: 190px;
  }

  .intro-grid article {
    grid-template-columns: 1fr;
  }

  .intro-grid h3,
  .intro-grid p {
    grid-column: auto;
  }
}
