/* ==========================================================================
   Medlab Việt Nam — Google Ads Optimized Medical Landing UI
   Desktop (1440px+), Laptop (1280px), Tablet (768px-1024px), Mobile (360-549px)
   ========================================================================== */

:root {
  --ml-navy: #0c2340;
  --ml-navy-2: #153966;
  --ml-red: #c81e2b;
  --ml-red-hover: #a61622;
  --ml-teal: #0f766e;
  --ml-teal-soft: #ecfdf5;
  --ml-bg: #ffffff;
  --ml-bg-soft: #f4f8fc;
  --ml-border: #e2e8f0;
  --ml-text: #1e293b;
  --ml-muted: #475569;
  --ml-radius: 14px;
  --ml-shadow-sm: 0 2px 10px rgba(12, 35, 64, 0.06);
  --ml-shadow-md: 0 10px 30px rgba(12, 35, 64, 0.10);
  --ml-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: clip;
}

body {
  font-family: var(--ml-font) !important;
  color: var(--ml-text);
  background-color: var(--ml-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body, p, li, input, select, textarea, button {
  font-family: var(--ml-font);
}

h1, h2, h3, h4, h5, h6, .nav > li > a {
  font-family: var(--ml-font) !important;
  letter-spacing: -0.015em;
}

/* ---------- Header & Navigation (Solid, Crisp, No Wrapping) ---------- */
#header,
.header-wrapper,
.header-main,
.header-wrapper.stuck .header-main {
  background-color: #ffffff !important;
  opacity: 1 !important;
}

.header-main {
  min-height: 74px;
  border-bottom: 1px solid rgba(15, 41, 66, 0.08);
  box-shadow: 0 2px 12px rgba(12, 35, 64, 0.05);
}

#logo img {
  max-height: 52px !important;
  width: auto !important;
  padding: 2px 0;
}

.header-nav-main > li {
  margin: 0 10px !important;
}

.header-nav-main > li > a {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--ml-navy) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  padding: 8px 4px !important;
  transition: color 0.18s ease;
}

.header-nav-main > li > a:hover,
.header-nav-main > li.current-menu-item > a {
  color: var(--ml-red) !important;
}

/* Header Hotline CTA Button */
.header-button .button,
.header-nav-main .html_nav_position_text .button {
  background-color: var(--ml-red) !important;
  border-color: var(--ml-red) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  padding: 0 18px !important;
  min-height: 40px !important;
  line-height: 40px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: 0 4px 12px rgba(200, 30, 43, 0.25) !important;
  white-space: nowrap !important;
  margin-bottom: 0 !important;
}

.header-button .button:hover {
  background-color: var(--ml-red-hover) !important;
  border-color: var(--ml-red-hover) !important;
}

/* Mobile Sidebar Polish (Solid White, Above Everything) */
.off-canvas-left .mfp-content,
.off-canvas-right .mfp-content,
.mobile-sidebar {
  background-color: #ffffff !important;
  opacity: 1 !important;
}

.mobile-sidebar .nav-sidebar > li > a {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--ml-navy) !important;
  padding: 14px 20px !important;
  text-transform: none !important;
}

.mobile-sidebar .header-button {
  padding: 16px 20px !important;
}

.mobile-sidebar .header-button .button {
  width: 100%;
  text-align: center;
}

/* Remove default page padding on front page */
.home #main .page-wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.home #content > p:empty {
  display: none;
}

/* ---------- Generic Layout Container ---------- */
.ml-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ml-section {
  padding: 72px 0;
  position: relative;
}

.ml-section--soft {
  background: var(--ml-bg-soft);
}

.ml-section--white {
  background: #ffffff;
}

.ml-section--navy {
  background: linear-gradient(135deg, #0a1f38 0%, #12355e 100%);
  color: #ffffff;
}

.ml-section-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 44px;
}

.ml-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ml-red);
  background: rgba(200, 30, 43, 0.09);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.ml-section--navy .ml-eyebrow {
  color: #fda4af;
  background: rgba(255, 255, 255, 0.12);
}

.ml-section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ml-navy);
  margin: 0 0 12px;
  text-wrap: balance;
}

.ml-section--navy .ml-section-head h2 {
  color: #ffffff;
}

.ml-section-head p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ml-muted);
  margin: 0;
}

.ml-section--navy .ml-section-head p {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Buttons ---------- */
.ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.16s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ml-btn:hover {
  transform: translateY(-1px);
}

.ml-btn--primary {
  background: var(--ml-red);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(200, 30, 43, 0.30);
}

.ml-btn--primary:hover {
  background: var(--ml-red-hover);
  box-shadow: 0 10px 24px rgba(200, 30, 43, 0.36);
}

.ml-btn--outline-white {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.ml-btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.20);
  border-color: #ffffff;
}

.ml-btn--navy {
  background: var(--ml-navy);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(12, 35, 64, 0.22);
}

.ml-btn--navy:hover {
  background: var(--ml-navy-2);
}

/* ---------- 1. HERO SECTION (Instant Paint, Works on ALL Viewports) ---------- */
.ml-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(200, 30, 43, 0.20) 0%, transparent 45%),
    radial-gradient(circle at 12% 85%, rgba(15, 118, 110, 0.18) 0%, transparent 42%),
    linear-gradient(135deg, #0b223d 0%, #12345c 55%, #164070 100%);
  color: #ffffff;
  padding: 58px 0 64px;
  position: relative;
  overflow: hidden;
}

.ml-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.ml-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.ml-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
  flex-shrink: 0;
}

.ml-hero h1 {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 18px;
}

.ml-hero__lead {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(241, 245, 249, 0.90);
  margin: 0 0 26px;
  max-width: 600px;
}

.ml-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.ml-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ml-hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.90);
}

.ml-hero__trust-item svg {
  color: #34d399;
  flex-shrink: 0;
}

/* Hero Right Quick Card */
.ml-hero-card {
  background: #ffffff;
  color: var(--ml-text);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(6, 18, 36, 0.30);
}

.ml-hero-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ml-navy);
  margin: 0 0 6px;
}

.ml-hero-card__sub {
  font-size: 14px;
  color: var(--ml-muted);
  margin: 0 0 20px;
  line-height: 1.5;
}

.ml-hero-card__list {
  list-style: none !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  display: grid;
  gap: 12px;
}

.ml-hero-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ml-text);
  margin: 0 !important;
}

.ml-hero-card__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ml-teal-soft);
  color: var(--ml-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.ml-hero-card__quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ml-hero-card__quick-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  text-align: center;
}

.ml-hero-card__link-book {
  background: var(--ml-red);
  color: #ffffff !important;
}

.ml-hero-card__link-book:hover {
  background: var(--ml-red-hover);
}

.ml-hero-card__link-lookup {
  background: var(--ml-bg-soft);
  color: var(--ml-navy) !important;
  border: 1px solid var(--ml-border);
}

.ml-hero-card__link-lookup:hover {
  background: #e6eff8;
}

.ml-hero-card__hours {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ml-border);
  font-size: 13px;
  color: var(--ml-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.ml-hero-card__hours strong {
  color: var(--ml-navy);
}

/* ---------- 2. WHY CHOOSE US (4 Cards) ---------- */
.ml-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.ml-card {
  background: #ffffff;
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  padding: 26px 22px;
  box-shadow: var(--ml-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.ml-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ml-shadow-md);
  border-color: #cbd5e1;
}

.ml-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(200, 30, 43, 0.09);
  color: var(--ml-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.ml-icon-badge--teal {
  background: var(--ml-teal-soft);
  color: var(--ml-teal);
}

.ml-icon-badge--navy {
  background: rgba(12, 35, 64, 0.08);
  color: var(--ml-navy);
}

.ml-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ml-navy);
  margin: 0 0 10px;
  line-height: 1.35;
}

.ml-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ml-muted);
  margin: 0;
}

/* ---------- 3. SERVICES GRID (6 Services) ---------- */
.ml-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ml-service-card {
  background: #ffffff;
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  padding: 28px 24px;
  box-shadow: var(--ml-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ml-service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ml-shadow-md);
  border-color: rgba(200, 30, 43, 0.35);
}

.ml-service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 18px;
}

.ml-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--ml-navy);
  background: var(--ml-bg-soft);
  border: 1px solid #dbe6f3;
  padding: 4px 10px;
  border-radius: 999px;
}

.ml-service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ml-red) !important;
  text-decoration: none !important;
  padding-top: 12px;
  border-top: 1px solid var(--ml-border);
}

.ml-service-card__cta:hover {
  color: var(--ml-red-hover) !important;
  gap: 9px;
}

/* ---------- 4. 4-STEP PROCESS + STATS STRIP ---------- */
.ml-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 42px;
}

.ml-step-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--ml-radius);
  padding: 24px 20px;
}

.ml-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ml-red);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
}

.ml-step-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.ml-step-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.ml-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
}

.ml-stat__num {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 6px;
}

.ml-stat__label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.80);
  margin: 0;
}

/* ---------- 5. RESULT LOOKUP / GUIDE SECTION ---------- */
.ml-lookup-box {
  background: #ffffff;
  border: 1px solid var(--ml-border);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--ml-shadow-sm);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.ml-lookup-box h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--ml-navy);
  margin: 0 0 12px;
}

.ml-lookup-box p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ml-muted);
  margin: 0 0 18px;
}

.ml-lookup-steps {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  gap: 10px;
}

.ml-lookup-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ml-text);
  margin: 0 !important;
}

.ml-lookup-cta-panel {
  background: var(--ml-bg-soft);
  border: 1px solid #dbe6f3;
  border-radius: 14px;
  padding: 26px;
  text-align: center;
}

.ml-lookup-cta-panel h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ml-navy);
  margin: 0 0 8px;
}

.ml-lookup-cta-panel p {
  font-size: 14px;
  margin: 0 0 18px;
}

/* ---------- 6. TESTIMONIALS ---------- */
.ml-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ml-review-card {
  background: #ffffff;
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  padding: 28px;
  box-shadow: var(--ml-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.ml-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.ml-review-card blockquote {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ml-text);
  font-style: normal;
}

.ml-review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--ml-border);
}

.ml-review-author img {
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border: 2px solid #e2e8f0;
  flex-shrink: 0;
}

.ml-review-author strong {
  display: block;
  font-size: 15px;
  color: var(--ml-navy);
}

.ml-review-author span {
  font-size: 13px;
  color: var(--ml-muted);
}

/* ---------- 7. FAQ ACCORDION ---------- */
.ml-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.ml-faq-item {
  background: #ffffff;
  border: 1px solid var(--ml-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--ml-shadow-sm);
}

.ml-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ml-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.ml-faq-item summary::-webkit-details-marker {
  display: none;
}

.ml-faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 500;
  color: var(--ml-red);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ml-faq-item[open] summary::after {
  content: '−';
}

.ml-faq-item__body {
  padding: 0 22px 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ml-muted);
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

/* ---------- 8. BOOKING FORM & CONTACT SECTION ---------- */
.ml-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}

.ml-form-card {
  background: #ffffff;
  border: 1px solid var(--ml-border);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--ml-shadow-md);
}

.ml-form-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--ml-navy);
  margin: 0 0 6px;
}

.ml-form-card__sub {
  font-size: 14.5px;
  color: var(--ml-muted);
  margin: 0 0 22px;
}

/* Contact Form 7 Styling */
.ml-cf7-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.ml-cf7-full {
  grid-column: 1 / -1;
}

.ml-cf7-field label {
  display: block;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--ml-navy) !important;
  margin-bottom: 6px !important;
}

.ml-cf7-field input[type="text"],
.ml-cf7-field input[type="tel"],
.ml-cf7-field input[type="email"],
.ml-cf7-field select,
.ml-cf7-field textarea {
  width: 100% !important;
  height: auto !important;
  min-height: 46px !important;
  padding: 10px 14px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background-color: #f8fafc !important;
  color: var(--ml-text) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.ml-cf7-field select {
  display: inline-flex !important;
  align-items: center !important;
  height: 46px !important;
  overflow: hidden !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  padding-right: 40px !important;
  cursor: pointer;
}

.ml-cf7-field select::picker-icon {
  display: none !important;
}

.ml-cf7-field input[type="text"]:focus,
.ml-cf7-field input[type="tel"]:focus,
.ml-cf7-field input[type="email"]:focus,
.ml-cf7-field select:focus,
.ml-cf7-field textarea:focus {
  border-color: var(--ml-navy) !important;
  background-color: #ffffff !important;
  outline: none !important;
}

.ml-cf7-field textarea {
  min-height: 92px !important;
  resize: vertical;
}

.wpcf7 .wpcf7-not-valid-tip {
  background: transparent !important;
  padding: 0 !important;
  margin-top: 6px !important;
  opacity: 1 !important;
  font-size: 12.5px !important;
  font-weight: 600;
  color: var(--ml-red) !important;
}

.wpcf7 .wpcf7-not-valid-tip::after {
  display: none !important;
  content: none !important;
}

.ml-cf7-consent {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ml-muted);
  margin: 4px 0;
}

.ml-cf7-consent label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400 !important;
  cursor: pointer;
}

.ml-cf7-consent input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin-top: 3px !important;
  flex-shrink: 0;
}

.ml-cf7-consent a {
  color: var(--ml-red);
  font-weight: 600;
  text-decoration: underline;
}

.ml-cf7-submit {
  width: 100% !important;
  min-height: 50px !important;
  background: var(--ml-red) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
  margin-top: 6px !important;
  box-shadow: 0 8px 20px rgba(200, 30, 43, 0.25) !important;
}

.ml-cf7-submit:hover {
  background: var(--ml-red-hover) !important;
}

.wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600;
}

.wpcf7-not-valid-tip {
  font-size: 12.5px !important;
  color: var(--ml-red) !important;
  margin-top: 4px;
}

/* Right Contact Info Card */
.ml-info-card {
  background: var(--ml-navy);
  color: #ffffff;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: var(--ml-shadow-md);
}

.ml-info-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 18px;
}

.ml-info-list {
  list-style: none !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  display: grid;
  gap: 16px;
}

.ml-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 !important;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.90);
}

.ml-info-list a {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
}

.ml-info-list a:hover {
  text-decoration: underline;
}

.ml-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fda4af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ml-disclaimer-box {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #34d399;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.ml-disclaimer-box strong {
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}

/* ---------- Legal / Content Subpages ---------- */
.ml-legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.ml-legal-page h1 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--ml-navy);
  margin-bottom: 10px;
}

.ml-legal-meta {
  font-size: 13.5px;
  color: var(--ml-muted);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ml-border);
}

.ml-legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ml-navy);
  margin: 28px 0 10px;
}

.ml-legal-page p,
.ml-legal-page li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ml-text);
}

.ml-legal-notice {
  background: var(--ml-bg-soft);
  border: 1px solid #dbe6f3;
  border-left: 4px solid var(--ml-red);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 24px 0;
}

/* ---------- Footer Polish ---------- */
.footer-wrapper .footer-2 {
  background-color: #0b1c30 !important;
  color: rgba(255, 255, 255, 0.86) !important;
  padding: 48px 0 28px !important;
}

.footer-wrapper .widget-title {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

.footer-wrapper .is-divider {
  background-color: var(--ml-red) !important;
  margin: 10px 0 16px !important;
}

.footer-wrapper .footer-2 a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14.5px;
}

.footer-wrapper .footer-2 a:hover {
  color: #ffffff !important;
}

.footer-wrapper .absolute-footer {
  background-color: #071424 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  padding: 18px 0 !important;
  font-size: 13px !important;
}

.footer-wrapper .absolute-footer a {
  color: rgba(255, 255, 255, 0.84) !important;
}

.footer-wrapper .footer-primary .links > li {
  margin: 0 10px 0 0;
}

.ml-footer-contact-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 10px;
}

.ml-footer-contact-list li {
  margin: 0 !important;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

/* ---------- Mobile Sticky Action Bar ---------- */
.ml-mobile-bar {
  display: none;
}

/* ==========================================================================
   TABLET BREAKPOINT (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .ml-container {
    padding: 0 20px;
  }

  .ml-section {
    padding: 56px 0;
  }

  .ml-hero {
    padding: 44px 0 50px;
  }

  .ml-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ml-hero__lead {
    max-width: 100%;
  }

  .ml-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .ml-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .ml-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .ml-stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .ml-lookup-box {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 22px;
  }

  .ml-contact-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* Tablet header spacing */
  .header-main {
    min-height: 68px;
  }

  #logo img {
    max-height: 46px !important;
  }

  .header-nav-main > li {
    margin: 0 6px !important;
  }

  .header-nav-main > li > a {
    font-size: 13px !important;
  }
}

/* ==========================================================================
   MOBILE BREAKPOINT (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .ml-container {
    padding: 0 16px;
  }

  .ml-section {
    padding: 44px 0;
  }

  .ml-section-head {
    margin-bottom: 28px;
  }

  .ml-section-head h2 {
    font-size: 24px;
  }

  .ml-section-head p {
    font-size: 15px;
  }

  .header-main {
    min-height: 62px;
  }

  #logo img {
    max-height: 36px !important;
  }

  .header-main .header-button .button {
    padding: 0 10px !important;
    font-size: 12px !important;
    min-height: 34px !important;
    line-height: 34px !important;
  }

  .ml-hero {
    padding: 32px 0 38px;
  }

  .ml-hero__badge {
    font-size: 11.5px;
    padding: 6px 11px;
    margin-bottom: 14px;
    white-space: nowrap;
  }

  .ml-hero h1 {
    font-size: 27px;
    line-height: 1.24;
    margin-bottom: 14px;
  }

  .ml-hero__lead {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .ml-hero__actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .ml-hero__actions .ml-btn {
    width: 100%;
  }

  .ml-hero__trust {
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
  }

  .ml-hero-card {
    padding: 20px 18px;
  }

  .ml-hero-card__quick-links {
    grid-template-columns: 1fr;
  }

  .ml-why-grid,
  .ml-services-grid,
  .ml-steps-grid,
  .ml-reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ml-card,
  .ml-service-card,
  .ml-review-card {
    padding: 20px 18px;
  }

  .ml-stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 20px 14px;
    gap: 16px 10px;
  }

  .ml-stat__num {
    font-size: 24px;
  }

  .ml-stat__label {
    font-size: 12.5px;
  }

  .ml-lookup-box {
    padding: 22px 18px;
  }

  .ml-lookup-cta-panel {
    padding: 20px 16px;
  }

  .ml-form-card,
  .ml-info-card {
    padding: 22px 18px;
  }

  .ml-cf7-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ml-faq-item summary {
    padding: 15px 16px;
    font-size: 14.5px;
  }

  .ml-faq-item__body {
    padding: 12px 16px 16px;
    font-size: 14px;
  }

  /* Mobile Sticky Bottom Action Bar (below off-canvas drawer z-index 1042) */
  .ml-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--ml-border);
    box-shadow: 0 -4px 16px rgba(12, 35, 64, 0.12);
    backdrop-filter: blur(8px);
  }

  .ml-mobile-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    color: #ffffff !important;
    padding: 0 10px;
    white-space: nowrap;
  }

  .ml-mobile-bar__call {
    background: var(--ml-red);
  }

  .ml-mobile-bar__book {
    background: var(--ml-navy);
  }

  .footer-wrapper .absolute-footer .container {
    text-align: center;
  }
}
