:root {
  --mv-primary: #183c30;
  --mv-primary-deep: #122c24;
  --mv-accent: #7d9481;
  --mv-accent-soft: #8ba28a;
  --mv-dark: #183c30;
  --mv-text: #2f433a;
  --mv-muted: #5a6f66;
  --mv-bg: #e9ede7;
  --mv-bg-wash: linear-gradient(165deg, #e9ede7 0%, #dfe8e1 45%, #f3f6f2 100%);
  --mv-white: #ffffff;
  --mv-cream: #f3f6f2;
  --mv-card: #ffffff;
  --mv-border: rgba(24, 60, 48, 0.12);
  --mv-shadow: 0 8px 28px rgba(24, 60, 48, 0.08);
  --mv-shadow-lg: 0 18px 42px rgba(24, 60, 48, 0.12);
  --mv-radius: 12px;
  --mv-radius-sm: 8px;
  --mv-max: 1120px;
  --mv-font: "Montserrat", system-ui, sans-serif;
  --mv-display: "Montserrat", system-ui, sans-serif;
  --mv-wa: #25d366;
}

*, *::before, *::after { box-sizing: border-box; }

body.mv-body {
  margin: 0;
  font-family: var(--mv-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--mv-text);
  background: var(--mv-bg);
  background-image: var(--mv-bg-wash);
  min-height: 100vh;
}

a.mv-link { color: var(--mv-primary); text-decoration: none; font-weight: 600; }
a.mv-link:hover { color: var(--mv-accent); }

.mv-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7faf7 100%);
  border: 1px solid var(--mv-border);
  border-radius: var(--mv-radius);
  box-shadow: var(--mv-shadow);
}

.mv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 13px 24px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--mv-radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.mv-btn:hover { transform: translateY(-1px); }
.mv-btn--primary {
  background: var(--mv-primary);
  color: #fff;
}
.mv-btn--primary:hover { background: var(--mv-accent); color: #fff; }
.mv-btn--outline {
  background: transparent;
  color: var(--mv-primary);
  border: 2px solid var(--mv-primary);
}
.mv-btn--outline:hover { background: var(--mv-primary); color: #fff; }

.mv-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(24, 60, 48, 0.1);
  color: var(--mv-dark);
  white-space: nowrap;
}
.mv-tag--ok { background: rgba(125, 148, 129, 0.28); }
.mv-tag--warn { background: rgba(217, 149, 61, 0.28); }
.mv-tag--status { background: rgba(24, 60, 48, 0.16); }

/* Shared brand mark (SVG mark + MED VAPOUR wordmark) */
.mv-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 1;
  min-width: 0;
  max-width: 100%;
}
.mv-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  max-width: 100%;
  min-width: 0;
}
.mv-logo__icon {
  width: var(--mv-logo-icon, 20px);
  height: var(--mv-logo-icon, 20px);
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
}
.mv-logo img.mv-logo__word {
  display: block;
  height: 13px !important;
  width: auto !important;
  max-height: 13px;
  max-width: min(148px, 42vw);
  flex: 0 1 auto;
  min-width: 0;
  object-fit: contain;
  object-position: left center;
}
.mv-logo--light .mv-logo__icon,
.mv-logo--light .mv-logo__word {
  filter: brightness(1.15);
}

img { max-width: 100%; height: auto; }

@media (max-width: 640px) {
  .mv-logo img.mv-logo__word {
    height: 11px !important;
    max-height: 11px;
    max-width: min(128px, 44vw);
  }
}

@media (max-width: 380px) {
  .mv-logo img.mv-logo__word {
    height: 10px !important;
    max-height: 10px;
    max-width: min(112px, 42vw);
  }
}

/* Floating contact buttons (SMS + WhatsApp) */
.mv-contact-fabs {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.mv-fab {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mv-fab:hover {
  transform: scale(1.06);
  color: #fff;
}
.mv-fab svg { width: 28px; height: 28px; }
.mv-fab span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.mv-wa-fab {
  background: var(--mv-wa, #25d366);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}
.mv-wa-fab:hover {
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.mv-sms-fab {
  background: #0b6bcb;
  box-shadow: 0 8px 24px rgba(11, 107, 203, 0.4);
}
.mv-sms-fab:hover {
  box-shadow: 0 12px 28px rgba(11, 107, 203, 0.55);
  background: #0959a8;
}

/* Marketing index: hide SMS FAB on desktop / tablet landscape */
@media (min-width: 769px) {
  .mv-contact-fabs--sms-mobile .mv-sms-fab {
    display: none;
  }
}

@media (max-width: 480px) {
  .mv-contact-fabs {
    right: 1rem;
    bottom: 1rem;
    gap: 0.55rem;
  }
  .mv-fab {
    width: 52px;
    height: 52px;
  }
  .mv-fab svg { width: 26px; height: 26px; }
}

/* Terms and Conditions (QMS) */
.mv-terms-section {
  padding: 3.5rem 0 4rem;
  background: var(--mv-cream, #f3f6f2);
  border-top: 1px solid var(--mv-border);
}
.mv-terms-section .wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.mv-terms {
  background: #fff;
  border: 1px solid var(--mv-border);
  border-radius: var(--mv-radius, 12px);
  box-shadow: var(--mv-shadow);
  padding: 2rem 1.75rem 2.5rem;
  color: var(--mv-text);
  font-size: 15px;
  line-height: 1.65;
}
.mv-terms h1 {
  font-family: var(--mv-display, inherit);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--mv-dark);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.mv-terms-updated {
  color: var(--mv-muted);
  font-size: 13px;
  margin: 0 0 1.5rem;
}
.mv-terms h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mv-primary, #183c30);
  margin: 1.75rem 0 0.65rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--mv-border);
}
.mv-terms h2:first-of-type {
  border-top: none;
  padding-top: 0;
}
.mv-terms h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mv-dark);
  margin: 1.15rem 0 0.4rem;
}
.mv-terms p {
  margin: 0 0 0.75rem;
}
.mv-terms ul {
  margin: 0 0 0.9rem;
  padding-left: 1.25rem;
}
.mv-terms li {
  margin: 0.25rem 0;
}
.mv-terms a {
  color: var(--mv-primary);
  font-weight: 600;
  text-decoration: none;
}
.mv-terms a:hover {
  color: var(--mv-accent);
  text-decoration: underline;
}
.mv-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  margin: 0 0 1rem;
  font-size: 14px;
}
.mv-legal-cards {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.mv-legal-cards a {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--mv-border);
  border-radius: var(--mv-radius-sm, 8px);
  background: var(--mv-cream, #f3f6f2);
  text-decoration: none;
  color: inherit;
  font-weight: 400;
}
.mv-legal-cards a:hover {
  border-color: var(--mv-primary);
  background: #fff;
  text-decoration: none;
}
.mv-legal-cards strong {
  font-size: 1.05rem;
  color: var(--mv-primary);
}
.mv-legal-cards span {
  font-size: 14px;
  color: var(--mv-text);
  line-height: 1.5;
}
.mv-legal-cards em {
  font-style: normal;
  font-size: 12px;
  color: var(--mv-muted);
}
@media (max-width: 640px) {
  .mv-terms {
    padding: 1.5rem 1.15rem 2rem;
  }
  .mv-terms h1 { font-size: 1.3rem; }
}
