/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* ==========================================================================
   YOGAFY HOMEPAGE — Pixel-Perfect from Figma
   Prefix: yf-  |  Container: 1664px  |  Font: Nunito Sans
   ========================================================================== */

/* --- Variables --- */
:root {
  --yf-grad: linear-gradient(90deg, #29bbac 0%, #70bf49 100%);
  --yf-dark: #2d2d2d;
  --yf-dark2: #454545;
  --yf-light: #e7e7e7;
  --yf-white: #ffffff;
  --yf-green: #70bf49;
  --yf-teal: #29bbac;
  --yf-gray: #9e9e9e;
  --yf-black: #000000;
  --yf-ff: 'Nunito Sans', 'Avenir Next', system-ui, sans-serif;
  --yf-mw: 1664px;
}

/* --- Flatsome override: hide default header/footer on this template --- */
body.page-template-homepage-yogafy .header-wrapper,
body.page-template-homepage-yogafy #header,
body.page-template-homepage-yogafy .header-main,
body.page-template-homepage-yogafy .absolute-footer,
body.page-template-homepage-yogafy #footer,
body.page-template-homepage-yogafy .footer-wrapper {
  display: none !important;
}
body.page-template-homepage-yogafy #content,
body.page-template-homepage-yogafy #content .row,
body.page-template-homepage-yogafy #content .row .col {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}
body.page-template-homepage-yogafy .page-wrapper {
  overflow-x: hidden;
}
body.page-template-homepage-yogafy {
  font-family: var(--yf-ff) !important;
}
body.page-template-homepage-yogafy *,
body.page-template-homepage-yogafy *::before,
body.page-template-homepage-yogafy *::after {
  box-sizing: border-box;
  font-family: var(--yf-ff) !important;
}

/* --- Container --- */
.yf-container {
  max-width: none; margin: 0 auto; width: 100%;
  /* Figma 1920: padding-left/right 128px → 128/1920 = 6.667vw */
  padding-left: 6.667vw;
  padding-right: 6.667vw;
}
.yf-center { text-align: center; margin-top: 48px; }

/* --- Buttons (Figma: h64, pad 32/32/8/8, r51, gap16, 20px w500) --- */
.yf-btn {
  display: inline-flex; align-items: center; gap: 16px;
  height: 64px; padding: 8px 32px;
  border-radius: 51px; font-size: 20px; font-weight: 500;
  letter-spacing: .3px; text-decoration: none !important;
  cursor: pointer; border: none; line-height: 1; white-space: nowrap;
  transition: transform .25s, box-shadow .25s, opacity .25s;
}
.yf-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.yf-btn--white { background: var(--yf-white); color: var(--yf-dark2) !important; }
.yf-btn--white:hover { color: var(--yf-dark2) !important; background: #f4f4f4; }
.yf-btn--grad  { background: var(--yf-grad); color: var(--yf-white) !important; }
.yf-btn--grad:hover  { color: var(--yf-white) !important; opacity: .92; }
.yf-btn--dark  { background: var(--yf-dark); color: var(--yf-white) !important; }
.yf-btn--dark:hover  { color: var(--yf-white) !important; background: #3a3a3a; }
.yf-btn svg { flex-shrink: 0; }

/* --- Pill-Title (Figma: pill with gradient stroke, icon+text, r51, h95) --- */
.yf-pill-title {
  display: inline-flex; align-items: center; gap: 32px;
  height: 95px; padding: 0 40px;
  border: 2px solid transparent;
  border-radius: 51px;
  background-image: linear-gradient(var(--yf-dark), var(--yf-dark)), var(--yf-grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  font-size: 48px; font-weight: 500; color: var(--yf-green);
}
.yf-pill-title--dark {
  background-image: linear-gradient(var(--yf-light), var(--yf-light)), var(--yf-grad);
  color: var(--yf-dark);
}
.yf-pill-title--green { color: var(--yf-green); }
.yf-pill-title--noleft {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
  padding-left: 0;
  background-image: linear-gradient(var(--yf-dark), var(--yf-dark)), var(--yf-grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.yf-pill-title--dark.yf-pill-title--noleft {
  background-image: linear-gradient(var(--yf-light), var(--yf-light)), var(--yf-grad);
}
.yf-pill-title__icon { flex-shrink: 0; }
.yf-sec-head { margin-bottom: 36px; }
.yf-sec-desc {
  font-size: 28px; font-weight: 400; color: var(--yf-white);
  line-height: 1.45; margin: 36px 0 0; text-align: justify;
}

/* ======================================================================
   S1  BANNER  (1920 x 948)
   ====================================================================== */
.yf-banner {
  position: relative; min-height: 948px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.yf-banner__inner { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: 948px; }

/* -- Menu (Figma: h148, pill white bg r51 h100, pad-l40 pad-r20, gap40) -- */
.yf-menu { height: 148px; display: flex; align-items: center; }
.yf-menu__row { display: flex; align-items: center; gap: 40px; }
.yf-menu__logo img { height: 75px; width: auto; display: block; }
.yf-menu__pill {
  display: flex; align-items: center; gap: 40px;
  background: var(--yf-white); border-radius: 51px;
  height: 100px; padding: 0 20px 0 40px;
  margin-left: auto;
}
.yf-menu__link {
  font-size: 20px; font-weight: 500; color: var(--yf-dark) !important;
  text-decoration: none !important; letter-spacing: .3px;
  transition: color .2s;
  display: inline-flex; align-items: center; line-height: 1;
}
.yf-menu__link svg,
.yf-menu__link img { display: block; }
.yf-menu__link:hover { color: var(--yf-green) !important; }
.yf-menu__sep { width: 1px; height: 40px; background: var(--yf-light); }
.yf-menu__lang { font-size: 20px; font-weight: 500; color: var(--yf-dark); }
.yf-menu__login {
  display: inline-flex; align-items: center; justify-content: center;
  height: 60px; padding: 0 28px; border-radius: 51px;
  background: var(--yf-grad); color: var(--yf-white) !important;
  font-size: 20px; font-weight: 500; text-decoration: none !important;
  transition: opacity .2s;
}
.yf-menu__login:hover { opacity: .88; color: var(--yf-white) !important; }
.yf-menu__hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.yf-menu__hamburger span {
  display: block; width: 28px; height: 3px; background: var(--yf-white);
  border-radius: 2px; transition: transform .3s, opacity .3s;
}
.yf-menu__hamburger--open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.yf-menu__hamburger--open span:nth-child(2) { opacity: 0; }
.yf-menu__hamburger--open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* -- Hero (Figma: content 1920x800, text max-w984, gap32 title-desc, gap45 to buttons) -- */
.yf-banner__content { flex: 1; display: flex; align-items: center; }
.yf-banner__text { max-width: 984px; }
.yf-banner__text h1 {
  font-size: 72px; font-weight: 600; color: var(--yf-white) !important;
  line-height: 1.15; margin: 0 0 32px; letter-spacing: .3px;
}
.yf-banner__text > p {
  font-size: 28px; font-weight: 400; color: var(--yf-white) !important;
  line-height: 1.37; margin: 0 0 45px; letter-spacing: .3px;
}
.yf-banner__btns { display: flex; gap: 32px; flex-wrap: wrap; }

/* ======================================================================
   S2  FEATURES  (1920 x 1157, bg #2d2d2d)
   ====================================================================== */
.yf-features { background: var(--yf-dark); padding: 100px 0 80px; position: relative; overflow: hidden; }
.yf-features__deco {
  position: absolute; top: -100px; right: -100px;
  width: 768px; height: 768px; border-radius: 50%;
  background: radial-gradient(circle, rgba(231,231,231,.04) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .5; pointer-events: none;
}
.yf-features__wrap {
  position: relative; z-index: 2;
  max-width: none;
  margin: 0;
  /* Figma 1920: padding-left 128px (128/1920 = 6.667vw), padding-right 270px (270/1920 = 14.063vw) */
  padding-left: 6.667vw;
  padding-right: 14.063vw;
}

/* Cards (Figma: 486x288, stroke #9e9e9e, r16, pad32, gap24 vertical) */
.yf-features__rows { display: flex; flex-direction: column; gap: 32px; }
.yf-features__row { display: flex; gap: 32px; }
.yf-fcard {
  width: 486px; min-height: 288px; flex-shrink: 0;
  border: 1px solid var(--yf-gray); border-radius: 16px;
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s, box-shadow .25s;
}
.yf-fcard:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.yf-fcard__top { display: flex; align-items: center; gap: 16px; }
.yf-fcard__icon { flex-shrink: 0; width: 92px; height: 92px; object-fit: contain; }
.yf-fcard h3 { font-size: 28px; font-weight: 600; color: var(--yf-white) !important; margin: 0; line-height: 1.3; }
.yf-fcard p  { font-size: 20px; font-weight: 400; color: var(--yf-gray); margin: 0; line-height: 1.5; }
.yf-fcard--cta {
  border: none; display: flex; align-items: flex-end; justify-content: center;padding-right:0;
  min-height: auto; margin-left: auto;
}
.yf-fcard--cta:hover { transform: none; box-shadow: none; }
.yf-fcard--cta .yf-btn { margin: 0; }

/* ======================================================================
   S3  BRAND  (1920 x 550, bg #2d2d2d)
   ====================================================================== */
.yf-brand { background: var(--yf-dark); padding: 80px 0; position: relative; overflow: hidden; }
.yf-brand__deco {
  position: absolute; bottom: -200px; left: -200px;
  width: 768px; height: 768px; border-radius: 50%;
  background: radial-gradient(circle, rgba(231,231,231,.04) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .4; pointer-events: none;
}
/* Card (Figma: 1664x390, bg #fff, r32, image fills entire bg + green overlay, text over) */
.yf-brand__card {
  position: relative; border-radius: 32px; overflow: hidden;
  min-height: 390px; display: flex; align-items: stretch;z-index:2;
}
.yf-brand__bg { position: absolute; inset: 0; z-index: 0; }
.yf-brand__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.yf-brand__bg-overlay { position: absolute; inset: 0; background: rgba(112, 191, 73, 0.75); }
.yf-brand__content {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 48px 64px; gap: 32px;
}
.yf-brand__content .yf-btn--dark { align-self: flex-end; }
.yf-brand__text { max-width: 984px; }
.yf-brand__text h2 {
  font-size: 72px; font-weight: 600; color: var(--yf-white) !important;
  margin: 0 0 32px; line-height: 1.15;
}
.yf-brand__text p {
  font-size: 28px; font-weight: 400; color: var(--yf-white) !important;
  margin: 0; line-height: 1.5; opacity: .9; width: 80%;
}

/* ======================================================================
   S4  HOW IT WORKS  (1920 x 989, bg #2d2d2d)
   ====================================================================== */
.yf-hiw { background: var(--yf-dark); padding: 100px 0; position: relative; overflow: hidden; }
.yf-hiw__wrap { position: relative; z-index: 2; }

/* Grid: left 678px, right 936px, gap 36 */
.yf-hiw__grid { display: flex; gap: 36px; align-items: stretch; }
.yf-hiw__left { width: 678px; flex-shrink: 0; display: flex; flex-direction: column; }
.yf-hiw__steps { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.yf-step { display: flex; gap: 20px; align-items: flex-start; padding: 16px 0; padding-bottom: 48px; position: relative; }
.yf-step__num {
  display: none;
}
.yf-step__body { position: relative; }
.yf-step__body h3 { font-size: 28px;line-height: 28px; font-weight: 600; color: var(--yf-white) !important; margin: 0 0 8px;background: rgba(45, 45, 45, 1);position: relative;z-index:2;margin-left: 27px; }
.yf-step__body p  { font-size: 20px; font-weight: 400; color: var(--yf-gray); margin: 0; line-height: 1.5;width:80%; }
.yf-step__icon {
  display: block;
  margin-top: 8px;
  pointer-events: none;
	    position: absolute;
    top: -28px;
    z-index: 1;
}
.yf-hiw__left > .yf-btn { margin-top: 24px; align-self: flex-start; }

.yf-hiw__img { flex: 1; border-radius: 33px; overflow: hidden; min-height: 400px; position: relative; }
.yf-hiw__img > img { width: 100%; object-fit: cover; display: block; }
/* .yf-hiw__watermark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-feature-settings: 'liga' off, 'clig' off;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: rgba(231, 231, 231, 0.25);
  font-family: "Avenir Next", var(--yf-ff);
  font-size: 128px; font-style: normal; font-weight: 700;
  line-height: 128px; letter-spacing: 1.92px;
  color: transparent; white-space: nowrap;
  pointer-events: none; z-index: 2;
} */
.yf-hiw__watermark{
	display:none;
}
/* ======================================================================
   S5  VIDEO  (1920 x 1303, bg #2d2d2d)
   ====================================================================== */
.yf-video { background: var(--yf-dark); padding: 80px 0 165px; position: relative; overflow: hidden; }
.yf-video__deco-pattern {
      position: absolute;
    bottom: 0;
    left: 0;
    width: auto;
    /* height: 100%; */
    border-radius: 50%;
    /* background: radial-gradient(circle, rgba(231, 231, 231, .04) 1px, transparent 1px); */
    /* background-size: 20px 20px; */
    /* opacity: .5; */
    pointer-events: none;
}
.yf-video__deco-ellipse {
  position: absolute; bottom: -60px; right: -60px;
  width: 200px; height: 200px; background: var(--yf-grad);
  border-radius: 50%; opacity: .15; pointer-events: none;
}
.yf-video__wrap { position: relative; z-index: 2; }

/* Tabs (Figma: two tabs, centered, text only) */
.yf-video__tabs { margin-bottom: 64px; }
.yf-video__tabrow { display: flex; gap: 16px; justify-content: center; }
.yf-video__tab {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    /* height: 100px; */
    padding: 0 100px;
    border-radius: 51px;
    border: 3px solid rgba(158, 158, 158, 1);
    background: rgba(45, 45, 45, 1);
    font-size: 48px;
    font-weight: 500;
    color: rgba(158, 158, 158, 1);
    cursor: pointer;
    transition: color .2s, border-color .2s;
    font-family: var(--yf-ff) !important;
    text-transform: none;
    margin: 0;
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
	
}
.yf-video__tab--active {
  color: var(--yf-white);
  border-color:#70BF49;
	margin-bottom:-3px;
}
.yf-video__tabrow{
	border-bottom: 3px solid #70BF49;
}
/* Player (Figma: 1664x768, r33) */
.yf-video__player {
  position: relative; border-radius: 33px; overflow: hidden;
  margin-bottom: 64px; aspect-ratio: 1664/768;
}
.yf-video__player img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yf-video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  cursor: pointer; transition: transform .25s;
}
.yf-video__play:hover { transform: translate(-50%,-50%) scale(1.1); }
.yf-video__btns { display: flex; justify-content: center; gap: 32px; }

/* ======================================================================
   S6  FAQ  (1920 x 1543, bg #e7e7e7)
   ====================================================================== */
.yf-faq { background: var(--yf-light); padding: 100px 0; }
.yf-faq__wrap { max-width: none; }

/* Items (Figma: bg #fff, r48, pad 64/64/32/32, gap24) */
.yf-faq__list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 64px; }
.yf-faq__item {
  background: var(--yf-white); border-radius: 48px; overflow: hidden;
  transition: box-shadow .3s;
}
.yf-faq__item:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.yf-faq__q {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  padding: 32px 64px; background: none; border: none;
  cursor: pointer; text-align: left;
  font-size: 32px; font-weight: 600; color: var(--yf-dark);
  font-family: var(--yf-ff) !important; line-height: 1.4;
	margin-bottom:0;
}
.yf-faq__plus { flex-shrink: 0; color: var(--yf-dark); transition: transform .3s; }
.yf-faq__item--open .yf-faq__plus { transform: rotate(45deg); }
.yf-faq__a {
  max-height: 0; overflow: hidden; padding: 0 64px;
  transition: max-height .4s ease, padding .4s ease;
}
.yf-faq__item--open .yf-faq__a { max-height: 400px; padding: 0 64px 32px; }
.yf-faq__a p { font-size: 24px; font-weight: 400; color: var(--yf-dark2); line-height: 1.55; margin: 0; }

/* Help box (Figma: stroke #70bf49, pad32, r implied, center) */
.yf-faq__help {
  border: 2px solid var(--yf-green); 
	border-left:0;
	border-right:0;
  padding: 32px; text-align: center;
}
.yf-faq__help h3 { font-size: 48px; font-weight: 600; color: var(--yf-dark); margin: 0 0 16px; }
.yf-faq__help > p { font-size: 20px; color: var(--yf-dark2); margin: 0 0 24px; }

/* ======================================================================
   S7  DOWNLOAD  (1920 x 462, gradient bg)
   ====================================================================== */
.yf-download { background: var(--yf-grad); padding: 80px 0; }
.yf-download__inner { display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.yf-download__text { flex: 1; max-width: 750px; }
.yf-download__text h2 {
  font-size: 72px; font-weight: 600; color: var(--yf-white) !important;
  margin: 0 0 24px; line-height: 1.15;
}
.yf-download__text p {
  font-size: 28px; font-weight: 400; color: var(--yf-white) !important;
  margin: 0 0 32px; line-height: 1.45; opacity: .9;
}
.yf-download__stores { display: flex; flex-direction: column; gap: 10px; }
/* Store buttons (Figma: 378x126, bg #000, stroke #a6a6a6, r19) */
.yf-store {
  display: flex; align-items: center; gap: 20px; padding: 10px 15px;
  background: var(--yf-black); border: 1px solid #a6a6a6;
  border-radius: 19px; text-decoration: none !important;
  transition: transform .25s, box-shadow .25s;
}
.yf-store:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.yf-store__icon { flex-shrink: 0; width: 48px; display: flex; align-items: center; justify-content: center; }
.yf-store__text { display: flex; flex-direction: column; }
.yf-store__sub { font-size: 16px; font-weight: 400; color: var(--yf-white) !important; opacity: .8; line-height: 1.3; }
.yf-store__main { font-size: 32px; font-weight: 500; color: var(--yf-white) !important; line-height: 1.2; }

/* ======================================================================
   S8  FOOTER  (1920 x 687, bg #2d2d2d)
   ====================================================================== */
.yf-footer { background: var(--yf-dark); padding: 80px 0 0; position: relative; overflow: hidden; }
.yf-footer__deco-pattern {
      position: absolute;
    bottom: 0;
    left: auto;
    width: auto;
    height: 100%;
    top: 10%;
    /* background: radial-gradient(circle, rgba(231, 231, 231, .04) 1px, transparent 1px); */
    /* background-size: 20px 20px; */
    opacity: .35;
    pointer-events: none;
    right: 0;
}
.yf-footer__deco-ellipse {
  position: absolute; top: -50px; right: -50px;
  width: 160px; height: 160px; background: var(--yf-grad);
  border-radius: 50%; opacity: .15; pointer-events: none;
}
.yf-footer__wrap { position: relative; z-index: 2; }
.yf-footer__logo { margin-bottom: 48px; }
.yf-footer__logo img { height: 75px; width: auto; }

/* Columns (Figma: gap 172px between 4 cols) */
.yf-footer__cols {
  display: grid; grid-template-columns: 1.6fr 1fr .7fr .7fr;
  gap: 48px; margin-bottom: 48px;
}
.yf-footer__col h4 {
  font-size: 28px; font-weight: 600; color: var(--yf-green) !important;
  margin: 0 0 16px;
}
.yf-footer__col p {
  font-size: 20px; font-weight: 400; color: var(--yf-white) !important;
  line-height: 1.65; margin: 0 0 4px;
}
.yf-footer__col ul { list-style: none; padding: 0; margin: 0; }
.yf-footer__col ul li { margin-bottom: 8px; }
.yf-footer__col ul a {
  color: var(--yf-white) !important; font-size: 20px;
  text-decoration: none !important; transition: color .2s;
}
.yf-footer__col ul a:hover { color: var(--yf-green) !important; }

/* Email pill (Figma: white bg, r51, h64, input inside) */
.yf-footer__email-pill {
  display: flex; align-items: center;
  background: var(--yf-white); border-radius: 51px;
  height: 64px; overflow: hidden; margin-top: 16px;
  max-width: 450px;
}
.yf-footer__email-pill input {
  flex: 1; border: none; outline: none; background: transparent;
  padding: 0 24px; font-size: 20px; font-weight: 500; color: var(--yf-dark);
  font-family: var(--yf-ff) !important; height: 100%;
}
.yf-footer__email-pill input::placeholder { color: var(--yf-gray); }
.yf-footer__email-pill button {
  flex-shrink: 0; width: 64px; height: 64px;
  background: var(--yf-white); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.yf-footer__email-pill button:hover { background: var(--yf-light); }

/* Bottom (Figma: stroke top #e7e7e7, text 28px) */
.yf-footer__bottom {
  border-top: 1px solid rgba(231,231,231,.2);
  padding: 32px 0;
}
.yf-footer__bottom p {
  font-size: 28px; font-weight: 400; color: var(--yf-white) !important;
  margin: 0; opacity: .7;
}

/* Scroll to top (Figma: gradient circle 72x72, arrow inside) */
.yf-scrolltop {
  position: fixed; bottom: 40px; right: 40px;
  width: 72px; height: 72px; background: var(--yf-grad);
  border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all .3s; z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.yf-scrolltop--show { opacity: 1; visibility: visible; transform: translateY(0); }
.yf-scrolltop:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.4); }

/* ======================================================================
   RESPONSIVE  — LAPTOP 13.3" / SMALL DESKTOP  (≤ 1440px)
   Tối ưu cho MacBook 13.3" (1280x800, 1440x900)
   ====================================================================== */
@media (max-width: 1440px) {
  /* .yf-container giữ padding vw 6.667vw (≈96px @1440); không override padding cứng nữa */

  /* Menu */
  .yf-menu { height: 96px; }
  .yf-menu__row { gap: 24px; }
  .yf-menu__logo img { height: 56px; }
  .yf-menu__pill { height: 72px; gap: 24px; padding: 0 16px 0 28px; }
  .yf-menu__link { font-size: 16px;justify-content: flex-start !important; }
  .yf-menu__sep { height: 28px; }
  .yf-menu__lang { font-size: 16px; }
  .yf-menu__login { height: 48px; padding: 0 22px; font-size: 16px; }
  .yf-menu__langbtn { height: 48px; padding: 0 18px; font-size: 16px; }
  /* Buttons */
  .yf-btn { height: 52px; font-size: 16px; padding: 8px 24px; gap: 12px; }

  /* Pill title */
  .yf-pill-title { font-size: 34px; height: 72px; padding: 0 28px; gap: 20px; }
  .yf-pill-title__icon { width: 36px; height: 36px; }
  .yf-sec-desc { font-size: 20px; margin-top: 24px; }
  .yf-sec-head { margin-bottom: 28px; }
  .yf-center { margin-top: 32px; }

  /* Banner */
  .yf-banner { min-height: 640px; }
  .yf-banner__inner { min-height: 640px; }
  .yf-banner__text { max-width: 55%; }
  .yf-banner__text h1 { font-size: 48px; margin-bottom: 24px; }
  .yf-banner__text > p { font-size: 20px; margin-bottom: 32px; }
  .yf-banner__btns { gap: 20px; }

  /* Features */
  .yf-features { padding: 72px 0 60px; }
  .yf-features__wrap {
    max-width: 100%;
    /* ≤1440: giữ tỉ lệ vw để co giãn theo viewport */
    padding-left: 6.667vw;
    padding-right: 10vw;
  }
  .yf-features__rows { gap: 24px; }
  .yf-features__row { gap: 24px; }
  .yf-fcard { width: auto; flex: 1 1 0; min-width: 0; min-height: 240px; padding: 24px; gap: 12px; }
  .yf-fcard__icon { width: 68px; height: 68px; }
  .yf-fcard h3 { font-size: 20px; }
  .yf-fcard p { font-size: 15px; }

  /* Brand */
  .yf-brand { padding: 60px 0; }
  .yf-brand__card { min-height: 300px; }
  .yf-brand__content { padding: 36px 48px; }
  .yf-brand__text h2 { font-size: 48px; margin-bottom: 20px; }
  .yf-brand__text p { font-size: 20px; }

  /* How it works */
  .yf-hiw { padding: 72px 0; }
  .yf-hiw__left { width: 48%; }
  .yf-hiw__img { min-height: 360px; }
  .yf-step { padding-bottom: 32px; }
  .yf-step__body h3 { font-size: 22px; line-height: 24px; margin-left: 30px; }
  .yf-step__body p { font-size: 16px; }
  .yf-step__icon { max-width: 72px; }

  /* Video */
  .yf-video { padding: 60px 0 100px; }
  .yf-video__tabs { margin-bottom: 40px; }
  .yf-video__tab { font-size: 28px; padding: 12px 56px; border-width: 2px; }
  .yf-video__player { border-radius: 24px; margin-bottom: 40px; }
  .yf-video__btns { gap: 20px; }

  /* FAQ */
  .yf-faq { padding: 72px 0; }
  .yf-faq__list { gap: 12px; margin-bottom: 40px; }
  .yf-faq__item { border-radius: 32px; }
  .yf-faq__q { font-size: 22px; padding: 24px 40px; }
  .yf-faq__a { padding: 0 40px; }
  .yf-faq__item--open .yf-faq__a { padding: 0 120px 24px 40px; }
  .yf-faq__a p { font-size: 17px; }
  .yf-faq__help { padding: 28px; }
  .yf-faq__help h3 { font-size: 34px; }
  .yf-faq__help > p { font-size: 17px; }

  /* Download */
  .yf-download { padding: 60px 0; }
  .yf-download__inner { gap: 40px; }
  .yf-download__text h2 { font-size: 48px; margin-bottom: 16px; }
  .yf-download__text p { font-size: 20px; margin-bottom: 24px; }
  .yf-store { padding: 8px 14px; }
  .yf-store__icon { width: 36px; }
  .yf-store__sub { font-size: 13px; }
  .yf-store__main { font-size: 22px; }

  /* Footer */
  .yf-footer { padding: 60px 0 0; }
  .yf-footer__logo { margin-bottom: 32px; }
  .yf-footer__logo img { height: 56px; }
  .yf-footer__cols { gap: 32px; margin-bottom: 32px; }
  .yf-footer__col h4 { font-size: 20px; margin-bottom: 12px; }
  .yf-footer__col p, .yf-footer__col ul a { font-size: 15px; line-height: 1.55; }
  .yf-footer__email-pill { height: 52px; }
  .yf-footer__email-pill input { font-size: 15px; padding: 0 18px; }
  .yf-footer__email-pill button { width: 52px; height: 52px; }
  .yf-footer__bottom p { font-size: 16px; }
  .yf-footer__bottom { padding: 20px 0; }

  .yf-scrolltop { width: 56px; height: 56px; bottom: 28px; right: 28px; }

  /* About: Mission */
  .yf-mission { padding: 72px 0 60px; }
  .yf-mission__wrap { max-width: 100%; }
  .yf-mission__text { font-size: 20px; width: 85%; line-height: 1.55; }
  .yf-mission .vector0-top { max-width: 16%; height: auto; top: -20%; }

  /* About: Story */
  .yf-story { padding-bottom: 60px; }
  .yf-story__grid { gap: 0; }
  .yf-story__text { padding: 0 40px; flex: 1 1 0; min-width: 0; }
  .yf-story__text h2 { font-size: 48px; margin-bottom: 20px; line-height: 1.2; }
  .yf-story__text p { font-size: 20px; margin-bottom: 14px; line-height: 1.55; }
  .yf-story__image { flex: 0 0 42%; min-width: 0; }
  .yf-story__image img:nth-child(1) { width: 100%; height: auto; }
  .yf-story__image img:nth-child(2) { top: 6%; height: 88%; max-width: 35%; width: auto; }

  /* About: Stats */
  .yf-stats { padding-bottom: 60px; }
  .yf-stats__card { min-height: 220px; }
  .yf-stats__grid { gap: 28px; padding: 24px 32px; flex-wrap: nowrap; }
  .yf-stat { flex: 1 1 0; min-width: 0; }
  .yf-stat__num { font-size: 48px; line-height: 1.1; }
  .yf-stat__label { font-size: 20px; line-height: 1.35; margin-top: 6px; }

  /* Contact: Info */
  .yf-contact-info { padding: 80px 0 60px; min-height: 500px; }
  .yf-contact-info__grid { gap: 50px; max-width: 100%; }
  .yf-info-card { width: auto; flex: 1 1 0; min-width: 0; padding: 42px 24px 24px; }
  .yf-info-card__icon { width: 76px; height: 76px; top: -38px; }
  .yf-info-card__body h3 { font-size: 28px; }
  .yf-info-card__body p { font-size: 18px; word-break: break-word; }
  .yf-contact-info__deco1 img,
  .yf-contact-info__deco2 img { max-width: 100%; opacity: .7; }
  .yf-contact-info__deco2 { max-width: 22%; }
  .yf-contact-info__deco1 { max-width: 22%; }

  /* Contact: Newsletter */
  .yf-newsletter-banner { min-height: 240px; margin-top: 40px; }
  .yf-newsletter-banner__content { padding: 36px 48px; gap: 24px; flex-wrap: wrap; }
  .yf-newsletter-banner__text { flex: 1 1 260px; min-width: 0; }
  .yf-newsletter-banner__text h3 { font-size: 34px; margin-bottom: 12px; }
  .yf-newsletter-banner__text p { font-size: 20px; }
  .yf-newsletter-banner__input { height: 68px; width: 100%; max-width: 440px; }
  .yf-newsletter-banner__input input { font-size: 18px; padding: 0 20px; }
  .yf-newsletter-banner__input button { width: 60px; height: 68px; }

  /* About: Mission vector handled above */

  /* Decor: giảm overflow ở laptop nhỏ */
  .right-decor-02 { min-height: 540px; margin-top: -8%; max-width: 20%; opacity: .6; }
  .yt-steop-deocpr { max-width: 55%; opacity: .7; }
  .yf-mission .vector0-top { max-width: 18%; }
}

/* ======================================================================
   RESPONSIVE  — TABLET  (≤ 1200px)
   ====================================================================== */
@media (max-width: 1200px) {
  .yf-banner__text h1 { font-size: 56px; }
  .yf-banner__text > p, .yf-sec-desc { font-size: 22px; }
  .yf-pill-title { font-size: 36px; height: 80px; padding: 0 28px; gap: 20px; }
  .yf-fcard { width: auto; flex: 1 1 0; min-width: 280px; }
  .yf-features__row { flex-wrap: wrap; }
  .yf-features__wrap { padding-left: 5vw; padding-right: 6vw; }
  .yf-brand__text h2 { font-size: 56px; }
  .yf-brand__text p { font-size: 22px; }
  .yf-download__text h2 { font-size: 56px; }
  .yf-hiw__watermark { font-size: 80px; line-height: 80px; }
  .yf-video__tab { font-size: 36px; height: 80px; padding: 0 28px; gap: 0; }
  .yf-footer__cols { gap: 32px; }
  .yf-store { width: 300px; height: 100px; }
  .yf-store__main { font-size: 26px; }
}

/* ======================================================================
   RESPONSIVE  — TABLET SMALL  (≤ 1024px)
   ====================================================================== */
@media (max-width: 1024px) {
  .yf-banner { min-height: 700px; }
  .yf-banner__inner { min-height: 700px; }
  .yf-banner__text h1 { font-size: 46px; }
  .yf-banner__text { max-width: 100%; }
  .yf-features__wrap { padding-left: 4vw; padding-right: 4vw; }
  .yf-hiw__grid { flex-direction: column; }
  .yf-hiw__left { width: 100%; }
  .yf-hiw__img { min-height: 350px; }
  .yf-brand__content { flex-direction: column; align-items: flex-start; padding: 40px 48px; }
  .yf-brand__text h2 { font-size: 44px; }
  .yf-download__inner { flex-direction: column; text-align: center; }
  .yf-download__text { max-width: 100%; }
  .yf-download__text h2 { font-size: 46px; }
  .yf-download__stores { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .yf-faq__q { font-size: 26px; padding: 28px 40px; }
  .yf-faq__a { padding: 0 40px; }
  .yf-faq__item--open .yf-faq__a { padding: 0 40px 28px; }
  .yf-faq__a p { font-size: 20px; }
  .yf-faq__help h3 { font-size: 36px; }
  .yf-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ======================================================================
   RESPONSIVE  — MOBILE  (≤ 768px)
   ====================================================================== */
@media (max-width: 768px) {
  .yf-container { padding-left: 20px; padding-right: 20px; }
  .yf-contact-info__grid { padding-left: 20px; padding-right: 20px; gap:50px !important; }

  /* Menu mobile */
  .yf-menu__hamburger { display: flex; }
  .yf-menu { position: relative; height: auto; min-height: 80px; }
  .yf-menu__row { flex-wrap: wrap; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
  .yf-menu__logo img { height: 50px; }
  .yf-menu__pill {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 20px; right: 20px;
    background: var(--yf-white); border-radius: 24px;
    padding: 24px; gap: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.25);
    z-index: 100;
    height: auto; margin-left: 0; width: auto;
  }
  .yf-menu__pill--open { display: flex; }
  .yf-menu__sep { display: none; }
  .yf-menu__login { align-self: flex-start; }
  .yf-menu__link { font-size: 18px; }
  .yf-menu__langbtn { height: 48px; padding: 0 20px; font-size: 16px; align-self: flex-start; }

  /* Banner */
  .yf-banner { min-height: 580px; }
  .yf-banner__inner { min-height: 580px; }
  .yf-banner__text h1 { font-size: 32px; }
  .yf-banner__text > p { font-size: 17px; margin-bottom: 32px; }
  .yf-banner__btns { flex-direction: column; gap: 12px; }
  .yf-btn { font-size: 16px; height: 52px; padding: 8px 24px; gap: 12px; }

  /* Features */
  .yf-features { padding: 50px 0; }
  .yf-features__wrap { padding-left: 20px; padding-right: 20px; }
  .yf-features__row { flex-direction: column; }
  .yf-fcard { min-height: auto; }
  .yf-fcard h3 { font-size: 22px; }
  .yf-fcard p { font-size: 16px; }
  .yf-pill-title { font-size: 24px; height: 60px; padding: 0 20px; gap: 12px; }
  .yf-pill-title__icon { width: 32px; height: 32px; }
  .yf-sec-desc { font-size: 17px; }

  /* Brand */
  .yf-brand { padding: 40px 0; }
  .yf-brand__content { padding: 28px 24px; }
  .yf-brand__text h2 { font-size: 30px; }
  .yf-brand__text p { font-size: 18px; }

  /* How it works */
  .yf-hiw { padding: 50px 0; }
  .yf-hiw__watermark { font-size: 44px; line-height: 44px; }
  .yf-step { padding-bottom: 36px; }
  .yf-step__body h3 { font-size: 20px; }
  .yf-step__body p { font-size: 16px; }

  /* Video */
  .yf-video { padding: 40px 0 50px; }
  .yf-video__tab { font-size: 24px; height: 60px; padding: 0 20px; gap: 0; }
  .yf-video__player { border-radius: 16px; aspect-ratio: 16/9; }
  .yf-video__tabs { margin-bottom: 32px; }
  .yf-video__btns { flex-direction: column; align-items: center; gap: 12px; }

  /* FAQ */
  .yf-faq { padding: 50px 0; }
  .yf-faq__item { border-radius: 24px; }
  .yf-faq__q { font-size: 19px; padding: 20px 24px; }
  .yf-faq__a { padding: 0 24px; }
  .yf-faq__item--open .yf-faq__a { padding: 0 24px 20px;padding-right:48px;text-align:justify; }
  .yf-faq__a p { font-size: 16px; }
  .yf-faq__help { padding: 24px; border-radius: 20px; }
  .yf-faq__help h3 { font-size: 26px; }
	.yf-mission__text{
		width:100% !important;
	}
  /* Download */
  .yf-download { padding: 40px 0; }
  .yf-download__text h2 { font-size: 30px; }
  .yf-download__text p { font-size: 17px; }
  .yf-store { width: 100%; max-width: 320px; height: 90px; }
  .yf-store__main { font-size: 22px; }
  .yf-download__stores { align-items: center; }

  /* Footer */
  .yf-footer { padding: 40px 0 0; }
  .yf-footer__cols { grid-template-columns: 1fr; gap: 28px; }
  .yf-footer__col h4 { font-size: 22px; }
  .yf-footer__col p, .yf-footer__col ul a { font-size: 17px; }
  .yf-footer__bottom p { font-size: 16px; }
  .yf-footer__logo img { height: 50px; }
  .yf-footer__email-pill { max-width: 100%; }
  .yf-scrolltop { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .yf-center { margin-top: 28px; }
}

/* ======================================================================
   ANIMATIONS
   ====================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .yf-fcard, .yf-step, .yf-faq__item {
    opacity: 0; transform: translateY(16px);
    animation: yfUp .45s ease forwards;
  }
  .yf-fcard:nth-child(1) { animation-delay: .08s; }
  .yf-fcard:nth-child(2) { animation-delay: .16s; }
  .yf-fcard:nth-child(3) { animation-delay: .24s; }
  .yf-step:nth-child(1) { animation-delay: .08s; }
  .yf-step:nth-child(2) { animation-delay: .16s; }
  .yf-step:nth-child(3) { animation-delay: .24s; }
  .yf-step:nth-child(4) { animation-delay: .32s; }
}
@keyframes yfUp { to { opacity: 1; transform: translateY(0); } }

/* ======================================================================
   ABOUT US & CONTACT US — Additional Page Styles
   ====================================================================== */

/* --- Flatsome override for about/contact templates --- */
body.page-template-about-yogafy .header-wrapper,
body.page-template-about-yogafy #header,
body.page-template-about-yogafy .header-main,
body.page-template-about-yogafy .absolute-footer,
body.page-template-about-yogafy #footer,
body.page-template-about-yogafy .footer-wrapper,
body.page-template-contact-yogafy .header-wrapper,
body.page-template-contact-yogafy #header,
body.page-template-contact-yogafy .header-main,
body.page-template-contact-yogafy .absolute-footer,
body.page-template-contact-yogafy #footer,
body.page-template-contact-yogafy .footer-wrapper {
  display: none !important;
}
body.page-template-about-yogafy #content,
body.page-template-about-yogafy #content .row,
body.page-template-about-yogafy #content .row .col,
body.page-template-contact-yogafy #content,
body.page-template-contact-yogafy #content .row,
body.page-template-contact-yogafy #content .row .col {
  padding: 0 !important; margin: 0 !important; max-width: 100% !important;
}
body.page-template-about-yogafy .page-wrapper,
body.page-template-contact-yogafy .page-wrapper {
  overflow-x: hidden;
}
body.page-template-about-yogafy,
body.page-template-contact-yogafy {
  font-family: var(--yf-ff) !important;
}
body.page-template-about-yogafy *,
body.page-template-about-yogafy *::before,
body.page-template-about-yogafy *::after,
body.page-template-contact-yogafy *,
body.page-template-contact-yogafy *::before,
body.page-template-contact-yogafy *::after {
  box-sizing: border-box;
  font-family: var(--yf-ff) !important;
}

/* --- Menu: enhanced nav items (home icon, search, lang btn) --- */
.yf-menu__link--active { color: var(--yf-green) !important; }
.yf-menu__langbtn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 64px; padding: 0 24px; border-radius: 38px;
  background: var(--yf-dark); color: var(--yf-white) !important;
  font-size: 20px; font-weight: 500;
}

/* ======================================================================
   ABOUT: MISSION  (1920 x 713, bg #2d2d2d)
   ====================================================================== */
.yf-mission { background: var(--yf-dark); padding: 100px 0 80px; }
.yf-mission__wrap { max-width: none; }
.yf-mission__text {
  font-size: 28px; font-weight: 400; color: var(--yf-white) !important;
  line-height: 1.5; margin: 0; text-align: justify;width:70%;
}

/* ======================================================================
   ABOUT: OUR STORY  (1920 x 989, bg #2d2d2d)
   ====================================================================== */
.yf-story { background: var(--yf-dark); padding: 0 0 80px; position: relative; overflow: hidden; }
.yf-story__deco {
  position: absolute; top: -100px; right: -100px;
  width: 768px; height: 768px; border-radius: 50%;
  background: radial-gradient(circle, rgba(231,231,231,.04) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .5; pointer-events: none;
}
.yf-story__grid {
  display: flex; gap: 0; align-items: stretch; position: relative; z-index: 2;
  /* Figma 1920: padding-right 128px → 128/1920 = 6.667vw (image sát mép trái) */
  padding-right: 6.667vw;
}
.yf-story__text { flex: 1; padding: 0 64px; display: flex; flex-direction: column; justify-content: center; }
.yf-story__text h2 {
  font-size: 72px; font-weight: 600; color: var(--yf-white) !important;
  margin: 0 0 32px; line-height: 1.15;
}
.yf-story__text p {
  font-size: 28px; font-weight: 400; color: var(--yf-white) !important;
  margin: 0 0 24px; line-height: 1.5;
}
.yf-story__image {
  flex: 0 0 40%;
}
.yf-story__image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ======================================================================
   ABOUT: BRAND STATS  (1920 x 594, bg #2d2d2d)
   Figma: card 1664x354, bg #fff, r32, image+green overlay, 4 stats
   ====================================================================== */
.yf-stats { background: var(--yf-dark); padding: 0 0 80px; }
.yf-stats__card {
  position: relative; border-radius: 32px; overflow: hidden;
  min-height: 354px; display: flex; align-items: center; justify-content: center;
}
.yf-stats__bg { position: absolute; inset: 0; z-index: 0; }
.yf-stats__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.yf-stats__bg-overlay { position: absolute; inset: 0; background: rgba(112, 191, 73, 0.75); }
.yf-stats__grid {
  position: relative; z-index: 2;
  display: flex; gap: 126px; padding: 48px 128px;
  justify-content: center; align-items: center; flex-wrap: nowrap;
}
.yf-stat { text-align: center; }
.yf-stat__num {
  display: block; font-size: 72px; font-weight: 600;
  color: var(--yf-dark) !important; line-height: 1.2;
}
.yf-stat__label {
  display: block; font-size: 32px; font-weight: 400;
  color: var(--yf-white) !important; margin-top: 8px; line-height: 1.35;
}

/* ======================================================================
   CONTACT: CONTACT INFO  (1920 x 584, bg #2d2d2d)
   Figma: 3 cards 486x218, bg #fff, r16, pad 32/32/64/32, icon circle 92x92 grad
   ====================================================================== */
.yf-contact-info {
  background: var(--yf-dark); padding: 100px 0 80px;
  position: relative; overflow: hidden;
	    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* .yf-contact-info__deco1
.yf-contact-info__deco2 {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(231,231,231,.04) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .4; pointer-events: none;
} */
.yf-contact-info__deco1 { width: 100%;
    height: auto;
    bottom: 0;
    left: 0;
position:absolute;}
.yf-contact-info__deco2 {     width: auto;
    height: 100%;
    right: 0;
    bottom: 0;
    position: absolute; }
.yf-contact-info__deco2 img{
	height:100%;
}
.yf-contact-info__grid {
  display: flex; gap: 32px; justify-content: center;
  max-width: none; margin: 0 auto;
  position: relative; z-index: 2;
  /* Section này không nằm trong .yf-container — tự áp padding 128px = 6.667vw */
  padding-left: 6.667vw;
  padding-right: 6.667vw;
}
.yf-info-card {
  position: relative; width: 486px;
  background: var(--yf-white); border-radius: 16px;
  padding: 64px 32px 32px; text-align: left;
}
.yf-info-card__icon {
  position: absolute; top: -46px; left: 32px;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--yf-grad);
  display: flex; align-items: center; justify-content: center;
}
.yf-info-card__body h3 {
  font-size: 48px; font-weight: 600; color: var(--yf-dark) !important;
  margin: 0 0 8px;
}
.yf-info-card__body p {
  font-size: 28px; font-weight: 400; color: var(--yf-dark) !important;
  margin: 0;
}
.yf-info-card--center { text-align: center; }
.yf-info-card--center .yf-info-card__icon {
  left: 50%; transform: translateX(-50%);
}

/* ======================================================================
   CONTACT: NEWSLETTER BANNER (inside FAQ, 1664x318, bg #fff, r32)
   Figma: bg image+dark overlay, "Stay on beat" + email pill
   ====================================================================== */
.yf-newsletter-banner {
  position: relative; border-radius: 32px; overflow: hidden;
  min-height: 318px; margin-top: 64px;
  display: flex; align-items: center;
}
.yf-newsletter-banner__bg { position: absolute; inset: 0; z-index: 0; }
.yf-newsletter-banner__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.yf-newsletter-banner__overlay { position: absolute; inset: 0; background: rgba(45,45,45,.85); }
.yf-newsletter-banner__content {
  position: relative; z-index: 2;
  width: 100%;
  display: flex; align-items: center; align-content: center;
  justify-content: space-between;
  gap: 16px; padding: 64px 128px; flex-wrap: wrap;
}
.yf-newsletter-banner__text h3 {
  font-size: 48px; font-weight: 600; color: var(--yf-green) !important;
  margin: 0 0 16px;
}
.yf-newsletter-banner__text p {
  font-size: 28px; font-weight: 400; color: var(--yf-white) !important;
  margin: 0; line-height: 1.4;
}
.yf-newsletter-banner__input {
  display: flex; align-items: center;
  background: var(--yf-white); border-radius: 51px;
  height: 100px; width: 700px; max-width: 100%; overflow: hidden;
}
.yf-newsletter-banner__input input {
  flex: 1; border: none; outline: none; background: transparent;
  padding: 0 32px; font-size: 28px; font-weight: 500;
  color: var(--yf-dark2); font-family: var(--yf-ff) !important; height: 100%;
  margin: 0 !important;
}
.yf-newsletter-banner__input input::placeholder { color: var(--yf-dark2); }
.yf-newsletter-banner__input button {
  flex-shrink: 0; width: 80px; height: 100px;
  background: transparent; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  margin: 0 !important;
}
.yf-newsletter-banner__input button:hover { background: var(--yf-light); }

/* ======================================================================
   RESPONSIVE: ABOUT & CONTACT — TABLET
   ====================================================================== */
@media (max-width: 1200px) {
  .yf-story__text h2 { font-size: 52px; }
  .yf-story__text p { font-size: 22px; }
  .yf-story__image { max-width: 40%; }
  .yf-stats__grid { gap: 64px; padding: 48px 64px; }
  .yf-stat__num { font-size: 56px; }
  .yf-stat__label { font-size: 26px; }
  .yf-newsletter-banner__content { padding: 48px 64px; }
  .yf-newsletter-banner__input { width: 500px; height: 80px; }
  .yf-newsletter-banner__input input { font-size: 22px; }
}

@media (max-width: 1024px) {
  .yf-story__grid { flex-direction: column; }
  .yf-story__image { max-width: 100%; width: 100%; }
  .yf-story__text h2 { font-size: 44px; }
  .yf-contact-info__grid { flex-direction: column; align-items: center; }
  .yf-contact-info { min-height: auto; }
  .yf-info-card { width: 100%; max-width: 600px; }
  .yf-mission__text { width: 100%; }
  .yf-step__icon { max-width: 60px; }
  .yt-steop-deocpr { display: none; }
  .right-decor-02 { display: none; }
  .yf-stats__grid { gap: 40px; padding: 40px 32px; }
  .yf-stat__num { font-size: 48px; }
  .yf-newsletter-banner__content { flex-direction: column; padding: 40px 32px; }
  .yf-newsletter-banner__input { width: 100%; height: 72px; }
}

/* ======================================================================
   RESPONSIVE: ABOUT & CONTACT — MOBILE
   ====================================================================== */
@media (max-width: 768px) {
  .yf-mission { padding: 50px 0 40px; }
  .yf-mission__text { font-size: 17px; width: 100%; }
  .yf-mission .vector0-top { display: none; }
  .yf-story { padding-bottom: 40px; }
  .yf-story__grid { padding-right: 0; }
  .yf-story__text { padding: 0 15px !important; text-align:justify; }
  .yf-story__text h2 { font-size: 25px !important; }
  .yf-story__text p { font-size: 17px; }
  .yf-story__image img:nth-child(2) { display: none; }
  .yf-stats { padding-bottom: 40px; }
  .yf-stats__card { min-height: 280px; }
  .yf-stats__grid { gap: 24px; padding: 32px 20px; flex-wrap: wrap !important; }
  .yf-stat { flex: 0 0 calc(50% - 12px) !important; }
  .yf-stat__num { font-size: 36px; }
  .yf-stat__label { font-size: 18px; }
  .yf-contact-info { padding: 80px 0 40px; min-height: auto; }
  .yf-contact-info__deco1, .yf-contact-info__deco2 { display: none; }
  .yf-info-card { padding: 32px 24px 24px !important; width: 100%; }
  .yf-info-card__body h3 { font-size: 32px; }
  .yf-info-card__body p { font-size: 20px; }
  .yf-info-card__icon { width: 72px; height: 72px; top: -36px; }
  .yf-newsletter-banner { min-height: auto; margin-top: 40px; }
  .yf-newsletter-banner__content { padding: 28px 20px; }
  .yf-newsletter-banner__text h3 { font-size: 28px; }
  .yf-newsletter-banner__text p { font-size: 17px; }
  .yf-newsletter-banner__input { height: 56px; }
  .yf-newsletter-banner__input input { font-size: 16px; padding: 0 20px; }
  .yf-newsletter-banner__input button { width: 56px; height: 56px; }
  .yf-step__icon { display: none; }
  .yt-steop-deocpr { display: none; }
  .right-decor-02 { display: none; }
}
.yf-title-2{
	color: #70BF49;
	padding-left:0;
	border-left:0;
	border-top-left-radius:0;
	border-bottom-left-radius:0;
}
.yf-footer__email-pill input{
	margin-bottom:0;
}
.yf-footer__email-pill button{
	margin-bottom:0;
}
.yf-story__image {
	position:relative;
}
.yf-story__image img:nth-child(1){
	z-index: 2;
    position: relative;
}
.yf-story__image img:nth-child(2){
	position: absolute;
    width: auto;
    height: 100%;
    top: 9%;
    z-index: 1;
}
.yf-mission{
	position:relative;
}
.yf-mission .vector0-top{
	position: absolute;
    width: auto;
    height: auto;
    right: 0;
    top: -45%;
}
.yt-steop-deocpr{
	position:absolute;
	right:0;
}
.right-decor-02{
	    position: absolute;
    right: 0;
    z-index: 1;
    min-height: 768px;
    margin-top: -15%;
}

/* ======================================================================
   OVERRIDES — MacBook 13.3" (≤ 1440px)
   Đặt cuối file để thắng các rule base về sau trong cascade.
   ====================================================================== */
@media (max-width: 1440px) {
  /* About: Mission */
  .yf-mission { padding: 72px 0 60px; }
  .yf-mission__wrap { max-width: 100%; }
  .yf-mission__text { font-size: 20px; width: 85%; line-height: 1.55; }
  .yf-mission .vector0-top { max-width: 16%; height: auto; top: -20%; }

  /* About: Story */
  .yf-story { padding-bottom: 60px; }
  .yf-story__grid { gap: 0; }
  .yf-story__text { padding: 0 40px; flex: 1 1 0; min-width: 0; }
  .yf-story__text h2 { font-size: 48px; margin-bottom: 20px; line-height: 1.2; }
  .yf-story__text p { font-size: 20px; margin-bottom: 14px; line-height: 1.55; }
  .yf-story__image { flex: 0 0 42%; min-width: 0; max-width: 42%; }
  .yf-story__image img:nth-child(1) { width: 100%; height: auto; }
  .yf-story__image img:nth-child(2) { top: 6%; height: 88%; max-width: 35%; width: auto; }

  /* About: Stats */
  .yf-stats { padding-bottom: 60px; }
  .yf-stats__card { min-height: 220px; }
  .yf-stats__grid { gap: 28px; padding: 24px 32px; flex-wrap: nowrap; }
  .yf-stat { flex: 1 1 0; min-width: 0; }
  .yf-stat__num { font-size: 48px; line-height: 1.1; }
  .yf-stat__label { font-size: 20px; line-height: 1.35; margin-top: 6px; }

  /* Contact: Info */
  .yf-contact-info { padding: 80px 0 60px; min-height: 500px; }
  .yf-contact-info__grid { gap: 24px; max-width: 100%; }
  .yf-info-card { width: auto; flex: 1 1 0; min-width: 0; padding: 56px 24px 24px; }
  .yf-info-card__icon { width: 76px; height: 76px; top: -38px; }
  .yf-info-card__body h3 { font-size: 28px; }
  .yf-info-card__body p { font-size: 18px; word-break: break-word; }

  /* Contact: Newsletter */
  .yf-newsletter-banner { min-height: 240px; margin-top: 40px; }
  .yf-newsletter-banner__content { padding: 36px 48px; gap: 24px; flex-wrap: wrap; }
  .yf-newsletter-banner__text { flex: 1 1 0; min-width: 0; }
  .yf-newsletter-banner__text h3 { font-size: 34px; margin-bottom: 12px; }
  .yf-newsletter-banner__text p { font-size: 20px; }
  .yf-newsletter-banner__input { height: 68px; width: 100%; max-width: 440px; }
  .yf-newsletter-banner__input input { font-size: 18px; padding: 0 20px; }
  .yf-newsletter-banner__input button { width: 60px; height: 68px; }
}

/* ======================================================================
   FLUID TYPOGRAPHY (override toàn cục)
   Base design: 1920px. Công thức vw = (px / 1920) * 100.
   clamp(min, fluid, max) — min cho mobile, max = size Figma full HD.
   Block này đặt cuối file để thắng các rule font-size cố định ở @media trên
   (cùng specificity, nguồn sau thắng).
   ====================================================================== */

/* H1 / Banner heading (72px @1920 → 70px max ở <1920) */
.yf-banner__text h1,
.yf-brand__text h2,
.yf-download__text h2 {
  font-size: clamp(28px, 3.75vw, 70px) !important;
  line-height: 1.15;
}

/* Story heading (52px @1920 → 50px max ở <1920) */
.yf-story__text h2 {
  font-size: clamp(24px, 2.7vw, 50px) !important;
  line-height: 1.15;
}

/* H2 lớn (48px @1920 → 46px max ở <1920) */
.yf-faq__help h3,
.yf-newsletter-banner__text h3,
.yf-info-card__body h3,
.yf-stat__num,
.yf-video__tab {
  font-size: clamp(22px, 2.5vw, 46px) !important;
}

/* H3 / Card title (28px @1920 → 26px max ở <1920) */
.yf-fcard h3,
.yf-step__body h3,
.yf-footer__col h4 {
  font-size: clamp(18px, 1.46vw, 26px) !important;
}

/* Pill-title section heading (48px @1920 → 46px max ở <1920) */
.yf-pill-title {
  font-size: clamp(20px, 2.5vw, 46px) !important;
}

/* Body large / lead (28px @1920 → 26px max ở <1920) */
.yf-mission__text,
.yf-story__text p,
.yf-brand__text p,
.yf-download__text p,
.yf-banner__text > p,
.yf-sec-desc,
.yf-stat__label,
.yf-info-card__body p,
.yf-newsletter-banner__text p,
.yf-faq__a p {
  font-size: clamp(15px, 1.46vw, 26px) !important;
  line-height: 1.5;
}

/* Body medium (24px @1920 → 22px max ở <1920) */
.yf-faq__q {
  font-size: clamp(16px, 1.25vw, 22px) !important;
}

/* Body / card desc (20px @1920 → 18px max ở <1920) */
.yf-fcard p,
.yf-step__body p,
.yf-footer__col p,
.yf-footer__col ul a,
.yf-menu__link,
.yf-menu__lang,
.yf-menu__login,
.yf-menu__langbtn,
.yf-faq__help > p,
.yf-btn {
  font-size: clamp(14px, 1.04vw, 18px) !important;
}

/* Store / footer small (16px @1920 → 14px max ở <1920) */
.yf-store__sub,
.yf-footer__bottom p {
  font-size: clamp(12px, 0.83vw, 14px) !important;
}

/* Store main (32px @1920 → 30px max ở <1920) */
.yf-store__main,
.yf-faq__q {
  font-size: clamp(16px, 1.66vw, 30px) !important;
}

/* Newsletter input (28px @1920 → 26px max ở <1920) */
.yf-newsletter-banner__input input,
.yf-footer__email-pill input {
  font-size: clamp(14px, 1.46vw, 26px) !important;
}

/* ======================================================================
   FULL HD (≥1920px): khôi phục size gốc Figma (cộng lại 2px so với clamp max).
   ====================================================================== */
@media (min-width: 1920px) {
  .yf-banner__text h1,
  .yf-brand__text h2,
  .yf-download__text h2 { font-size: 72px !important; }

  .yf-story__text h2 { font-size: 52px !important; }

  .yf-faq__help h3,
  .yf-newsletter-banner__text h3,
  .yf-info-card__body h3,
  .yf-stat__num,
  .yf-video__tab { font-size: 48px !important; }

  .yf-fcard h3,
  .yf-step__body h3,
  .yf-footer__col h4 { font-size: 28px !important; }

  .yf-pill-title { font-size: 48px !important; }

  .yf-mission__text,
  .yf-story__text p,
  .yf-brand__text p,
  .yf-download__text p,
  .yf-banner__text > p,
  .yf-sec-desc,
  .yf-stat__label,
  .yf-info-card__body p,
  .yf-newsletter-banner__text p,
  .yf-faq__a p { font-size: 28px !important; }

  .yf-faq__q { font-size: 24px !important; }

  .yf-fcard p,
  .yf-step__body p,
  .yf-footer__col p,
  .yf-footer__col ul a,
  .yf-menu__link,
  .yf-menu__lang,
  .yf-menu__login,
  .yf-menu__langbtn,
  .yf-faq__help > p,
  .yf-btn { font-size: 20px !important; }

  .yf-store__sub,
  .yf-footer__bottom p { font-size: 16px !important; }

  .yf-store__main,
  .yf-faq__q { font-size: 32px !important; }

  .yf-newsletter-banner__input input,
  .yf-footer__email-pill input { font-size: 28px !important; }
}

/* Mobile fallback (< 600px): bỏ vw quá nhỏ, dùng cố định cho dễ đọc */
@media (max-width: 600px) {
  .yf-banner__text h1,
  .yf-brand__text h2,
  .yf-download__text h2,
  .yf-story__text h2 { font-size: 32px !important; }
  .yf-faq__help h3,
  .yf-newsletter-banner__text h3,
  .yf-info-card__body h3,
  .yf-stat__num,
  .yf-video__tab { font-size: 26px !important; }
  .yf-fcard h3,
  .yf-step__body h3,
  .yf-footer__col h4 { font-size: 20px !important; }
  .yf-pill-title { font-size: 18px !important; }
  .yf-mission__text,
  .yf-story__text p,
  .yf-brand__text p,
  .yf-download__text p,
  .yf-banner__text > p,
  .yf-sec-desc,
  .yf-stat__label,
  .yf-info-card__body p,
  .yf-newsletter-banner__text p,
  .yf-faq__a p { font-size: 16px !important; }
  .yf-faq__q { font-size: 18px !important; }
  .yf-fcard p,
  .yf-step__body p,
  .yf-footer__col p,
  .yf-footer__col ul a,
  .yf-menu__link,
  .yf-menu__lang,
  .yf-menu__login,
  .yf-menu__langbtn,
  .yf-faq__help > p,
  .yf-btn { font-size: 15px !important; }
  .yf-store__main { font-size: 20px !important; }
  .yf-store__sub,
  .yf-footer__bottom p { font-size: 13px !important; }
  .yf-newsletter-banner__input input,
  .yf-footer__email-pill input { font-size: 16px !important; }
}

/* ======================================================================
   FIX SOURCE-ORDER: .yf-menu__langbtn rule base ở giữa file (sau các @media
   1440/768) nên override responsive bị mất. Re-apply ở đây.
   ====================================================================== */
@media (max-width: 1440px) {
  .yf-menu__langbtn { height: 48px !important; padding: 0 18px !important; }
}
@media (max-width: 768px) {
  .yf-menu__langbtn {
    height: 48px !important; padding: 0 20px !important;
    align-self: flex-start;
  }
}