:root {
  --mdti-slate-950: #0f172a;
  --mdti-slate-900: #1e293b;
  --mdti-slate-800: #334155;
  --mdti-slate-600: #475569;
  --mdti-slate-200: #e2e8f0;
  --mdti-slate-50: #f8fafc;
  --mdti-teal: #14b8a6;
  --mdti-teal-dark: #0d9488;
  --mdti-teal-deep: #042f2e;
  --mdti-blue-trust: #0c4a6e;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--mdti-slate-50);
  color: var(--mdti-slate-900);
  line-height: 1.6;
}

a { color: var(--mdti-teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.top-bar {
  background: var(--mdti-slate-950);
  color: #cbd5e1;
  font-size: 0.8rem;
  padding: 0.5rem 0;
}
.top-bar-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav {
  background: #fff;
  border-bottom: 1px solid var(--mdti-slate-200);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 43px;
  height: 43px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-title {
  width: 138px;
  height: 43px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .brand-title {
    width: 118px;
    height: 37px;
  }
  .brand-logo {
    width: 37px;
    height: 37px;
  }
}

.nav-links {
  display: none;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a {
  color: var(--mdti-slate-800);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--mdti-teal-dark);
}
.nav-links a.active { font-weight: 600; border-bottom: 2px solid var(--mdti-teal); padding-bottom: 2px; }

.nav-toggle {
  display: flex;
  background: none;
  border: 1px solid var(--mdti-slate-200);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--mdti-slate-800);
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--mdti-slate-200);
  background: #fff;
  padding: 0.75rem 1.5rem 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.6rem 0;
  color: var(--mdti-slate-800);
  text-decoration: none;
  font-weight: 500;
}
.mobile-menu a.active { color: var(--mdti-teal-dark); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 2rem 1.5rem 5.5rem;
  min-height: clamp(30rem, 68vh, 44rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--mdti-slate-950);
}
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 8s ease;
  will-change: opacity, transform;
}
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(1.06) saturate(1.14) contrast(1.04);
  transition: filter 0.9s ease, transform 8s ease;
}
.hero-slide-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 55%, #0b1220 100%);
}
.hero-slide-logo img {
  position: relative;
  inset: auto;
  width: min(84%, 34rem);
  height: auto;
  max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-slide.is-active img {
  filter: brightness(1.1) saturate(1.18) contrast(1.06);
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(2, 6, 23, 0.02) 0%,
      rgba(2, 6, 23, 0.08) 38%,
      rgba(2, 6, 23, 0.38) 72%,
      rgba(2, 6, 23, 0.72) 100%
    ),
    linear-gradient(
      90deg,
      rgba(2, 6, 23, 0.18) 0%,
      transparent 18%,
      transparent 82%,
      rgba(2, 6, 23, 0.18) 100%
    );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto 2.5rem;
  text-align: center;
  padding: 1.5rem 1.75rem 1.35rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}
.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.hero p {
  font-size: 1.05rem;
  color: #f1f5f9;
  margin: 0 auto 1.5rem;
  max-width: 40rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.55rem;
  padding: 0.45rem 0.7rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}
.hero-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-dot.is-active {
  background: #5eead4;
  border-color: #99f6e4;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(94, 234, 212, 0.55);
}
.hero-dot:focus-visible {
  outline: 2px solid #5eead4;
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .hero {
    min-height: clamp(26rem, 62vh, 36rem);
    padding: 1.25rem 1rem 3.75rem;
  }
  .hero-inner {
    margin-bottom: 2rem;
    padding: 1.15rem 1.1rem 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.01ms; transform: none; }
  .hero-slide img { transition: none; transform: none; filter: brightness(1.08) saturate(1.12); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--mdti-teal); color: var(--mdti-teal-deep); }
.btn-primary:hover { background: #2dd4bf; }
.btn-secondary { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); }
.btn-dark { background: var(--mdti-slate-900); color: #fff; }
.btn-dark:hover { background: var(--mdti-slate-800); }

.section { padding: 3.5rem 1.5rem; }
.section-inner { max-width: 72rem; margin: 0 auto; }
.section-title {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.section-lead {
  color: var(--mdti-slate-600);
  max-width: 42rem;
  margin: 0 0 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: #fff;
  border: 1px solid var(--mdti-slate-200);
  border-radius: 1rem;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.card h3 { margin: 0; font-size: 1.1rem; }
.card p { margin: 0; color: var(--mdti-slate-600); font-size: 0.92rem; flex: 1; }

/* Horizontal logo strip (about / multi-product intros) */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 1.25rem 0 0.5rem;
}
.logo-strip .card-logo {
  margin: 0;
}

/* Compact product logos on home / portfolio cards */
.card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0.4rem 0.55rem;
  border-radius: 0.75rem;
  border: 1px solid var(--mdti-slate-200);
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  max-width: 100%;
}
.card-logo img {
  display: block;
  width: auto;
  max-width: min(180px, 100%);
  height: auto;
  max-height: 72px;
  object-fit: contain;
}
.card-logo--light {
  background: linear-gradient(145deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.card-logo--mark {
  padding: 0.45rem 0.55rem;
}
.card-logo--mark img {
  max-width: 64px;
  max-height: 64px;
}

/* Section heading with logo (e.g. investors SmartShade) */
.section-head-with-logo {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 0.35rem;
}
.section-head-with-logo .section-title {
  margin-bottom: 0;
}
.section-head-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  border-radius: 0.85rem;
  border: 1px solid var(--mdti-slate-200);
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.section-head-logo img {
  display: block;
  width: min(200px, 40vw);
  height: auto;
  max-height: 110px;
  object-fit: contain;
}
.section-head-logo--light {
  background: linear-gradient(145deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
@media (max-width: 640px) {
  .section-head-with-logo {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .section-head-logo {
    align-self: flex-end;
  }
}

.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  width: fit-content;
}
.badge-rnd { background: #dbeafe; color: #1e40af; }
.badge-pilot { background: #ede9fe; color: #5b21b6; }
.badge-demo { background: #d1fae5; color: #065f46; }
.badge-soon { background: #e0e7ff; color: #3730a3; }
.badge-live { background: #ccfbf1; color: #0f766e; }
.badge-beta { background: #fef3c7; color: #92400e; }
.badge-active { background: #dcfce7; color: #166534; }
.badge-established { background: #ffedd5; color: #9a3412; }

/* Business structure org chart (from MDTI entity diagram) */
.org-chart {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}
.org-chart-title {
  background: #1e293b;
  color: #f8fafc;
  text-align: center;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}
.org-chart-box {
  border-radius: 0.75rem;
  padding: 1.1rem 1.25rem;
  text-align: center;
  line-height: 1.55;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.org-chart-box strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}
.org-chart-trust {
  background: #0c4a6e;
  color: #e0f2fe;
}
.org-chart-mdti {
  background: #14b8a6;
  color: #042f2e;
  text-align: left;
}
.org-chart-mdti strong { display: block; text-align: center; margin-bottom: 0.35rem; }
.org-chart-list {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  text-align: left;
}
.org-chart-list li { margin-bottom: 0.4rem; }
.org-chart-list li:last-child { margin-bottom: 0; }
.org-chart-mdti .org-chart-list { margin-top: 0.65rem; }
.org-chart-mdti .org-chart-list + .org-chart-inline-label { margin-top: 0.5rem; }
.org-chart-inline-label {
  margin: 0.35rem 0 0;
  padding-left: 0.15rem;
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: left;
}
.org-chart-arrow {
  text-align: center;
  font-size: 1.75rem;
  line-height: 1;
  color: #64748b;
  padding: 0.15rem 0;
}
.org-chart-arrows-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
}
.org-chart-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
}
.org-chart-col {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}
.org-chart-col-header {
  padding: 0.85rem 0.75rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  line-height: 1.3;
}
.org-chart-col-body {
  padding: 0.9rem 0.85rem;
  font-size: 0.8rem;
  line-height: 1.55;
  flex: 1;
}
.org-chart-mls .org-chart-col-header { background: #10b981; color: #064e3b; }
.org-chart-mls .org-chart-col-body { background: #ecfdf5; color: #064e3b; }
.org-chart-software .org-chart-col-header { background: #8b5cf6; color: #f5f3ff; }
.org-chart-software .org-chart-col-body { background: #f5f3ff; color: #4c1d95; }
.org-chart-wood .org-chart-col-header { background: #f59e0b; color: #78350f; }
.org-chart-wood .org-chart-col-body { background: #fffbeb; color: #78350f; }
.org-chart-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.75rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}
.org-chart-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}
.org-chart-logo--light {
  background: #fff;
  border-color: rgba(120, 53, 15, 0.12);
}
.org-chart-footer {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.55;
  padding: 1rem 1.15rem;
  border-radius: 0.75rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  margin-top: 0.35rem;
}
.org-chart-section-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0.5rem 0 0.15rem;
}
.org-chart-support {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 0.65rem 1rem;
  background: #f8fafc;
  border: 2px dashed #94a3b8;
  border-radius: 0.75rem;
  font-size: 0.82rem;
  color: #475569;
}
.org-chart-support-from {
  font-weight: 700;
  color: #042f2e;
  background: #99f6e4;
  padding: 0.25rem 0.55rem;
  border-radius: 0.35rem;
}
.org-chart-support-line {
  font-style: italic;
}
.org-chart-support-to {
  font-weight: 700;
  color: #1e3a8a;
  background: #dbeafe;
  padding: 0.25rem 0.55rem;
  border-radius: 0.35rem;
}
.org-chart-partner-wrap {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  border: 2px solid #3b82f6;
}
.org-chart-partner .org-chart-col-header {
  background: #1e40af;
  color: #eff6ff;
}
.org-chart-partner .org-chart-col-body {
  background: #eff6ff;
  color: #1e3a8a;
}
.org-chart-partner .org-chart-col-body a {
  font-weight: 600;
}

@media (max-width: 768px) {
  .org-chart-arrows-row { grid-template-columns: 1fr; max-width: 12rem; margin: 0 auto; }
  .org-chart-columns { grid-template-columns: 1fr; }
}

.notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #2563eb;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  color: #1e3a8a;
  font-size: 0.92rem;
}
.notice-warn {
  background: #fffbeb;
  border-color: #fde68a;
  border-left-color: #d97706;
  color: #92400e;
}

.product-block {
  background: #fff;
  border: 1px solid var(--mdti-slate-200);
  border-radius: 1rem;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.product-block h3 { margin: 0.5rem 0 0.75rem; font-size: 1.35rem; }
.product-block h4 { margin: 1.25rem 0 0.5rem; font-size: 0.95rem; color: var(--mdti-slate-800); }
.product-block ul { margin: 0; padding-left: 1.25rem; color: var(--mdti-slate-600); }
.product-block li { margin-bottom: 0.35rem; }
.product-block.partner { border-color: #c4b5fd; background: linear-gradient(180deg, #faf5ff 0%, #fff 100%); }

/* SmartShade (and similar) title + logo row */
.product-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  margin-bottom: 0.25rem;
}
.product-block-head-text {
  flex: 1 1 16rem;
  min-width: 0;
}
.product-block-head-text h3 {
  margin: 0.5rem 0 0.75rem;
}
.product-block-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  border-radius: 0.85rem;
  border: 1px solid var(--mdti-slate-200);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.product-block-logo img {
  display: block;
  width: min(220px, 42vw);
  height: auto;
  max-height: 140px;
  object-fit: contain;
}
/* Logos with light / white backgrounds (e.g. DryLogix) */
.product-block-logo--light {
  background: linear-gradient(145deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  border-color: var(--mdti-slate-200);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
/* Square brand marks (e.g. Morriss Lawn website-256) */
.product-block-logo--mark {
  padding: 0.65rem 0.75rem;
  min-width: 7.5rem;
  min-height: 7.5rem;
}
.product-block-logo--mark img {
  width: 7rem;
  max-width: 120px;
  max-height: 120px;
  height: auto;
}
@media (max-width: 640px) {
  .product-block-head {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .product-block-logo {
    align-self: flex-end;
  }
  .product-block-logo img {
    width: min(180px, 55vw);
    max-height: 110px;
  }
}

.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--mdti-slate-200);
}
table.data th, table.data td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--mdti-slate-200);
}
table.data th { background: var(--mdti-slate-900); color: #fff; font-weight: 600; }
table.data tr:last-child td { border-bottom: none; }

.contact-form {
  background: #fff;
  border: 1px solid var(--mdti-slate-200);
  border-radius: 1rem;
  padding: 1.75rem;
  max-width: 36rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--mdti-slate-800);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--mdti-slate-200);
  border-radius: 0.5rem;
  font: inherit;
}
.form-group textarea { min-height: 120px; resize: vertical; }

.footer {
  background: var(--mdti-slate-950);
  color: #94a3b8;
  padding: 2.5rem 1.5rem;
  font-size: 0.85rem;
}
.footer-inner { max-width: 72rem; margin: 0 auto; }
.footer strong { color: #e2e8f0; }
.footer a { color: #5eead4; }
.footer a:hover { color: #99f6e4; }
.footer-brand { margin-bottom: 2rem; }
.footer-brand p { margin: 0.5rem 0 0; color: #94a3b8; max-width: 36rem; }
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  margin-bottom: 2rem;
}
.footer-col h3 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-list li {
  margin-bottom: 1.1rem;
}
.footer-list li:last-child { margin-bottom: 0; }
.footer-list li > strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #f1f5f9;
}
.footer-contact {
  display: block;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #94a3b8;
}
.footer-disclaimer {
  margin: 0 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #64748b;
}
.footer-copy { padding-top: 1.5rem; border-top: 1px solid #334155; }
@media (max-width: 900px) {
  .footer-columns { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* Dedicated product landing pages (e.g. drylogix.html) */
.product-landing-header .page-header-inner {
  max-width: 72rem;
}
.product-landing-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.product-landing-hero-text {
  flex: 1 1 18rem;
  min-width: 0;
}
.product-landing-kicker {
  margin: 0 0 0.75rem !important;
  font-size: 0.85rem;
  color: #94a3b8;
}
.product-landing-kicker a { color: #5eead4; }
.product-landing-hero-text h1 {
  margin: 0.65rem 0 0.75rem;
}
.product-landing-hero-logo {
  flex: 0 0 auto;
}
.product-landing-hero-logo img {
  width: min(260px, 48vw);
  max-height: 160px;
  height: auto;
  display: block;
  object-fit: contain;
}
/* Banner logos without frame (e.g. MDTI mark on Portfolio) */
.portfolio-banner-logo {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.portfolio-banner-logo img {
  width: min(120px, 28vw);
  max-height: 120px;
}
.product-landing-stats {
  margin-bottom: 1.5rem;
}
.product-landing-stats .card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mdti-slate-600);
}
.product-media-placeholder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}
.product-media-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 8.5rem;
  padding: 1rem;
  text-align: center;
  border-radius: 0.85rem;
  border: 1px dashed var(--mdti-slate-200);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  color: var(--mdti-slate-600);
  font-size: 0.9rem;
  font-weight: 600;
}
.product-media-slot small {
  font-weight: 500;
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 640px) {
  .product-landing-hero {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .product-landing-hero-logo {
    align-self: flex-end;
  }
}

.page-header {
  background: var(--mdti-slate-900);
  color: #fff;
  padding: 2.5rem 1.5rem;
}
.page-header-inner { max-width: 72rem; margin: 0 auto; }
.page-header h1 { margin: 0 0 0.5rem; font-size: 2rem; }
.page-header p { margin: 0; color: #94a3b8; max-width: 40rem; }

.hidden { display: none !important; }