/* ============================================================
   MYFARMTREE.IN — Elementor Widget Styles  v1.1
   ============================================================ */

/* ----- Brand CSS Variables ----- */
:root {
  --mft-green-dark:  #2D6A4F;
  --mft-green-mid:   #52B788;
  --mft-green-light: #95D5B2;
  --mft-mango:       #F4A22D;
  --mft-golden:      #E9C46A;
  --mft-brown:       #7B4F2E;
  --mft-beige:       #F5F0E8;
  --mft-warm-white:  #FAFAF7;
  --mft-text-dark:   #1A1A1A;
  --mft-text-mid:    #4A4A4A;
  --mft-text-light:  #8A8A8A;
}

/* ============================================================
   FONTS — loaded via wp_enqueue_style in plugin,
   fallback @import for edge cases
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;1,500&display=swap');

/* ============================================================
   SCROLL ENTRANCE ANIMATIONS
   - On frontend: start opacity:0, animate in via IntersectionObserver
   - In Elementor editor: always visible (editor body has .elementor-editor-active)
   ============================================================ */
@keyframes mft-fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mft-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes mft-fade-left {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes mft-fade-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Hidden on frontend until scrolled into view */
/*
 * Scroll animation base state — hidden until JS adds .mft-in-view
 * IMPORTANT: In Elementor editor, CSS overrides below make everything visible.
 */
.mft-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25,0.1,0.25,1),
              transform 0.6s cubic-bezier(0.25,0.1,0.25,1);
}
.mft-anim-left  { transform: translateX(-40px); }
.mft-anim-right { transform: translateX(40px);  }
.mft-anim-up    { transform: translateY(32px);  }
.mft-anim-in    { transform: none;              }

/* JS adds this class via IntersectionObserver */
.mft-animate.mft-in-view {
  opacity: 1 !important;
  transform: none !important;
}

/* Stagger delays */
.mft-delay-0  { transition-delay: 0ms   !important; }
.mft-delay-1  { transition-delay: 100ms !important; }
.mft-delay-2  { transition-delay: 200ms !important; }
.mft-delay-3  { transition-delay: 300ms !important; }
.mft-delay-4  { transition-delay: 400ms !important; }
.mft-delay-5  { transition-delay: 500ms !important; }
.mft-delay-6  { transition-delay: 600ms !important; }
.mft-delay-7  { transition-delay: 700ms !important; }
.mft-delay-8  { transition-delay: 800ms !important; }
.mft-delay-9  { transition-delay: 900ms !important; }
.mft-delay-10 { transition-delay: 1000ms !important; }

/* ── EDITOR: force everything visible — no hidden content ────────────────── */
.elementor-editor-active .mft-animate,
.elementor-editor-preview .mft-animate,
body.elementor-editor-active .mft-animate {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* ============================================================
   SHARED HELPERS
   ============================================================ */
.mft-badge {
  display: inline-block;
  border-radius: 50px;
  padding: 6px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  margin-bottom: 20px;
}

.mft-section-header {
  text-align: center;
  margin-bottom: 64px;
}
.mft-section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--mft-text-dark);
  line-height: 1.15;
  margin: 0 0 20px;
}
.mft-section-header p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: var(--mft-text-mid);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Buttons */
.mft-btn {
  display: inline-block;
  border-radius: 50px;
  padding: 14px 36px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  border: none;
  line-height: 1;
  text-align: center;
}
.mft-btn:hover { transform: translateY(-2px); }

.mft-btn-primary {
  background: var(--mft-green-dark) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(45,106,79,0.35);
}
.mft-btn-primary:hover {
  background: #1e4d38 !important;
  box-shadow: 0 8px 28px rgba(45,106,79,0.45);
}
.mft-btn-outline {
  background: transparent !important;
  color: var(--mft-green-dark) !important;
  border: 2px solid var(--mft-green-dark) !important;
  padding: 12px 32px;
}
.mft-btn-outline:hover { background: rgba(45,106,79,0.06) !important; }
.mft-btn-mango {
  background: var(--mft-mango) !important;
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(244,162,45,0.4);
}
.mft-btn-mango:hover { box-shadow: 0 8px 32px rgba(244,162,45,0.5); }

/* Trust bar */
.mft-trust-bar__wrap {
  padding: 20px 24px;
  border-radius: 16px;
}
.mft-trust-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.mft-trust-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 50px;
  padding: 6px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* ============================================================
   TREE SVG ANIMATIONS (always run — no JS dependency)
   ============================================================ */
@keyframes mft-canopy-sway {
  0%, 100% { transform: rotate(-2deg); }
  50%       { transform: rotate(2deg); }
}
@keyframes mft-mango-pulse {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-5px) scale(1.05); }
}
@keyframes mft-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.mft-tree-canopy {
  animation: mft-canopy-sway 5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 50% 80%;
}
.mft-mango         { transform-box: fill-box; transform-origin: center bottom; }
.mft-mango-1       { animation: mft-mango-pulse 3.5s ease-in-out 0.0s infinite; }
.mft-mango-2       { animation: mft-mango-pulse 3.5s ease-in-out 0.5s infinite; }
.mft-mango-3       { animation: mft-mango-pulse 3.5s ease-in-out 1.0s infinite; }
.mft-mango-4       { animation: mft-mango-pulse 3.5s ease-in-out 1.5s infinite; }
.mft-mango-5       { animation: mft-mango-pulse 4.0s ease-in-out 0.8s infinite; }
.mft-mango-6       { animation: mft-mango-pulse 4.0s ease-in-out 1.2s infinite; }
.mft-mango-7       { animation: mft-mango-pulse 3.2s ease-in-out 0.3s infinite; }

/* ============================================================
   HERO WIDGET
   ============================================================ */
.mft-hero {
  background: linear-gradient(160deg, #FAFAF7 0%, #F5F0E8 50%, #e8f4ee 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.mft-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.mft-hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.mft-hero__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--mft-text-dark);
  margin: 0 0 24px;
}
.mft-hero__heading span { color: var(--mft-green-dark); }
.mft-hero__subtext {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--mft-text-mid);
  margin: 0 0 36px;
  max-width: 480px;
}
.mft-hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0;
}
.mft-hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(45,106,79,0.12);
  flex-wrap: wrap;
}
.mft-hero__stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--mft-green-dark);
  line-height: 1;
}
.mft-hero__stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--mft-text-light);
  font-weight: 500;
  margin-top: 4px;
}

/* Tree visual column */
.mft-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.mft-hero__tree-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
}
.mft-hero__tree-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Dashboard card — positioned relative to tree wrap */
.mft-dashboard-card {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(45,106,79,0.15);
  box-shadow: 0 8px 40px rgba(45,106,79,0.15);
  padding: 16px 20px;
  width: 200px;
  position: absolute;
  right: -20px;
  top: 40%;
  animation: mft-float 3s ease-in-out infinite;
  z-index: 10;
}
.mft-dashboard-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.mft-dashboard-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52B788;
  flex-shrink: 0;
}
.mft-dashboard-card__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #52B788;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mft-dashboard-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(45,106,79,0.08);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
}
.mft-dashboard-card__row:last-child { border-bottom: none; }
.mft-dashboard-card__label { color: var(--mft-text-light); font-weight: 400; }
.mft-dashboard-card__value { color: var(--mft-text-dark);  font-weight: 600; }

/* ============================================================
   STORY TIMELINE WIDGET
   ============================================================ */
.mft-story {
  background: linear-gradient(180deg, #FAFAF7 0%, #F5F0E8 50%, #FAFAF7 100%);
  padding: 80px 24px;
  position: relative;
}
.mft-story__inner   { max-width: 860px; margin: 0 auto; }
.mft-story__header  { text-align: center; margin-bottom: 60px; }
.mft-story__header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--mft-text-dark);
  line-height: 1.15;
  margin: 0 0 16px;
}
.mft-story__header p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--mft-text-mid);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}
.mft-story__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.mft-story__indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.mft-story__circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.mft-story__line {
  width: 2px;
  height: 36px;
  margin-top: 6px;
  flex-shrink: 0;
}
.mft-story__content {
  flex: 1;
  padding: 14px 20px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  min-width: 0;
}
.mft-story__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--mft-text-dark);
  margin-bottom: 6px;
  line-height: 1.2;
}
.mft-story__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--mft-text-mid);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   HOW IT WORKS WIDGET
   ============================================================ */
.mft-hiw {
  background: var(--mft-warm-white);
  padding: 96px 24px;
}
.mft-hiw__inner  { max-width: 1160px; margin: 0 auto; }
.mft-hiw__progress {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2D6A4F, #52B788, #F4A22D, #7B4F2E);
  margin-bottom: 36px;
}
.mft-hiw__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mft-hiw__card {
  border-radius: 20px;
  padding: 28px 20px;
  border: 1px solid transparent;
  position: relative;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.mft-hiw__card:hover { transform: translateY(-4px); }
.mft-hiw__icon {
  font-size: 38px;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}
.mft-hiw__step-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.mft-hiw__step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--mft-text-dark);
  margin-bottom: 4px;
  line-height: 1.15;
}
.mft-hiw__step-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.mft-hiw__step-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--mft-text-mid);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   BENEFITS WIDGET
   ============================================================ */
.mft-benefits {
  padding: 96px 24px;
  background: linear-gradient(160deg, #F5F0E8 0%, #FAFAF7 100%);
}
.mft-benefits__inner { max-width: 1160px; margin: 0 auto; }
.mft-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mft-benefits__card {
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px;
  border: 1px solid rgba(45,106,79,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.mft-benefits__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(45,106,79,0.1);
}
.mft-benefits__icon  { font-size: 30px; margin-bottom: 14px; display: block; line-height: 1; }
.mft-benefits__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--mft-text-dark);
  margin: 0 0 8px;
  line-height: 1.2;
}
.mft-benefits__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--mft-text-mid);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   PRICING WIDGET
   ============================================================ */
.mft-pricing {
  padding: 96px 24px;
  background: linear-gradient(160deg, #FAFAF7 0%, #F5F0E8 60%, #FAFAF7 100%);
}
.mft-pricing__inner { max-width: 1080px; margin: 0 auto; }
.mft-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.mft-pricing__card {
  border-radius: 24px;
  padding: 32px 28px;
  border: 1px solid rgba(45,106,79,0.1);
  background: #fff;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.mft-pricing__card--popular {
  background: linear-gradient(160deg, #2D6A4F, #1e4d38);
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(45,106,79,0.28);
}
.mft-pricing__card:not(.mft-pricing__card--popular):hover { transform: translateY(-4px); }
.mft-pricing__popular-badge {
  display: inline-block;
  background: var(--mft-mango);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.mft-pricing__plan-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mft-pricing__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.mft-pricing__price-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  margin-bottom: 20px;
}
.mft-pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid rgba(45,106,79,0.1);
  padding-top: 16px;
}
.mft-pricing__card--popular .mft-pricing__features {
  border-color: rgba(255,255,255,0.12);
}
.mft-pricing__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(45,106,79,0.06);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.5;
}
.mft-pricing__card--popular .mft-pricing__feature {
  border-color: rgba(255,255,255,0.08);
}
.mft-pricing__feature-check {
  width: 17px;
  height: 17px;
  min-width: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  margin-top: 1px;
}
.mft-pricing__cta {
  display: block;
  width: 100%;
  border-radius: 50px;
  padding: 13px 20px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.25s, box-shadow 0.25s;
}
.mft-pricing__cta:hover { transform: translateY(-2px); }

/* ============================================================
   TESTIMONIALS WIDGET
   ============================================================ */
.mft-testimonials {
  padding: 96px 24px;
  background: linear-gradient(160deg, #F5F0E8 0%, #FAFAF7 100%);
}
.mft-testimonials__inner { max-width: 1160px; margin: 0 auto; }
.mft-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mft-testimonials__card {
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(45,106,79,0.06);
  border: 1px solid rgba(45,106,79,0.06);
  display: flex;
  flex-direction: column;
}
.mft-testimonials__stars { margin-bottom: 10px; letter-spacing: 2px; }
.mft-testimonials__star  { color: var(--mft-mango); font-size: 14px; }
.mft-testimonials__quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  color: rgba(45,106,79,0.12);
  font-weight: 700;
  line-height: 0.8;
  margin-bottom: 8px;
  display: block;
}
.mft-testimonials__text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--mft-text-mid);
  line-height: 1.75;
  font-style: italic;
  margin: 0 0 20px;
  flex: 1;
}
.mft-testimonials__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.mft-testimonials__avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.mft-testimonials__name {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--mft-text-dark);
  margin-bottom: 2px;
}
.mft-testimonials__location {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--mft-text-light);
}

/* ============================================================
   FAMILY SECTION WIDGET
   ============================================================ */
.mft-family {
  padding: 96px 24px;
  background: var(--mft-warm-white);
}
.mft-family__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 60px;
  align-items: center;
}
/* Main visual card — family emoji + title + floating pills */
.mft-family__main-card {
  background: linear-gradient(135deg, #F5F0E8, #e8f4ee);
  border-radius: 32px;
  padding: 60px 40px;
  border: 1px solid rgba(45,106,79,0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.mft-family__main-emoji {
  font-size: 80px;
  margin-bottom: 20px;
  display: block;
  line-height: 1;
}
.mft-family__main-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.3;
}

/* Floating pill cards inside main card */
.mft-family__float-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  white-space: nowrap;
}
.mft-family__float-tr { top: 20px; right: 20px; }
.mft-family__float-bl { bottom: 20px; left: 20px; }

/* Stat cards row below main card */
.mft-family__stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mft-family__stat-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(45,106,79,0.08);
  box-shadow: 0 2px 12px rgba(45,106,79,0.06);
}
.mft-family__stat-icon { font-size: 24px; margin-bottom: 8px; display: block; }
.mft-family__stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--mft-green-dark);
}
.mft-family__stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #8A8A8A;
  margin-top: 4px;
}

/* Keep old classes for compatibility */
.mft-family__visual-box {
  background: linear-gradient(135deg, #F5F0E8, #e8f4ee);
  border-radius: 24px;
  padding: 28px;
}
.mft-family__stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mft-family__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--mft-text-dark);
  line-height: 1.15;
  margin: 0 0 8px;
}
.mft-family__heading-italic {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--mft-green-dark);
  font-style: italic;
  margin: 0 0 20px;
}
.mft-family__body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--mft-text-mid);
  line-height: 1.7;
  margin: 0 0 28px;
}
.mft-family__bullet {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.mft-family__bullet-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: rgba(45,106,79,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.mft-family__bullet-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--mft-text-dark);
  margin-bottom: 3px;
}
.mft-family__bullet-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--mft-text-mid);
  line-height: 1.6;
}

/* ============================================================
   FINAL CTA WIDGET
   ============================================================ */
.mft-cta {
  padding: 100px 24px;
  background: linear-gradient(135deg, #1A2E1F 0%, #2D6A4F 50%, #1e4d38 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.mft-cta__inner     { max-width: 860px; margin: 0 auto; position: relative; z-index: 2; }
.mft-cta__deco {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 280px;
  opacity: 0.03;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.mft-cta__season-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 6px 18px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.15);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}
.mft-cta__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 24px;
}
.mft-cta__heading span { color: var(--mft-golden); display: block; }
.mft-cta__subtext {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 44px;
}
.mft-cta__btns {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.mft-cta__btn-secondary {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.4) !important;
  border-radius: 50px;
  padding: 13px 38px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.25s, transform 0.25s;
}
.mft-cta__btn-secondary:hover {
  border-color: rgba(255,255,255,0.8) !important;
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR WIDGET
   ============================================================ */
.mft-navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45,106,79,0.08);
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.mft-navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.mft-navbar__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2D6A4F, #52B788);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.mft-navbar__logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: 0.02em;
}
.mft-navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.mft-navbar__link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #4A4A4A;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.mft-navbar__link:hover { color: #2D6A4F; }

/* ============================================================
   FOOTER WIDGET
   ============================================================ */
.mft-footer {
  background: #111a14;
  padding: 64px 24px 32px;
  border-top: 1px solid rgba(82,183,136,0.1);
}
.mft-footer__inner { max-width: 1200px; margin: 0 auto; }
.mft-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.mft-footer__col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #52B788;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.mft-footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.mft-footer__logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2D6A4F, #52B788);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.mft-footer__logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}
.mft-footer__tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 250px;
  margin-bottom: 20px;
}
.mft-footer__socials {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}
.mft-footer__social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.mft-footer__social-btn:hover { background: rgba(255,255,255,0.12); }
.mft-footer__link {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.2s;
}
.mft-footer__link:hover { color: #fff; }
.mft-footer__contact-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.mft-footer__contact-icon { font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.mft-footer__contact-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.mft-footer__trust {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mft-footer__trust-badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 5px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  white-space: nowrap;
}
.mft-footer__copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .mft-benefits__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .mft-pricing__grid { grid-template-columns: 1fr 1fr; }
  .mft-pricing__card--popular { transform: scale(1); grid-column: span 2; max-width: 440px; margin: 0 auto; width: 100%; }
  .mft-hiw__grid { grid-template-columns: repeat(2, 1fr); }
  .mft-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .mft-hero__inner   { grid-template-columns: 1fr; gap: 40px; }
  .mft-hero__visual  { justify-content: flex-start; }
  .mft-family__inner { grid-template-columns: 1fr; }
  .mft-benefits__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mft-testimonials__grid { grid-template-columns: 1fr 1fr; }
  .mft-navbar__links      { display: none; }
  .mft-hero__heading      { font-size: 38px; }
  .mft-dashboard-card     { position: relative; right: auto; top: auto; width: 100%; margin-top: 20px; animation: none; }
}

@media (max-width: 560px) {
  .mft-hiw__grid          { grid-template-columns: 1fr; }
  .mft-pricing__grid      { grid-template-columns: 1fr; }
  .mft-pricing__card--popular { grid-column: auto; max-width: 100%; transform: scale(1); }
  .mft-testimonials__grid { grid-template-columns: 1fr; }
  .mft-benefits__grid     { grid-template-columns: 1fr 1fr; }
  .mft-hero__btns         { flex-direction: column; }
  .mft-hero__btns .mft-btn { width: 100%; text-align: center; display: block; }
  .mft-cta__btns          { flex-direction: column; align-items: center; }
  .mft-footer__grid       { grid-template-columns: 1fr; }
  .mft-story__card        { gap: 10px; }
}
