/*
 * MarketHK Landing — layout checklist
 * Breakpoints: 1440 / 1024 / 768 / 390
 * Section padding: desktop 80px, tablet 56px, mobile 40px (top/bottom)
 * Container: max-width 1200px, centered, single container per section
 * Typography: H1 44–48px, H2 32–36px, H3 22–24px, body 16–18px, line-height ~1.6
 * Images: max-width 100%, height auto. No horizontal scroll; fix overflow at source.
 */

 :root {
  --mh-red: #C8102E;
  --mh-charcoal: #222;
  --mh-dark: #1a1a2e;
  --mh-container: 1200px;
  --mh-gutter: 24px;
  --mh-section-desktop: 80px;
  --mh-section-tablet: 56px;
  --mh-section-mobile: 40px;
  --mh-h1: clamp(2rem, 4vw, 3rem);
  --mh-h2: clamp(1.5rem, 2.5vw, 2.25rem);
  --mh-h3: clamp(1.25rem, 1.5vw, 1.5rem);
  --mh-body: clamp(1rem, 1.5vw, 1.125rem);
  --mh-line: 1.6;
  --card-bg: #ffffff;
  --card-shadow: 0 12px 30px -15px rgba(35, 35, 50, 0.15);
  --card-hover-shadow: 0 0px 20px 0px rgba(237, 67, 81, 0.15);
  --card-border: rgba(0, 0, 0, 0.06);
}

/* Prevent horizontal scroll; fix overflow at source when possible */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body.landing {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--mh-body);
  line-height: var(--mh-line);
  color: var(--mh-charcoal);
  background: #fff;
}

/* ——— Section scroll fade-in (triggered once when in view) ——— */
main > section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
main > section.mh-section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Single container system ——— */
.mh-container {
  width: 100%;
  max-width: var(--mh-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--mh-gutter);
  padding-right: var(--mh-gutter);
  box-sizing: border-box;
}

/* ——— Section padding ——— */
.mh-section {
  padding-top: var(--mh-section-mobile);
  padding-bottom: var(--mh-section-mobile);
}
@media (min-width: 768px) {
  .mh-section { padding-top: var(--mh-section-tablet); padding-bottom: var(--mh-section-tablet); }
}
@media (min-width: 1024px) {
  .mh-section { padding-top: var(--mh-section-desktop); padding-bottom: var(--mh-section-desktop); }
}

.mh-section-tint { background: #f8fafc; }
.mh-section-white { background: #fff; }

/* SEO Page 1 section with background image */
.mh-section-seo-page1 {
  background-image: url('/assets/images/photo-man-thinking-in-front-of-the-computers.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  text-align: center;
}
.mh-section-seo-page1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}
.mh-section-seo-page1 .mh-container {
  position: relative;
  z-index: 1;
}
.mh-section-seo-page1 .mh-h2,
.mh-section-seo-page1 p {
  text-align: center;
}

/* ——— Typography ——— */
.mh-h1 { font-size: var(--mh-h1); font-weight: 700; margin: 0 0 0.5em; line-height: 1.2; color: var(--mh-charcoal); }
.mh-h2 { font-size: var(--mh-h2); font-weight: 600; margin: 0 0 0.5em; color: var(--mh-charcoal); }
.mh-h3 { font-size: var(--mh-h3); font-weight: 600; margin: 0 0 0.35em; color: var(--mh-charcoal); }
.mh-section-intro { font-size: 1.0625rem; color: #555; margin: 0 0 1.5em; }
.mh-muted { color: #666; font-size: 0.9375rem; }

/* ——— Images ——— */
.landing img,
.mh-hero img,
.mh-section img {
  max-width: 100%;
  height: auto;
  display: block;
}
.mh-img-placeholder {
  max-width: 100%;
  aspect-ratio: 16/10;
  background: #eee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.875rem;
}

/* ——— Navbar ——— */
.mh-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.mh-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0 var(--mh-gutter);
  max-width: var(--mh-container);
  margin: 0 auto;
  box-sizing: border-box;
}
.mh-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--mh-charcoal);
  font-weight: 700;
  font-size: 1.125rem;
}
.mh-nav-logo:hover { color: var(--mh-red); }
.mh-nav-logo img { height: 60px; width: auto; max-width: none; }
.mh-nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .mh-nav-links { display: flex; }
}
.mh-nav-links a:not(.mh-btn) {
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: var(--mh-charcoal);
  font-size: 0.9375rem;
  border-radius: 6px;
}
.mh-nav-links a:hover { color: var(--mh-red); background: #f5f5f5; }
.mh-nav-cta { margin-left: 0.5rem; }
.mh-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
}
.mh-nav-toggle:hover { background: #f0f0f0; }
@media (min-width: 768px) {
  .mh-nav-toggle { display: none; }
}
.mh-nav-toggle-icon { font-size: 1.5rem; line-height: 1; }
.mh-nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--mh-charcoal);
  text-decoration: none;
  border-radius: 6px;
  font-family: inherit;
}
.mh-nav-dropdown-btn:hover { color: var(--mh-red); background: #f5f5f5; }
.mh-nav-dropdown { position: relative; }
.mh-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin-top: 2px;
  padding: 0.5rem 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  list-style: none;
  margin-left: 0;
  z-index: 50;
}
.mh-nav-dropdown-menu.open { display: block; }
.mh-nav-dropdown-menu a { display: block; padding: 0.5rem 1rem; text-decoration: none; color: var(--mh-charcoal); font-size: 0.9375rem; }
.mh-nav-dropdown-menu a:hover { background: #f5f5f5; color: var(--mh-red); }

/* ——— Hero (mh-hero) ——— */
/* Default hero background for all pages (service pages, etc.) */
.mh-hero {
  background-image: url('/assets/images/photo-9c7b4834-214f-4f6a-8874-c028209a059a.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding-top: var(--mh-section-mobile);
  padding-bottom: var(--mh-section-mobile);
}

/* Homepage hero background override */
.mh-hero.mh-hero-homepage {
  background-image: url('/assets/images/photo-5b97ac61-d1c8-4f10-b089-3ea567e6de64.jpg');
}
.mh-hero.mh-hero-seo {
  background-image: url('/assets/images/photo-a-person-checking-statistic-and-pie-charts-using-computer.jpg');
}
.mh-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}
.mh-hero .mh-container {
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .mh-hero { padding-top: var(--mh-section-tablet); padding-bottom: var(--mh-section-tablet); }
}
@media (min-width: 1024px) {
  .mh-hero { padding-top: var(--mh-section-desktop); padding-bottom: var(--mh-section-desktop); }
}
.mh-hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .mh-hero-inner { grid-template-columns: 2fr 1fr; gap: 3rem; }
}
.mh-hero-content h1 { margin-top: 0; }
.mh-hero-content .mh-hero-tag { color: var(--mh-red); font-weight: 600; margin-bottom: 0.5em; font-size: 0.9375rem; }
.mh-hero-content .mh-hero-sub { color: #555; font-size: 1.0625rem; margin: 0 0 1.5rem; }
.mh-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.mh-hero-trust { font-size: 0.875rem; color: #666; margin-top: 0.75rem; }
.mh-hero-media { text-align: center; }
.mh-hero-media img { margin: 0 auto; }

/* ——— Buttons ——— */
.mh-btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mh-btn-primary { background: var(--mh-red); color: #fff; border-color: var(--mh-red); }
.mh-btn-primary:hover { background: #a00d26; border-color: #a00d26; color: #fff; }
.mh-btn-outline { background: transparent; color: var(--mh-charcoal); border-color: #ccc; }
.mh-btn-outline:hover { border-color: var(--mh-red); color: var(--mh-red); }

/* ——— Process section with image ——— */
.mh-process-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}
.mh-process-list {
  margin: 0;
}
.mh-process-image {
  text-align: center;
}
.mh-process-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
@media (min-width: 768px) {
  .mh-process-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

/* ——— Features grid (3 → 2 → 1 col) ——— */
.mh-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .mh-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .mh-features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}
.mh-feature-card {
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: 0.3s all;
}
.mh-feature-card h3 { margin-top: 0; }
.mh-feature-card p { margin: 0; color: #555; font-size: 0.9375rem; }
.mh-feature-card img { margin-bottom: 1rem; border-radius: 8px; }
.mh-feature-card .mh-feature-icon {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: var(--mh-red);
}
.mh-feature-card .mh-feature-icon i { font-size: inherit; }

.mh-feature-card:hover { box-shadow: var(--card-hover-shadow); border-color: #ffb3be; }

.mh-content-strategy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .mh-content-strategy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .mh-content-strategy-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}
.mh-content-strategy-card {
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.mh-content-strategy-pct {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--mh-red);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.mh-content-strategy-card h3 { margin: 0 0 0.5rem; }
.mh-content-strategy-card p { margin: 0; color: #555; font-size: 0.9375rem; }

/* Results section - navy background (matches portal login-hero) */
.mh-section-navy {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a5f 100%);
  position: relative;
  overflow: hidden;
}
.mh-section-navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.mh-section-navy .mh-container { position: relative; z-index: 1; }
.mh-section-navy .mh-h2 { color: #fff; }
.mh-section-navy .mh-section-intro { color: #94a3b8; }
.mh-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .mh-results-grid { gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .mh-results-grid { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
}
.mh-results-card {
  padding: 1.25rem 1.5rem;
  background: #fff;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}
.mh-results-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--mh-red);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.mh-results-label {
  font-size: 0.9375rem;
  color: #555;
}
.mh-section-navy .mh-results-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.mh-section-navy .mh-results-value { color: #fff; }
.mh-section-navy .mh-results-label { color: #94a3b8; }

.mh-products-grid.mh-features-grid { margin-top: 1rem; }
.mh-product-card { display: flex; flex-direction: column; }
.mh-product-card p:last-of-type { margin-top: auto; padding-top: 1rem; }

.mh-services-grid.mh-features-grid { margin-top: 1rem; }
.mh-service-card { display: flex; flex-direction: column; }
.mh-service-card .mh-btn { margin-top: 0.5rem; }

.mh-client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
  margin-top: 1.5rem;
}
.mh-client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}
.mh-client-logo img { max-width: 120px; max-height: 80px; width: auto; height: auto; object-fit: contain; filter: grayscale(0.4); opacity: 0.9; }
.mh-client-logo img:hover { filter: grayscale(0); opacity: 1; }

/* ——— Pricing (equal height cards, button at bottom) ——— */
.mh-pricing-currency-note {
  margin-bottom: 1rem;
}
.mh-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .mh-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .mh-pricing-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .mh-pricing-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .mh-pricing-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .mh-pricing-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .mh-pricing-grid.cols-1 { grid-template-columns: 1fr; }
}
.mh-pricing-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  position: relative;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mh-pricing-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.mh-pricing-card.mh-pricing-popular {
  border-color: var(--mh-red);
  box-shadow: 0 4px 16px rgba(200,16,46,0.12);
}
.mh-pricing-card.mh-pricing-popular:hover {
  box-shadow: 0 6px 20px rgba(200,16,46,0.16);
}
.mh-pricing-card.mh-pricing-emphasis {
  border-color: #0f172a;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
  min-height: 100%;
}
.mh-pricing-card.mh-pricing-emphasis:hover {
  border-color: #020617;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}
.mh-pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mh-red);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mh-pricing-plan-title,
.mh-pricing-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
}
.mh-pricing-card.mh-pricing-popular .mh-pricing-plan-title,
.mh-pricing-card.mh-pricing-popular h3 {
  margin-top: 0.25rem;
}
.mh-pricing-price {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--mh-red);
  line-height: 1.2;
}
.mh-pricing-period {
  font-size: 0.9em;
  font-weight: 500;
  color: #64748b;
}
.mh-pricing-card ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}
.mh-pricing-card ul li {
  padding: 0.4rem 0;
  font-size: 0.9375rem;
  color: #475569;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.4;
}
.mh-pricing-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--mh-red);
  border-radius: 50%;
}
.mh-pricing-card .mh-pricing-cta {
  margin-top: auto;
  padding-top: 0.25rem;
}
.mh-pricing-card .mh-btn {
  width: 100%;
  justify-content: center;
}
.mh-pricing-card .mh-btn:focus-visible {
  outline: 2px solid var(--mh-red);
  outline-offset: 2px;
}

.mh-section-pricing {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 50%, #f8fafc 100%);
}
.mh-pricing-page-title {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #0f172a;
}
.mh-pricing-lead {
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  color: #475569;
}
.mh-pricing-compare-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.mh-pricing-compare-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-align: center;
}
.mh-pricing-compare-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  font-size: 0.9375rem;
}
.mh-pricing-compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
}
.mh-pricing-compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.mh-pricing-compare thead th {
  background: #f8fafc;
  font-weight: 600;
  color: #0f172a;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.mh-pricing-compare tbody th[scope="row"] {
  font-weight: 600;
  color: #334155;
  text-align: left;
  background: #fafbfc;
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: 1px 0 0 #f1f5f9;
}
.mh-pricing-compare td {
  padding: 0.75rem 1rem;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}
.mh-pricing-compare tbody tr:last-child th,
.mh-pricing-compare tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 767px) {
  .mh-pricing-compare-title {
    font-size: 1.125rem;
  }
}

/* Pricing section on navy background - semi-transparent cards */
#pricing.mh-section-navy .mh-pricing-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
#pricing.mh-section-navy .mh-pricing-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
#pricing.mh-section-navy .mh-pricing-card h3 { color: #fff; }
#pricing.mh-section-navy .mh-pricing-price { color: #fff; }
#pricing.mh-section-navy .mh-pricing-card ul li { color: rgba(255,255,255,0.9); }
#pricing.mh-section-navy .mh-pricing-card ul li::before { background: var(--mh-red); }
#pricing.mh-section-navy .mh-pricing-card .mh-btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: transparent;
}
#pricing.mh-section-navy .mh-pricing-card .mh-btn-outline:hover {
  background: #fff;
  color: #1e293b;
  border-color: #fff;
}
#pricing.mh-section-navy .mh-pricing-card .mh-btn-primary {
  background: var(--mh-red);
  color: #fff;
  border-color: var(--mh-red);
}
#pricing.mh-section-navy .mh-pricing-card .mh-btn-primary:hover {
  background: #b01030;
  border-color: #b01030;
  color: #fff;
}
#pricing.mh-section-navy .mh-pricing-card.mh-pricing-popular {
  border-color: rgba(200, 16, 46, 0.6);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(200, 16, 46, 0.25);
}
#pricing.mh-section-navy .mh-pricing-card.mh-pricing-popular:hover {
  border-color: var(--mh-red);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(200, 16, 46, 0.4);
}
.mh-pricing-footnote {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 56em;
}

.mh-pricing-mms-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mh-pricing-mms-block .mh-pricing-mms-title {
  margin-top: 0;
}

.mh-pricing-mms-block .mh-pricing-grid {
  margin-top: 1.5rem;
}

/* ——— Ready-to-Use Content Topics ——— */
#content-topics .mh-section-intro {
  margin-bottom: 1.5rem;
  max-width: 42em;
  color: #555;
}
.mh-content-topics-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .mh-content-topics-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (min-width: 1024px) {
  .mh-content-topics-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.125rem;
  }
}
.mh-content-topic-item {
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--mh-charcoal);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mh-content-topic-item:hover {
  box-shadow: var(--card-hover-shadow);
  border-color: #ffb3be;
}

.mh-content-topics-cta {
  margin-top: 2rem;
  text-align: center;
}

.mh-content-topics-cta .mh-btn {
  min-width: 220px;
}
.mh-section-tint #content-topics .mh-content-topic-item {
  background: #fff;
}

/* ——— Download eDM Checklist ——— */
#checklist .mh-h2 {
  margin-bottom: 1.5rem;
}

.mh-checklist-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.mh-checklist-item {
  display: flex;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 12px;
  gap: 1rem;
}

.mh-section-tint #checklist .mh-checklist-item {
  background: #fff;
}

.mh-checklist-num {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--mh-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.mh-checklist-body {
  flex: 1;
}

.mh-checklist-body .mh-h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.mh-checklist-body p {
  margin: 0;
  color: #4b5563;
}

.mh-checklist-cta {
  margin-top: 2rem;
  text-align: center;
}

.mh-checklist-cta .mh-btn {
  min-width: 220px;
}

/* ——— FAQ accordion ——— */
.mh-faq-list { margin: 0; padding: 0; list-style: none; }
.mh-faq-item { border-bottom: 1px solid #eee; }
.mh-faq-item:first-child { border-top: 1px solid #eee; }
.mh-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border: none;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--mh-charcoal);
  cursor: pointer;
  font-family: inherit;
}
.mh-faq-q:hover { color: var(--mh-red); }
.mh-faq-q::after { content: '+'; font-size: 1.25rem; color: #999; }
.mh-faq-item.open .mh-faq-q::after { content: '−'; }
.mh-faq-a {
  display: none;
  padding: 0 0 1rem;
  font-size: 0.9375rem;
  color: #555;
  line-height: var(--mh-line);
}
.mh-faq-item.open .mh-faq-a { display: block; }

/* ——— Contact ——— */
.mh-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .mh-contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
  .mh-contact-form-col { min-width: 0; }
  .mh-contact-map-col { min-width: 0; }
}
.mh-contact-company {font-size: 1.125rem; font-weight: bold;}
.mh-contact-form .mh-contact-row { margin-bottom: 1.25rem; }
.mh-contact-form label { display: block; margin-bottom: 0.35rem; font-weight: 500; font-size: 0.9375rem; color: var(--mh-charcoal); }
.mh-contact-form input,
.mh-contact-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  box-sizing: border-box;
}
.mh-contact-form textarea { min-height: 140px; resize: vertical; }
.mh-contact-form .mh-btn-primary { margin-top: 0.25rem; padding: 0.65rem 1.25rem; font-weight: 600; }
.mh-required { color: var(--mh-red); }
.mh-contact-map {
  height: 300px;
  min-height: 280px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}
.mh-contact-map iframe { display: block; width: 100%; height: 100%; min-height: 300px; }
.mh-contact-block { font-size: 0.9375rem; color: #555; margin-bottom: 1.5rem; }
.mh-contact-block a { color: var(--mh-red); }
.mh-alert { padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.mh-alert-success { background: #d4edda; color: #155724; }
.mh-alert-error { background: #f8d7da; color: #721c24; }

/* ——— Footer ——— */
.mh-footer {
  padding: var(--mh-section-mobile) var(--mh-gutter);
  text-align: center;
  background: #f5f5f5;
  border-top: 1px solid #eee;
  font-size: 0.9375rem;
  color: #666;
}
@media (min-width: 768px) {
  .mh-footer { padding-top: var(--mh-section-tablet); padding-bottom: var(--mh-section-tablet); }
}
.mh-footer-brand { font-weight: 600; margin: 0 0 0.5rem; color: var(--mh-charcoal); }
.mh-footer-copy { margin: 0 0 1rem; }
.mh-footer-selectors { margin-bottom: 1rem; }
.mh-footer-selectors label { margin-right: 0.5rem; }
.mh-footer-select { padding: 0.35rem 0.5rem; font-size: 0.9375rem; border-radius: 4px; margin-right: 1rem; }
.mh-footer-links { margin: 0; }
.mh-footer-links a { color: var(--mh-red); text-decoration: none; }
.mh-footer-links a:hover { text-decoration: underline; }

/* ——— Service content (nested in mh-container) ——— */
.mh-service-content { margin-top: 1rem; }
.mh-service-content .mh-pricing-grid { margin-top: 1rem; }
.mh-service-cta { margin-top: 1.5rem; }
.mh-cta-band { padding: 1.5rem; background: #f8fafc; border-radius: 12px; margin: 1.5rem 0; text-align: center; }
.mh-cta-band h2 { margin-top: 0; }
.mh-cta-band .mh-btn { margin-top: 0.5rem; }

.mh-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}
.mh-cta-row .mh-btn { margin-top: 0; }

.mh-section-white .mh-cta-band, .mh-section-white .mh-cta-band h2 { color: #fff; }

/* SEO "Looking for SEO & Web Hosting?" section – background image + full-section overlay */
#seo-cta-partner {
  position: relative;
  background-image: url('/assets/images/asian-talking-in-front-of-the-computer.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#seo-cta-partner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(123, 74, 74, 0.8);
  z-index: 0;
  backdrop-filter: blur(3px);
}
#seo-cta-partner .mh-container {
  position: relative;
  z-index: 1;
}
#seo-cta-partner .mh-cta-band {
  background: transparent;
  max-width: 42em;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Dev banner ——— */
.mh-dev-banner {
  background: #ffc107;
  color: #000;
  text-align: center;
  padding: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ——— Blog / article ——— */
.mh-blog-article { max-width: 42em; }
.mh-blog-article h2 { margin-top: 1.5em; }

/* ——— Overflow safety ——— */
.landing svg { max-width: 100%; height: auto; }
.landing pre { overflow-x: auto; max-width: 100%; }
.word-break { word-break: break-word; overflow-wrap: break-word; }

.mh-text-center { text-align: center; }
.mh-py-lg { padding-top: 4rem; padding-bottom: 4rem; }

/* ——— WhatsApp floating button ——— */
.mh-whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mh-whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
  color: #fff;
}
.mh-whatsapp-float:focus {
  outline: 2px solid #25d366;
  outline-offset: 2px;
}
.mh-whatsapp-float svg {
  flex-shrink: 0;
}
