/*
 * Cost Effective Health
 * Rebuilt from the Leadinjection WordPress theme + WPBakery layout.
 * Colors, sizes and spacing are taken from the live site's CSS.
 */

:root {
  --accent: #37cea8;
  --accent-pink: #ff3b7c;
  --heading: #324f5c;
  --text: #575756;
  --navy: #2b4269;
  --light-bg: #f4f6f7;
  --mint-bg: #effbf8;
  --border: #dde0e5;
}

html { scroll-behavior: smooth; }

body {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  color: var(--text);
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 { font-family: Roboto, sans-serif; font-weight: 400; }
a { color: var(--accent); }
a:hover, a:focus { color: var(--accent-pink); }
img { max-width: 100%; height: auto; }

/* ---------- Utilities (WPBakery vc_custom_* margins) ---------- */
.section { position: relative; }
.mt-10 { margin-top: 10px !important; }
.mt-25 { margin-top: 25px !important; }
.mt-27 { margin-top: 27px !important; }
.mt-45 { margin-top: 45px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-27 { margin-bottom: 27px !important; }
.mb-55 { margin-bottom: 55px; }
.mb-60 { margin-bottom: 60px; }
.mb-75 { margin-bottom: 75px; }
.mb-80 { margin-bottom: 80px; }
.mb5 { margin-bottom: 5px; }
.spacer-5 { height: 5px; }
.spacer-10 { height: 10px; }
.spacer-20 { height: 20px; }
.spacer-32 { height: 32px; }
.center { text-align: center; }
.fw-light { font-weight: 300; }
.fw-normal { font-weight: 400; }
.fw-bold { font-weight: 700; }

/* ---------- Headings ---------- */
.li-heading { color: var(--heading); margin: 0; }
.li-heading small { display: block; color: #222; }
.heading-black { color: #000; }
.heading-accent { color: var(--accent); }
h1.li-heading { font-size: 54px; line-height: 73px; }
h2.li-heading { font-size: 48px; line-height: 66px; }
h2.li-heading small { font-size: 30px; line-height: 44px; }
h3.li-heading { font-size: 30px; line-height: 44px; }
h3.li-heading small { font-size: 22px; line-height: 33px; }
.li-heading.h6-size { font-size: 20px; line-height: 33px; }
.li-heading.h6-size small { font-size: 16px; line-height: 30px; }

.li-textblock p:last-of-type { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn.btn-round { border-radius: 50px; }
.btn.btn-outline { background-color: transparent; }
.btn.btn-lg.btn-outline { border: 2px solid; }
.btn.btn-xl { font-size: 24px; padding: 13px 36px 14px; height: 60px; }
.btn.btn-xl.btn-outline { border: 3px solid; }
.btn.btn-block { white-space: normal; height: auto; min-height: 60px; }

.btn-custom1, .btn-custom1.btn-outline { color: #fff; background-color: var(--accent); border-color: var(--accent); }
.btn-custom1:hover, .btn-custom1:focus { color: #fff; background-color: var(--accent-pink); border-color: var(--accent-pink); }
.btn-custom2, .btn-custom2.btn-outline { color: var(--accent); background-color: #fff; border-color: var(--accent); }
.btn-custom2:hover, .btn-custom2:focus, .btn-custom2.btn-outline:hover { color: var(--accent-pink); background-color: #fff; border-color: var(--accent-pink); }

.btn-learn-more, .btn-learn-more:focus { background-color: #fff; border-color: #81d742; color: #ff7575; }
.btn-learn-more:hover { background-color: #fff; border-color: var(--accent-pink); color: var(--accent-pink); }
.learn-more-wrap { margin: 0 15%; }

/* ---------- Header ---------- */
.li-header { background-color: var(--light-bg); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15); position: relative; z-index: 100; }
.header-top { background-color: #fff; height: 120px; }
.header-top .container { padding: 0; }
.header-logo { display: inline-block; margin-top: 40px; }
.header-logo img { max-height: 50px; }

.li-topbar { margin-top: 33px; min-height: 47px; }
.li-topbar .social-icons { float: right; }
.li-topbar .social-icons a {
  color: var(--accent);
  display: inline-block;
  width: 47px;
  height: 47px;
  line-height: 47px;
  text-align: center;
  font-size: 20px;
  border-left: 1px solid #d6dbdf;
  transition: background-color 0.2s ease-out;
}
.li-topbar .social-icons a:last-of-type { border-right: 1px solid #d6dbdf; }
.li-topbar .social-icons a:hover { background-color: rgba(55, 206, 168, 0.1); }
.li-topbar .contact-info { float: right; margin-right: 25px; }
.li-topbar .contact-info a { color: var(--heading); line-height: 47px; font-size: 14px; margin-right: 10px; }
.li-topbar .contact-info a:last-of-type { margin-right: 0; }
.li-topbar .contact-info a i { color: var(--accent); font-size: 20px; margin-right: 5px; }

.main-nav { min-height: 60px; padding-top: 10px; }
.main-nav .container { position: relative; }
.nav-logo { display: none; }
.nav-logo img { height: 40px; width: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 16px;
  height: 40px;
  line-height: 40px;
  padding: 0;
}
.nav-menu { list-style: none; margin: 0; padding: 0 0 10px; }
.nav-menu li { display: inline-block; }
.nav-menu a { display: block; height: 40px; line-height: 40px; padding: 0 15px; font-size: 16px; color: var(--text); }
.nav-menu a:hover, .nav-menu a:focus { color: var(--accent); text-decoration: none; }
.nav-menu li.current a { color: var(--heading); }

/* ---------- Hero ---------- */
.hero {
  margin-top: 2px;
  margin-bottom: 70px;
  background: var(--light-bg) url(/wp-content/uploads/2020/08/download.jpg) 75% center / cover no-repeat;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  text-shadow: 5px 5px 3px rgba(0, 0, 0, 0.5);
}
.hero-inner { max-width: 700px; min-height: 620px; padding: 54px 0 40px; text-align: center; }
.hero-line-1 { font-size: 31px; line-height: 33px; font-weight: 600; margin: 0 0 30px; }
.hero h1.hero-line-2 { font-family: inherit; font-size: 33px; line-height: 73px; font-weight: 800; margin: 0 0 20px; }
.hero-line-3 { font-size: 20px; line-height: 35px; font-weight: 600; margin: 0 0 40px; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 30px; }
.hero-btn {
  display: inline-block;
  font-family: Roboto, sans-serif;
  font-size: 17px;
  line-height: 17px;
  font-weight: 500;
  color: #fff;
  background-color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 30px;
  padding: 14px 35px;
  text-shadow: none;
  transition: all 0.2s;
}
.hero-btn:hover, .hero-btn:focus { color: var(--accent); background-color: #fff; text-decoration: none; }
.hero-btn-pink { background-color: var(--accent-pink); border-color: var(--accent-pink); }
.hero-btn-pink:hover, .hero-btn-pink:focus { color: var(--accent-pink); }

@keyframes slide-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
.hero-line-1 { animation: slide-in 2s cubic-bezier(0.215, 0.61, 0.355, 1) 0.3s both; }
.hero-line-2 { animation: slide-in 2s cubic-bezier(0.215, 0.61, 0.355, 1) 2s both; }
.hero-line-3 { animation: fade-in 1s ease 4s both; }
.hero-line-4 { animation: fade-in 1.5s ease 5s both; }
.hero-line-5 { animation: fade-in 1.5s ease 5.6s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-line, .hero-btn { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- How it works ---------- */
.step { display: flex; }
.step-number { flex: 0 0 16.666%; font-size: 54px; line-height: 73px; font-weight: 700; color: var(--accent); }
.step-body { flex: 1; padding-left: 15px; }

/* ---------- Meal guide form ---------- */
.guide-form-wrap { margin-bottom: 24px; }
.cec-form .form-title { font-size: 26px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; color: #333; }
.cec-form .form-field { padding: 10px 0; }
.cec-form .form-field label { display: block; font-weight: 700; font-size: 16px; line-height: 1.3; margin-bottom: 5px; color: #333; }
.cec-form .required { color: #ff0000; font-weight: 400; }
.guide-form input[type="text"], .guide-form input[type="email"] {
  width: 100%;
  max-width: 60%;
  height: 38px;
  padding: 6px 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 2px;
  background: #fff;
}
.guide-form input:focus { border-color: #999; outline: none; }
.guide-form .form-submit {
  margin-top: 10px;
  padding: 10px 15px;
  font-size: 1em;
  color: #666;
  background-color: #eee;
  border: 1px solid #ddd;
}
.guide-form .form-submit:hover { background-color: #ddd; border-color: #ccc; }
.form-submit[disabled], .cec-form button[disabled] { opacity: 0.6; cursor: wait; }
.form-error { color: #990000; font-size: 14px; margin: 10px 0 0; }
.form-confirmation { background: #e0ffc7; border: 1px solid #b4d39b; padding: 15px 15px; margin-bottom: 10px; color: #333; }
.form-confirmation p:last-child { margin-bottom: 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Parallax rows ---------- */
.parallax { background-size: cover; background-position: center; background-attachment: fixed; }
.parallax-recipes { background-image: url(/wp-content/uploads/2018/05/recipes_background_plx.jpg); padding: 65px 0 70px; }
.parallax-newsletter { background-image: url(/wp-content/uploads/2018/05/newletter_backgorund_plx_2.jpg); padding: 85px 0; margin-bottom: 75px; }
@media (hover: none) { .parallax { background-attachment: scroll; } }

.gap-35 { margin-left: -32px; margin-right: -32px; }
.gap-35 > [class*="col-"] { padding-left: 32px; padding-right: 32px; }
.card, .newsletter-card {
  background-color: #fff;
  border-bottom: 5px solid var(--accent);
  border-radius: 5px;
  padding: 27px;
  margin-bottom: 35px;
}
.newsletter-card { padding: 50px; margin-bottom: 0; }
.privacy-note { display: block; float: right; margin-top: 10px; }

.form-control.invert { background-color: #ecf0f1 !important; border: 0; box-shadow: none; }
.form-control.invert:focus { background-color: #e5e9ec !important; }

/* ---------- Reviews ---------- */
#reviews { margin-bottom: 0; }
.fade-gallery { position: relative; max-width: 250px; aspect-ratio: 250 / 345; margin: 0 auto; }
.fade-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
.fade-gallery img.active { opacity: 1; }

.facebook-live { background-color: var(--mint-bg); padding-top: 20px; margin-bottom: 0; }
.li-divider_line { border-bottom: 1px solid #d7f5ee; width: 100%; }

.li-review-block { margin-bottom: 30px; }
.li-review-block .review-block-author { font-weight: 700; }
.li-review-block .review-block-rating { color: #f5a623; }
.li-review-block .review-block-rating i { margin-right: 4px; }

/* ---------- Program ---------- */
.section-mint { background-color: var(--mint-bg); }
.program { margin-bottom: 75px; padding: 70px 0 75px; }
.program-items { margin-top: 85px; }

/* ---------- Pricing ---------- */
.li-pricing-table-advanced { display: flex; justify-content: center; margin-bottom: 75px; }
.li-pricing-table-advanced .pricing-table-col {
  width: 286px;
  text-align: center;
  border: 1px solid var(--border);
  border-right: 0;
  background: #fff;
}
.li-pricing-table-advanced .pricing-table-col:last-of-type { border-right: 1px solid var(--border); }
.li-pricing-table-advanced .pricing-table-col.label-col { font-weight: 700; text-align: right; }
.li-pricing-table-advanced .pricing-table-col.highlight-col { border: 2px solid var(--accent-pink); z-index: 1; margin-right: -1px; }
.li-pricing-table-advanced .pricing-table-header {
  height: 145px;
  background-color: #f8f9fc;
  border-bottom: 1px solid var(--border);
  font-size: 24px;
  font-weight: 700;
  padding-top: 40px;
}
.li-pricing-table-advanced .pricing-table-subtitle { font-size: 16px; font-weight: 400; display: block; margin-top: 10px; }
.li-pricing-table-advanced .pricing-table-price-label { height: 160px; border-bottom: 1px solid var(--border); padding: 65px 30px 65px 15px; color: var(--navy); }
.li-pricing-table-advanced .pricing-table-price {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 160px;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
}
.li-pricing-table-advanced .pricing-table-currency-sign { font-size: 24px; height: 85px; }
.li-pricing-table-advanced .pricing-table-price-value { font-size: 101px; line-height: 1; height: 125px; font-weight: 300; }
.li-pricing-table-advanced .pricing-table-condition { font-size: 24px; height: 65px; }
.li-pricing-table-advanced .pricing-table-feature-label { height: 55px; border-bottom: 1px solid var(--border); padding: 15px 30px 15px 15px; color: var(--navy); line-height: 25px; }
.li-pricing-table-advanced .pricing-table-feature-value { height: 55px; border-bottom: 1px solid var(--border); padding: 15px; line-height: 25px; }
.li-pricing-table-advanced .check-icon { color: #32ba5b; }
.li-pricing-table-advanced .x-cross-icon { color: #f55753; }
.li-pricing-table-advanced .pricing-table-feature-mobile-label { display: none; }
.li-pricing-table-advanced .pricing-table-action { height: 105px; padding-top: 25px; }

/* ---------- FAQ ---------- */
.li-side-icon-text-icon {
  float: left;
  width: 46px;
  height: 46px;
  line-height: 46px;
  border-radius: 23px;
  margin-top: 5px;
  background-color: var(--accent);
  color: #fff;
  font-size: 24px;
  text-align: center;
}
.li-side-icon-text-title { font-size: 20px; font-weight: 600; color: #222; margin: 0 0 10px 75px; line-height: 1.4; }
.li-side-icon-text-content { margin-left: 75px; color: var(--text); }
.li-side-icon-text-content p:last-child { margin-bottom: 0; }

/* ---------- About ---------- */
.about-heading { font-family: ABeeZee, sans-serif; font-weight: 400; text-align: left; margin-top: 0; }

/* ---------- Quote band + footer ---------- */
.quote-band { background-color: var(--accent); padding: 85px 0; margin-top: 30px; }
.quote-band .li-heading { color: #fff; }

.li-footer .footer-copyright { background-color: var(--light-bg); color: var(--text); }
.li-footer .footer-copyright .container { padding-top: 26px; padding-bottom: 26px; border-top: 1px solid #dbdede; }
.li-footer .footer-social-icons { float: right; }
.li-footer .footer-social-icons a { padding: 5px; margin: 0 3px; }

.scroll-up-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 45px;
  height: 45px;
  line-height: 43px;
  text-align: center;
  font-size: 24px;
  color: #fff;
  background-color: rgba(74, 74, 74, 0.6);
  border: 1px solid #fff;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease-out;
  z-index: 101;
}
.scroll-up-btn.visible { opacity: 1; pointer-events: auto; }
.scroll-up-btn:hover, .scroll-up-btn:focus { color: #fff; background-color: var(--accent); }

/* ---------- Responsive (theme breakpoints) ---------- */
@media (max-width: 1199px) {
  h1.li-heading { font-size: 47.25px; line-height: 63.875px; }
  h2.li-heading { font-size: 42px; line-height: 57.75px; }
  h2.li-heading small { font-size: 26.25px; line-height: 38.5px; }
  h3.li-heading { font-size: 26.25px; line-height: 38.5px; }
  h3.li-heading small { font-size: 17.5px; line-height: 28.875px; }
  .li-heading.h6-size { font-size: 17.5px; line-height: 28.875px; }
  .li-heading.h6-size small { font-size: 14px; line-height: 26.25px; }
  .newsletter-card { max-width: 750px; }
}

@media (max-width: 991px) {
  .header-top { display: none; }
  .main-nav { padding-top: 10px; }
  .nav-logo { display: inline-block; }
  .nav-menu { text-align: right; }
  .content-center-sm { text-align: center; }
  .step { margin-bottom: 30px; }
  .step-number { flex-basis: 60px; }
  .li-pricing-table-advanced .pricing-table-col.label-col { display: none; }
  .li-pricing-table-advanced .pricing-table-feature-value { height: 80px; }
  .li-pricing-table-advanced .pricing-table-feature-mobile-label { display: block; font-weight: 700; }
  .program-items > [class*="col-"] { margin-bottom: 30px; }
}

@media (max-width: 767px) {
  .li-heading { margin-bottom: 16.875px; }
  h1.li-heading { font-size: 36.45px; line-height: 49.275px; }
  h2.li-heading { font-size: 32.4px; line-height: 44.55px; }
  h2.li-heading small { font-size: 20.25px; line-height: 29.7px; }
  h3.li-heading { font-size: 20.25px; line-height: 29.7px; }

  .nav-toggle { display: inline-block; position: absolute; right: 15px; top: 0; }
  .nav-menu { display: none; text-align: left; padding-top: 10px; }
  .nav-menu.open { display: block; }
  .nav-menu li { display: block; }
  .nav-menu a { padding: 0; }

  .hero-inner { min-height: 0; padding: 40px 0; }
  .hero-line-1 { font-size: 23px; line-height: 30px; }
  .hero h1.hero-line-2 { font-size: 24px; line-height: 34px; }
  .hero-line-3 { font-size: 16px; line-height: 25px; }

  .guide-form input[type="text"], .guide-form input[type="email"] { max-width: 100%; }
  .gap-35 { margin-left: -15px; margin-right: -15px; }
  .gap-35 > [class*="col-"] { padding-left: 15px; padding-right: 15px; }
  .learn-more-wrap { margin: 0; }
  .btn.btn-xl { font-size: 18px; }
  .newsletter-card { padding: 30px 20px; }
  .privacy-note { float: none; }

  .li-pricing-table-advanced { display: block; }
  .li-pricing-table-advanced .pricing-table-col { margin: 0 auto 20px; border-right: 1px solid var(--border); max-width: 100%; }
  .li-pricing-table-advanced .pricing-table-col.highlight-col { margin-right: auto; }

  .li-footer .footer-copyright { text-align: center; }
  .li-footer .footer-social-icons { float: none; margin-top: 20px; }
}
