:root{
  /* Brand */
  --primary: #00C0B0;
  --primaryDark: #00a294;

  /* Light theme */
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface2: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --muted2: #64748b;
  --border: rgba(15, 23, 42, .12);
  --shadow: 0 18px 48px rgba(15, 23, 42, .10);

  --radius: 18px;
  --radius2: 26px;
  --max: 1160px;
  --gap: 22px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background:#ffffff;
  line-height: 1.45;
}
a { color: #0f172a; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container{ width: 100%; max-width: var(--max); padding: 0 20px; margin: 0 auto; }
.grid{ display: grid; gap: var(--gap); }
section{ padding: 78px 0; }
.section-soft{
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Header */
header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid var(--border);
}
.brand{ display: flex; align-items: center; min-width: 240px; }
.brand img{
  height: 44px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

nav ul{
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  align-items: center;
}
nav a{
  font-size: 14px;
  color: #0f172a;
  padding: 8px 10px;
  border-radius: 12px;
}
nav a:hover{
  background: rgba(15, 23, 42, .06);
  text-decoration: none;
}
nav a.active{
  background: rgba(0,192,176,.14);
  border: 1px solid rgba(0,192,176,.25);
  text-decoration: none;
}
.nav-ctas{ display: flex; gap: 10px; align-items: center; }

.menu-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, .03);
  color: #0f172a;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover{ background: rgba(15, 23, 42, .05); }
.btn:focus{ outline: 3px solid rgba(0,192,176,.25); outline-offset: 2px; }

.btn-primary{
  background: var(--primary);
  color: #03201d;
  border-color: rgba(0,192,176,.65);
}
.btn-primary:hover{ background: var(--primaryDark); }
.btn-link{
  border: none;
  background: transparent;
  padding: 10px 10px;
  color: #0f172a;
}
.btn-link:hover{
  background: rgba(15, 23, 42, .05);
  text-decoration: none;
  border-radius: 14px;
}

/* Hero */
.hero
{
  padding: 64px 0 62px;
  background:
    radial-gradient(900px 450px at 20% 0%, rgba(0,192,176,.14), transparent 55%),
    radial-gradient(800px 420px at 90% 10%, rgba(2,132,199,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), #ffffff 55%, #ffffff);
}
.hero-grid{ grid-template-columns: 1.12fr .88fr; align-items: center; }
.kicker{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,192,176,.35);
  background: rgba(0,192,176,.10);
  color: #0f172a;
  font-size: 12.5px;
  letter-spacing: .2px;
}
h1{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}
.lead{
  margin: 0 0 18px;
  font-size: 18px;
  color: var(--muted);
  max-width: 65ch;
}
.hero-ctas{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.trustline{ margin-top: 14px; color: var(--muted2); font-size: 13px; }

.hero-card{
  border-radius: var(--radius2);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 14px;
}
.hero-card img{
  border-radius: 18px;
  border: 1px solid var(--border);
  width: 100%;
  height: auto;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .10);
}

.hero-bg{
  position: relative;
  background-image: url("../assets/manufacturing-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(247,249,252,0.95) 0%,
    rgba(247,249,252,0.92) 40%,
    rgba(247,249,252,0.85) 100%
  );
  z-index: 0;
}

.hero-bg .container{
  position: relative;
  z-index: 1;
}

/* Typography */
h2{
  font-size: clamp(24px, 3.2vw, 34px);
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}
.subcopy{
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 78ch;
  font-size: 16px;
}

/* Cards */
.cards-4{ grid-template-columns: repeat(4, 1fr); }
.cards-3{ grid-template-columns: repeat(3, 1fr); }
.two-col{ grid-template-columns: 1fr 1fr; align-items: stretch; }

.card{
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
}
.card h3{ margin: 10px 0 8px; font-size: 16px; letter-spacing: -0.2px; }
.card p{ margin: 0; color: var(--muted); font-size: 14.5px; }

.icon{
  width: 38px; height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(0,192,176,.30);
  background: rgba(0,192,176,.12);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.list{ margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.list li{ margin: 8px 0; }

/* Pricing */
.pricing-grid{
  align-items: stretch;
}
.pricing-grid .card{
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pricing-grid .cta-wrap{
  margin-top: auto;
  padding-top: 14px;
}

/* Integrations */
.integrations{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}
.integration-row{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}
.integration-box{
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .03);
  border: 1px solid rgba(15, 23, 42, .08);
}
.integration-box b{ display:block; font-size: 13.5px; margin-bottom: 4px; }
.integration-box span{ color: var(--muted2); font-size: 13.5px; }
.integration-mid{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,192,176,.30);
  background: rgba(0,192,176,.10);
  color: #0f172a;
  font-weight: 750;
  font-size: 12.5px;
  text-align: center;
  white-space: nowrap;
}

/* Steps */
.steps{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.step{
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 14px;
  min-height: 92px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}
.step b{ display:block; font-size: 13px; margin-bottom: 6px; }
.step span{ color: var(--muted2); font-size: 13px; }

/* Pills */
.pillbox{ display:grid; gap: 10px; }
.pill{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}
.pill .mark{ font-weight: 900; color: var(--primaryDark); }
.pill .text{ color: var(--muted); font-size: 14.5px; }

/* Comparison table */
.table-wrap{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
}
table{ width:100%; border-collapse: collapse; font-size: 14.5px; }
th, td{ padding: 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th{
  text-align:left;
  background: rgba(2, 6, 23, .03);
  font-size: 13px;
  letter-spacing: .2px;
  text-transform: uppercase;
  color: #0f172a;
}
td{ color: var(--muted); }
tr:last-child td{ border-bottom: none; }

/* Final CTA */
.cta{
  padding: 70px 0;
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(0,192,176,.18), transparent 60%),
    radial-gradient(700px 320px at 90% 20%, rgba(2,132,199,.10), transparent 55%),
    #ffffff;
  border-top: 1px solid var(--border);
}
.cta-box{
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cta-box p{ margin: 6px 0 0; color: var(--muted); }

footer{
  padding: 26px 0 40px;
  color: var(--muted2);
  font-size: 13px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}
.footer-grid{
  display:flex;
  flex-wrap: wrap;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.small-links{ display:flex; gap:14px; flex-wrap:wrap; }
.small-links a{ color: var(--muted); }

/* Page helpers */
.pagehead {
  position: relative;
  padding: 52px 0 18px;
  overflow: hidden;
}

.pagehead-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pagehead-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(247,249,252,0.95) 0%,
    rgba(247,249,252,0.92) 40%,
    rgba(247,249,252,0.85) 100%
  );
  z-index: 0;
}

.pagehead .container {
  position: relative;
  z-index: 1;
}

.pagehead-woman-computer {
  background-image: url("../assets/integrations-ops2.jpg");
  background-position: relative;
  background-repeat: no-repeat;
}
.pagehead-twoscreen {
  background-image: url("../assets/Computer_TwoStceen.jpg");
  background-position: relative;
  background-repeat: no-repeat;
}
.pagehead-twopeople {
  background-image: url("../assets/Computer_Man&Woman.jpg");
  background-position: 50% 30%;
  background-repeat: no-repeat;
}
.pagehead-cncmachine {
  background-image: url("../assets/CNCMachine.jpg");
  background-position: relative;
  background-repeat: no-repeat;
}
.pagehead-bakery {
  background-image: url("../assets/BakeryLine.jpg");
  background-position: relative;
  background-repeat: no-repeat;
}
.pagehead-electronics2{
  background-image: url("../assets/Electronics_Supervision.jpg");
  background-position: relative;
  background-repeat: no-repeat;
}
.pagehead-electronicsline {
  background-image: url("../assets/ElectronicsLine.jpg");
  background-position: 50% 70%;
  background-repeat: no-repeat;
}
.pagehead-assemblyline {
  background-image: url("../assets/Assembly_Line.jpg");
  background-position: relative;
  background-repeat: no-repeat;
}

.pagehead-gradient
{
  padding: 52px 0 18px;
  background:
    radial-gradient(900px 450px at 20% 0%, rgba(0,192,176,.14), transparent 55%),
    radial-gradient(800px 420px at 90% 10%, rgba(2,132,199,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), #ffffff 55%, #ffffff);
}

.breadcrumb{ color: var(--muted2); font-size: 13px; margin: 0 0 10px; }
.pagegrid{ grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.panel{
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}
.panel h3{ margin: 0 0 8px; font-size: 16px; }
.panel p{ margin: 0; color: var(--muted); }

/* Contact page */
.form-status{
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.pagehead-contact {
  padding: 34px 0 16px;
}

.pagehead-contact h1 {
  margin-bottom: 10px;
  line-height: 1.05;
}

.pagehead-contact .lead {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.contact-section {
  padding: 64px 0 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.contact-grid > .panel {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-grid h3 {
  margin: 0 0 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted2);
  margin: 0 0 6px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(0, 192, 176, .25);
  outline-offset: 2px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.contact-side,
.contact-side-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.contact-side-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-side-copy .small {
  margin: 0 0 18px;
  line-height: 1.5;
}

.pillbox {
  display: grid;
  gap: 12px;
  flex: 1;
  align-content: start;
}

.pill {
  padding: 14px 16px;
}

.contact-side-cta {
  margin-top: auto;
  padding-top: 18px;
}

@media (max-width: 980px) {
  .pagehead-contact {
    padding: 30px 0 14px;
  }

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

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .pagehead-contact h1 br {
    display: none;
  }

  .pagehead-contact .lead {
    font-size: 16px;
  }
}

/* Homepage integrations split layout */
.integrations-split{
  grid-template-columns: .95fr 1.05fr;
  align-items: start;
}

.integration-photo{
  position: relative;
  overflow: hidden;
}

.photo-frame{
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .10);
  background: rgba(15, 23, 42, .02);
}

.photo-frame img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  nav ul{ display:none; }
  .cards-4{ grid-template-columns: repeat(2, 1fr); }
  .cards-3{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .integration-row{ grid-template-columns: 1fr; }
  .brand{ min-width: auto; }
  .brand img{ max-width: 200px; }
  .integration-mid{ justify-self: start; }
  .pagegrid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-form-body{ grid-template-columns: 1fr; }
  .contact-form-body .field-full{ grid-column: auto; }
  .integrations-split{ grid-template-columns: 1fr; }
  .photo-frame img{ height: 260px; }

  .navbar ul {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: var(--surface);
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
  }

  .navbar ul li {
    text-align: center;
    width: 100%;
  }

  .navbar ul li a {
    padding: 15px;
    border-radius: 0px;
  }

  .menu-icon {
    display: block;
  }

  .navbar.open ul {
    display: flex;
  }
}

@media (max-width: 520px){
  .cards-4{ grid-template-columns: 1fr; }
}
/* Medtec Expo 2026 */

.expo-popup {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: none;
}

.expo-popup.show {
  display: block;
}

.expo-popup-card {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  background: transparent;
}

.expo-popup-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}
.expo-banner-wrapper {
  position: relative;
  width: 100%;
}

.expo-banner-wrapper img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.expo-cta-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 28%; /* adjust to match your banner */
  cursor: pointer;
}

.expo-cta-overlay:hover {
  background: rgba(0, 192, 176, 0.08);
}