/**
 * CRO conversion UI — keeps DigeeMed brand colors/layout; additive only.
 */
:root {
  --cro-dark: #0f110f;
  --cro-teal: #1f7a6a;
  --cro-wa: #25d366;
}

/* Nav Free Audit — matched with WhatsApp nav CTA */
.btn-audit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cro-dark) !important;
  color: #fff !important;
  border: 1px solid var(--cro-dark) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 0.5rem 1rem;
  min-height: 42px;
  border-radius: 8px;
  text-decoration: none !important;
  margin: 0 0.25rem;
  white-space: nowrap;
  line-height: 1.2;
  box-sizing: border-box;
}
.btn-audit:hover {
  background: transparent !important;
  color: var(--cro-dark) !important;
}

.btn-wa-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #128c7e !important;
  color: #ffffff !important;
  border: 1px solid #128c7e !important;
  font-weight: 700;
  font-size: 15px;
  padding: 0.5rem 1rem;
  min-height: 42px;
  border-radius: 8px;
  text-decoration: none !important;
  margin: 0 0.25rem;
  white-space: nowrap;
  line-height: 1.2;
  width: auto !important;
  box-sizing: border-box;
}
.btn-wa-nav:hover {
  background: var(--cro-dark) !important;
  border-color: var(--cro-dark) !important;
  color: #ffffff !important;
}

.menu-item .btn-wa-nav {
  font-size: 15px;
  padding: 0.5rem 1rem;
  width: auto;
}

.form-offer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cro-dark);
  margin: 0 0 0.35rem;
  text-align: center;
}
.form-offer-sla {
  font-size: 0.9rem;
  color: #3b3b3b;
  margin: 0 0 1rem;
  text-align: center;
  line-height: 1.45;
}
.form_doctor .form-offer-title,
.form_doctor .form-offer-sla {
  text-align: left;
}
.form-pricing-signal {
  font-size: 0.85rem;
  color: #3b3b3b;
  margin: 0.75rem 0 0;
  text-align: center;
}

/* ========== Free Audit modal — DigeeMed brand theme ========== */
.audit-modal .modal-dialog {
  max-width: 560px;
  margin: 1.25rem auto;
}

.audit-modal__content {
  border: 0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(15, 17, 15, 0.22) !important;
  background: #ffffff;
}

.audit-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1.35rem 1rem !important;
  margin: 0 !important;
  border-bottom: 0 !important;
  background: linear-gradient(135deg, #edf7f5 0%, #e1f2ee 55%, #d7ebe6 100%);
  position: relative;
}

.audit-modal__header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #1f7a6a 0%, #50af9b 55%, #2cbca5 100%);
}

.audit-modal__heading {
  min-width: 0;
  padding-right: 0.5rem;
}

.audit-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f7a6a;
}

.audit-modal__header .modal-title {
  margin: 0;
  color: #0f110f !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  line-height: 1.35 !important;
  font-family: "Lexend Deca", system-ui, sans-serif;
}

.audit-modal__close {
  margin: 0 !important;
  padding: 0.45rem !important;
  border-radius: 8px;
  background-color: rgba(15, 17, 15, 0.06) !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.audit-modal__close:hover,
.audit-modal__close:focus {
  background-color: rgba(31, 122, 106, 0.18) !important;
  opacity: 1 !important;
}

.audit-modal__body {
  padding: 1.15rem 1.35rem 1.4rem !important;
  background: #ffffff;
}

.audit-modal__sla {
  text-align: left !important;
  margin: 0 0 1.1rem !important;
  padding: 0.75rem 0.85rem;
  background: #f6fafa;
  border-left: 3px solid #1f7a6a;
  border-radius: 0 8px 8px 0;
  color: #3b3b3b !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
}

.audit-modal__form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f110f;
}

.audit-modal__form .form-control {
  min-height: 44px;
  border: 1px solid #c9ddd7 !important;
  border-radius: 8px !important;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  color: #0f110f;
  background: #ffffff;
  box-shadow: none !important;
}

.audit-modal__form .form-control::placeholder {
  color: #7a8a86;
}

.audit-modal__form .form-control:focus {
  border-color: #1f7a6a !important;
  box-shadow: 0 0 0 3px rgba(31, 122, 106, 0.2) !important;
  outline: none;
}

.audit-modal__form select.form-control {
  appearance: auto;
  cursor: pointer;
}

.audit-modal__submit.btn_form,
.audit-modal__form .btn_form {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 48px;
  margin-top: 0.15rem;
  padding: 0.75rem 1rem !important;
  border-radius: 8px !important;
  border: 1px solid #0f110f !important;
  background: #0f110f !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease;
}

.audit-modal__submit.btn_form:hover,
.audit-modal__form .btn_form:hover {
  background: #1f7a6a !important;
  border-color: #1f7a6a !important;
  color: #ffffff !important;
}

.audit-modal__form .form-pricing-signal {
  margin-top: 0.85rem;
  color: #5a6b67;
  font-size: 0.82rem;
  line-height: 1.4;
}

.audit-modal__form .form-error.is-visible {
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: #fdecec;
  border: 1px solid #e7b0b0;
}

.audit-modal__form .confirmation1.is-visible {
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: #edf7f5;
  border: 1px solid #b7ddd4;
  color: #1f7a6a;
  font-weight: 600;
}

@media (max-width: 575px) {
  .audit-modal .modal-dialog {
    margin: 0.75rem;
  }

  .audit-modal__header,
  .audit-modal__body {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .audit-modal__header .modal-title {
    font-size: 1.05rem !important;
  }
}

/* WhatsApp FAB response badge */
.whatsapp-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  bottom: 15px;
  right: 15px;
}
.whatsapp-button .wa-response {
  display: block;
  margin-top: 4px;
  background: var(--cro-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Mobile sticky contact bar */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: #fff;
  border-top: 1px solid #ddd;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
}
.mobile-sticky-cta a {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.2;
}
.mobile-sticky-cta__wa {
  background: var(--cro-wa);
  color: #fff !important;
}
.mobile-sticky-cta__call {
  background: var(--cro-dark);
  color: #fff !important;
}

@media (max-width: 767px) {
  .mobile-sticky-cta {
    display: flex;
  }
  .whatsapp-button {
    bottom: 72px;
  }
  body {
    padding-bottom: 64px;
  }
}

/* Blog / inline lead CTA box */
.blog-cta-box {
  background: #edf7f5;
  border-left: 4px solid var(--cro-teal);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.blog-cta-box h3,
.blog-cta-box .blog-cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cro-dark);
  margin: 0 0 0.5rem;
}
.blog-cta-box p {
  margin: 0 0 1rem;
  color: #3b3b3b;
  font-size: 0.95rem;
}
.blog-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.blog-cta-actions .btn-audit {
  margin: 0;
}
.blog-cta-actions .btn-wa-inline {
  display: inline-block;
  background: var(--cro-wa);
  color: #fff !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none !important;
}

.thankyou-next {
  text-align: left;
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  color: #3b3b3b;
}
.thankyou-next ol {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}
.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}
.thankyou-actions a {
  display: inline-block;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 8px;
}
.thankyou-actions .btn_thank {
  margin-top: 0;
}
.thankyou-actions .btn-wa {
  background: var(--cro-wa);
  color: #fff !important;
}
.thankyou-actions .btn-call {
  background: var(--cro-dark);
  color: #fff !important;
}

.testimonial-meta {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  font-weight: 500;
}

/* ========== Homepage explore services — responsive cards ========== */
.explore-services {
  background: #e0f2ec;
  padding: 2.5rem 0 3rem;
}

.explore-services__inner {
  max-width: 1100px;
}

.explore-services__intro {
  margin-bottom: 1.5rem;
}

.explore-services__title {
  text-align: center !important;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem) !important;
  line-height: 1.25 !important;
  margin: 0 0 0.5rem !important;
  color: #0f110f;
}

.explore-services__subtitle {
  max-width: 36rem;
  margin: 0 auto !important;
  text-align: center !important;
  padding: 0 !important;
  color: #3b3b3b !important;
  font-size: 1rem !important;
}

.explore-services__grid {
  margin-bottom: 0.5rem;
}

.explore-services__card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.35rem;
  height: 100%;
  min-height: 7.5rem;
  padding: 1.15rem 1.2rem;
  background: #ffffff;
  border: 1px solid #c9ddd7;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15, 17, 15, 0.06);
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.explore-services__card:hover,
a.explore-services__card:focus {
  border-color: #1f7a6a;
  box-shadow: 0 8px 22px rgba(31, 122, 106, 0.14);
  transform: translateY(-2px);
  outline: none;
}

.explore-services__card-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1f7a6a !important;
  text-decoration: none !important;
}

.explore-services__card-desc {
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #3b3b3b;
}

.explore-services__card--split {
  flex-wrap: wrap;
  flex-direction: row;
  align-items: baseline;
  gap: 0.35rem 0.4rem;
}

.explore-services__card--split .explore-services__card-desc {
  flex: 1 0 100%;
  margin-top: 0.15rem;
}

.explore-services__card-sep {
  color: #7a8a86;
  font-weight: 700;
}

.explore-services__cta {
  margin-top: 2.25rem;
  padding: 1.75rem 1.25rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #c9ddd7;
  box-shadow: 0 4px 14px rgba(15, 17, 15, 0.05);
}

.explore-services__cta-title {
  margin: 0 0 0.65rem;
  color: #0f110f;
  font-size: clamp(1.35rem, 3vw, 1.85rem) !important;
  font-weight: 700;
  line-height: 1.25 !important;
}

.explore-services__cta-copy {
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  color: #3b3b3b;
  font-size: 0.98rem;
  line-height: 1.6;
}

.explore-services__cta-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0 auto;
}

/* Keep process/cluster blocks readable inside mint band */
.explore-services .process-section,
/* ===== Hero highlight + header clearance (UI overlap fix) ===== */
.hading {
  background-image: none !important;
}

.hading h1 {
  line-height: 1.15 !important;
  max-width: 18ch;
}

.hading .hero-mark,
.hero-mark {
  display: inline;
  background-image: linear-gradient(transparent 62%, #2fb3a2 62%) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-eyebrow {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: #0f110f;
}

/* Keep hero clear of fixed header */
section.banner_bg > .slider-area,
.banner_bg .slider-area {
  padding-top: clamp(2.5rem, 5vw, 4rem) !important;
  padding-bottom: clamp(2rem, 4vw, 3.5rem) !important;
}

@media (max-width: 991px) {
  .hading h1 {
    max-width: none;
    font-size: clamp(1.75rem, 7vw, 2.4rem) !important;
  }
}

.explore-services .cluster-links {
  background: transparent;
}

.explore-services .process-section {
  padding-top: 2rem !important;
  padding-bottom: 1rem !important;
}

.explore-services .bg_gray_theme {
  background: #ffffff !important;
}

@media (max-width: 575px) {
  .explore-services {
    padding: 1.75rem 0 2.25rem;
  }

  .explore-services__card {
    min-height: 0;
    padding: 1rem 1.05rem;
  }

  .explore-services__cta {
    margin-top: 1.5rem;
    padding: 1.25rem 1rem;
  }

  .explore-services__cta-btn {
    width: 100%;
  }
}

/* ========== Footer offices + social ========== */
.footer-social {
  gap: 14px;
  list-style: none;
}
.footer-social a {
  color: #0f110f;
  font-size: 1.35rem;
  text-decoration: none;
}
.footer-social a:hover,
.footer-social a:focus {
  color: #1f7a6a;
}

.footer-offices {
  display: grid;
  gap: 1.25rem;
  text-align: left;
}

.footer-office__title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c9a227;
}

.footer-office__address {
  margin: 0 0 0.55rem;
  color: #3b3b3b;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-office__line {
  margin: 0 0 0.35rem;
  color: #3b3b3b;
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer-office__line i {
  margin-right: 0.35rem;
  color: #1f7a6a;
}

.footer-office__line a {
  color: #0f110f;
  text-decoration: none;
  font-weight: 600;
}

.footer-office__line a:hover,
.footer-office__line a:focus {
  color: #1f7a6a;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .footer-offices {
    text-align: center;
  }
}
