/* Astra — edu12 "Mây Nhỏ" dựng Y HỆT mockup (2026-09-27). Tiền tố edm-. */
@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Nunito:wght@700;800;900&family=Dancing+Script:wght@500&display=swap");
:root { --edm-orange:#F47A2B; --edm-orange2:#FF9A4D; --edm-navy:#1E3A5F; --edm-sky:#EAF4FC; --edm-peach:#FFE9DA; --edm-cream:#FFF8F1; --edm-text:#55606E; --edm-line:#EFE4D8; }
body, p, a, li, input, select, textarea, button, .nav > li > a { font-family: "Be Vietnam Pro", Arial, sans-serif !important; }
h1, h2, h3, .heading-font, .edm-h2, .edm-h2c, .edm-hero-title { font-family: "Nunito", "Be Vietnam Pro", sans-serif !important; }
body { background: #fff; color: var(--edm-navy); }

/* Topbar + header */
#top-bar { background: var(--edm-sky) !important; min-height: 36px; }
#top-bar, #top-bar a, #top-bar p { color: var(--edm-navy) !important; font-size: 12.5px !important; }
.edm-tb { display: inline-flex; gap: 8px; align-items: center; margin-right: 22px; } .edm-tb img { width: 15px; height: 15px; }
#top-bar .social-icons a { color: var(--edm-navy) !important; }
#header .header-main { background: #fff !important; height: 72px; }
#header .header-main .nav > li > a { font-size: 14px !important; font-weight: 500 !important; color: var(--edm-navy) !important; text-transform: none !important; letter-spacing: 0 !important; }
#header .header-main .nav > li { margin: 0 12px !important; }
#header .header-main .nav > li.active > a { color: var(--edm-orange) !important; box-shadow: inset 0 -2px 0 var(--edm-orange); }
#header #logo { width: 170px !important; }
#header #logo a { display: flex; align-items: center; gap: 8px; font-family: "Nunito", sans-serif !important; font-weight: 800; font-size: 24px; color: var(--edm-navy) !important; }
#header #logo a::before { content: ""; width: 54px; height: 44px; background: url(icons/logo.png) center/contain no-repeat; flex: 0 0 54px; }
#header .header-button-1 .button { background: var(--edm-orange) !important; border: 0 !important; color: #fff !important; border-radius: 99px !important; text-transform: none !important; font-weight: 600 !important; letter-spacing: 0 !important; padding: 0 26px !important; min-height: 42px; line-height: 42px; font-size: 14px !important; box-shadow: 0 6px 16px rgba(244,122,43,.3); }

/* Chung */
.edm-sec p { color: var(--edm-text); font-size: 14.5px; line-height: 1.6; }
.edm-sec .col { padding-bottom: 0; }
.edm-head { padding-bottom: 18px !important; }
.edm-right .col-inner { text-align: right; }
.edm-kicker { color: var(--edm-orange) !important; font-size: 13px !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px !important; }
.edm-h2 { font-size: 34px !important; font-weight: 800 !important; color: var(--edm-navy) !important; line-height: 1.2 !important; margin: 0 0 14px !important; }
.edm-h2c { font-size: 30px !important; font-weight: 800 !important; color: var(--edm-navy) !important; margin: 0 0 4px !important; }
.edm-sub { color: var(--edm-text) !important; font-size: 14px !important; margin: 0 !important; }
.edm-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--edm-orange); color: #fff !important; border-radius: 99px; padding: 0 24px; height: 46px; font-size: 14.5px; font-weight: 600; box-shadow: 0 8px 20px rgba(244,122,43,.28); }
.edm-btn-line { background: #fff; color: var(--edm-orange) !important; border: 1.5px solid var(--edm-orange); box-shadow: none; margin-left: 12px; }
.edm-btn-soft { display: inline-flex; gap: 8px; border: 1px solid #9CC6EC; color: #2D6BA8 !important; border-radius: 99px; padding: 8px 24px; font-size: 13px; }
.edm-script { font-family: "Dancing Script", cursive !important; font-size: 24px !important; color: var(--edm-navy) !important; line-height: 1.2 !important; transform: rotate(-8deg); }
.edm-link a, .edm-more a { color: var(--edm-orange) !important; font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--edm-orange); }
.edm-link span, .edm-more span { margin-left: 8px; }

/* Hero */
.edm-hero { background: var(--edm-cream); }
.edm-hero .banner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(255,248,241,1) 0%,rgba(255,248,241,.92) 38%,rgba(255,248,241,0) 58%); }
.edm-hero .banner-bg::before { content: ""; position: absolute; left: 44%; top: 20px; width: 70px; height: 70px; background: url(icons/sun.png) center/contain no-repeat; z-index: 2; }
.edm-hero-title { font-size: 52px !important; font-weight: 900 !important; color: var(--edm-navy) !important; line-height: 1.12 !important; margin: 0 0 14px !important; }
.edm-hero-lead { font-size: 15px !important; margin: 0 0 22px !important; }
.edm-btns { margin: 0 0 24px !important; }
.edm-pills { display: flex; gap: 28px; margin: 0 !important; }
.edm-pills span { display: inline-flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--edm-navy); }
.edm-pills img { width: 34px; height: 34px; }
.edm-bubble p { background: #fff; border-radius: 40px; padding: 12px 18px; color: var(--edm-navy) !important; font-size: 13px !important; font-weight: 600; line-height: 1.5 !important; box-shadow: 0 8px 22px rgba(30,58,95,.12); margin: 0 !important; }
.edm-bubble img { width: 14px; height: 14px; vertical-align: -2px; }
.edm-hero-script p { font-family: "Dancing Script", cursive !important; color: #3A4E68 !important; font-size: 20px !important; line-height: 1.2 !important; transform: rotate(-10deg); }

/* Hai thẻ */
.edm-card { display: flex; border-radius: 16px; overflow: hidden; min-height: 196px; }
.edm-card-peach { background: #FFE0CB; } .edm-card-blue { background: #D9ECFB; }
.edm-card-img { flex: 0 0 48%; background-size: cover; background-position: center; }
.edm-card-body { padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; }
.edm-card strong { font-family: "Nunito", sans-serif; font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--edm-orange); }
.edm-card-blue strong { color: #1E4F8A; }
.edm-card em { font-style: normal; font-size: 13.5px; color: var(--edm-text); margin: 8px 0 14px; }
.edm-card b { align-self: flex-start; background: var(--edm-orange); color: #fff; border-radius: 99px; padding: 9px 20px; font-size: 13.5px; font-weight: 600; }

/* Về */
.edm-tabs { display: flex; gap: 10px; margin: 0 0 16px !important; }
.edm-tabs span { border: 1px solid #F2C9A9; border-radius: 99px; padding: 6px 22px; font-size: 13px; color: var(--edm-navy); }
.edm-tabs span.is-active { background: var(--edm-orange); color: #fff; border-color: var(--edm-orange); }
.edm-checks { display: flex; gap: 26px; flex-wrap: wrap; } .edm-checks span { display: inline-flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--edm-navy); } .edm-checks img { width: 20px; height: 20px; }
.edm-about-media .col-inner { position: relative; }
.edm-about-media .img-inner { border-radius: 60px 20px 20px 20px; overflow: hidden; }
.edm-about-script { position: absolute; left: 20px; top: 40px; z-index: 2; }

/* Dịch vụ */
.edm-svc-card { display: block; background: #fff; border-radius: 16px; overflow: hidden; text-align: center; padding-bottom: 18px; box-shadow: 0 8px 22px rgba(30,58,95,.06); color: var(--edm-navy) !important; }
.edm-svc-img { display: block; height: 170px; background-size: cover; background-position: center; margin-bottom: 14px; }
.edm-svc-card strong { display: block; font-family: "Nunito", sans-serif; font-size: 19px; font-weight: 800; }
.edm-svc-card em { display: block; font-style: normal; font-size: 13.5px; color: var(--edm-text); margin: 6px 24px 10px; }
.edm-svc-card b { color: var(--edm-orange); font-size: 13.5px; border-bottom: 1px solid var(--edm-orange); }

/* Đội ngũ */
.edm-member { background: #fff; border-radius: 18px; text-align: center; padding: 22px 12px 18px; box-shadow: 0 8px 22px rgba(30,58,95,.06); }
.edm-member-img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; display: block; background: #F2F2F2; }
.edm-member strong { display: block; font-family: "Nunito", sans-serif; font-size: 17px; font-weight: 800; }
.edm-member em { display: block; font-style: normal; font-size: 13px; color: var(--edm-text); margin-bottom: 10px; }
.edm-member-social { display: flex; justify-content: center; gap: 10px; } .edm-member-social img { width: 26px; height: 26px; }

/* Cam kết */
.edm-promise { background: var(--edm-orange) url(icons/cloudline.png) 3% 50%/90px auto no-repeat !important; }
.edm-prom { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 !important; color: #fff !important; font-size: 13px !important; }
.edm-prom img { width: 40px; height: 40px; }
.edm-prom strong { font-size: 16px; font-weight: 700; }
.edm-prom span { color: rgba(255,255,255,.88); max-width: 200px; }

/* Cảm nhận */
.edm-quote { background: #fff; border-radius: 16px; padding: 22px 26px 18px 72px; position: relative; box-shadow: 0 8px 22px rgba(30,58,95,.06); }
.edm-q { position: absolute; left: 24px; top: 22px; width: 30px; height: 30px; }
.edm-quote p { font-size: 14px !important; color: var(--edm-navy) !important; margin: 0 0 6px !important; }
.edm-stars { color: #F5A623 !important; letter-spacing: 2px; }
.edm-by { display: flex; gap: 12px; align-items: center; } .edm-by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.edm-by span { font-size: 12.5px; color: var(--edm-text); } .edm-by strong { display: block; color: var(--edm-navy); font-size: 14px; }

/* Gói */
.edm-plan { position: relative; border: 1px solid #F0E6DB; border-radius: 16px; padding: 26px 24px 22px; height: 100%; display: flex; flex-direction: column; background: #fff; }
.edm-plan-hot { border: 2px solid var(--edm-orange2); box-shadow: 0 16px 34px rgba(244,122,43,.14); }
.edm-plan-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--edm-orange); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 18px; border-radius: 99px; text-transform: uppercase; }
.edm-plan-head { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px !important; font-size: 12px !important; }
.edm-plan-head img { width: 40px; height: 40px; } .edm-plan-head strong { display: block; font-size: 16px; color: var(--edm-navy); }
.edm-plan-price { font-family: "Nunito", sans-serif; font-size: 30px !important; font-weight: 900; color: var(--edm-orange) !important; margin: 0 0 10px !important; }
.edm-plan-price small { display: block; font-family: "Be Vietnam Pro", sans-serif; font-size: 12px; font-weight: 400; color: var(--edm-text); }
.edm-plan ul { list-style: none; margin: 0 0 18px !important; flex: 1; }
.edm-plan li { list-style: none; font-size: 13px; color: var(--edm-navy); margin: 0 0 6px !important; padding-left: 26px; background: url(icons/check-o.png) left center/16px no-repeat; }
.edm-plan-btn { display: block; text-align: center; border: 1.5px solid var(--edm-orange); color: var(--edm-orange) !important; border-radius: 99px; padding: 9px; font-weight: 600; font-size: 14px; }
.edm-plan-hot .edm-plan-btn { background: var(--edm-orange); color: #fff !important; }
.edm-plan-note { font-size: 12px !important; margin: 14px 0 10px !important; }

/* Blog */
.edm-blog-list .col-inner { background: #fff; border-radius: 14px; overflow: hidden; }
.edm-blog-list .box-text { padding: 12px 16px 16px !important; }
.edm-blog-list .cat-label, .edm-blog-list .post-meta { font-size: 11.5px !important; color: #7A8594; opacity: 1 !important; text-transform: uppercase; }
.edm-blog-list .post-title { font-family: "Nunito", sans-serif; font-size: 17px !important; font-weight: 800; color: var(--edm-navy); line-height: 1.3; }
.edm-blog-list .from_the_blog_excerpt { font-size: 12.5px; color: var(--edm-text); }
.edm-blog-list .button { border: 0 !important; background: none !important; color: var(--edm-orange) !important; padding: 0 !important; font-size: 13px; text-transform: none; font-weight: 600; min-height: 0; line-height: 1.4; text-decoration: underline; }
.edm-blog-list .button::after { content: " →"; }
.edm-blog-list .is-divider, .edm-blog-list .badge { display: none !important; }

/* Footer */
.edm-footer p, .edm-footer li { color: rgba(255,255,255,.82) !important; font-size: 13.5px !important; }
.edm-footer a { color: rgba(255,255,255,.85) !important; }
.edm-footer p.edm-ft-logo, .edm-ft-logo { display: flex; gap: 8px; align-items: center; font-family: "Nunito", sans-serif; font-weight: 800; font-size: 24px !important; color: #fff !important; margin: 0 0 8px !important; }
.edm-ft-logo img { width: 60px; height: auto; }
.edm-ft-col .col-inner { border-left: 1px solid rgba(255,255,255,.15); padding-left: 24px; }
.edm-ft-title { display: flex; gap: 10px; align-items: center; color: #fff !important; font-family: "Be Vietnam Pro", sans-serif !important; font-size: 14.5px !important; font-weight: 600 !important; margin: 0 0 10px !important; }
.edm-ft-title img { width: 18px; height: 18px; }
.edm-ft-list { list-style: none; margin: 0 !important; } .edm-ft-list li { list-style: none; display: flex; gap: 10px; margin: 0 0 6px !important; } .edm-ft-list img { width: 16px; height: 16px; margin-top: 3px; }
.edm-ft-social { display: flex; gap: 10px; } .edm-ft-social img { width: 30px; height: 30px; }
.edm-ft-copy { border-top: 1px solid rgba(255,255,255,.14); padding-top: 12px !important; margin-top: 14px; }
.edm-ft-copy p { font-size: 12.5px !important; margin: 0 !important; } .edm-ft-copy span { margin: 0 12px; }
#footer .absolute-footer { display: none; }

@media (max-width: 849px) {
  .edm-hero .banner-bg::after { background: linear-gradient(180deg,rgba(255,248,241,.2) 0%,rgba(255,248,241,.95) 45%); }
  .edm-hero-title { font-size: 34px !important; } .edm-h2 { font-size: 26px !important; } .edm-h2c { font-size: 24px !important; }
  .edm-btn-line { margin: 10px 0 0; } .edm-pills { flex-wrap: wrap; gap: 12px; }
  .edm-card { flex-direction: column; } .edm-card-img { min-height: 180px; }
  .edm-about-script { display: none; } .edm-right .col-inner { text-align: left; }
  .edm-prom { padding-bottom: 14px; } .edm-ft-col .col-inner { border: 0; padding-left: 0; }
}
/* r3: nút nổi theo mockup thay nút cũ của theme */
.float-contact { display: none !important; }
.edm-fab { position: fixed; right: 22px; bottom: 22px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.edm-fab a { display: block; width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.edm-fab img { width: 52px; height: 52px; display: block; }
@media (max-width: 549px) { .edm-fab { right: 14px; bottom: 14px; } .edm-fab a, .edm-fab img { width: 46px; height: 46px; } }
.back-to-top { bottom: 150px !important; }
/* r3 fix: logo một dòng như mockup */
#header #logo { width: 200px !important; }
#header #logo a { text-transform: none !important; white-space: nowrap; font-size: 25px !important; letter-spacing: 0 !important; line-height: 1 !important; }
/* r3 fix: header nền trắng nhưng Flatsome để chế độ tối -> icon menu/tìm kiếm mobile trắng trên trắng */
.header-main .mobile-nav > li > a, .header-main .mobile-nav .nav-icon i, .header-main .mobile-nav .icon-search, .header-main .mobile-nav i::before { color: var(--edm-navy) !important; }
.edm-hero .edm-hero-lead, .edm-hero-box p.edm-hero-lead { color: #4A5568 !important; }
/* ruler:auto BEGIN — tools/astra-bridge/lab/ruler_fix.py, đừng sửa tay */
@media (min-width: 850px) {
  .edm-about-text h2.edm-h2 { font-size: 46.2px !important; }
  .edm-ft-col h3.edm-ft-title { font-size: 17.3px !important; }
  .edm-head h2.edm-h2c { font-size: 39.0px !important; }
  .edm-hero-box h1.edm-hero-title { font-size: 67.6px !important; }
  .edm-hero-box h1.edm-ititle { font-size: 57.2px !important; }
  .edm-bubble img[src*="/icons/c-heart.png"] { width: 42px !important; height: 42px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .edm-checks img[src*="/icons/check-o.png"] { width: 56px !important; height: 56px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .edm-ft-social img { width: 70px !important; height: 70px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .edm-member-social img { width: 34px !important; height: 34px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .edm-more-ico img { width: 78px !important; height: 78px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .edm-pills img[src*="/icons/c-shield.png"] { width: 98px !important; height: 98px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .edm-plan-head img { width: 88px !important; height: 88px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .edm-prom img[src*="/icons/w-heart.png"] { width: 48px !important; height: 48px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .edm-quote-line img[src*="/icons/quote.png"] { width: 70px !important; height: 70px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .edm-tb img { width: 28px !important; height: 28px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .mnp-play img[src*="/icons/play.png"] { width: 120px !important; height: 120px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
}
@media (max-width: 849px) {
  .edm-bubble img[src*="/icons/c-heart.png"] { width: 30px !important; height: 30px !important; }
  .edm-checks img[src*="/icons/check-o.png"] { width: 40px !important; height: 40px !important; }
  .edm-ft-social img { width: 48px !important; height: 48px !important; }
  .edm-member-social img { width: 26px !important; height: 26px !important; }
  .edm-more-ico img { width: 54px !important; height: 54px !important; }
  .edm-pills img[src*="/icons/c-shield.png"] { width: 68px !important; height: 68px !important; }
  .edm-plan-head img { width: 62px !important; height: 62px !important; }
  .edm-prom img[src*="/icons/w-heart.png"] { width: 40px !important; height: 40px !important; }
  .edm-quote-line img[src*="/icons/quote.png"] { width: 48px !important; height: 48px !important; }
  .edm-tb img { width: 20px !important; height: 20px !important; }
  .mnp-play img[src*="/icons/play.png"] { width: 84px !important; height: 84px !important; }
}
/* ruler:auto END */
/* header r4 — cỡ theo mockup: topbar đậm rõ, logo mặt trời + chữ to */
#top-bar, #top-bar a, #top-bar p, #top-bar .edm-tb { font-size: 14.5px !important; color: #1E3A5F !important; opacity: 1 !important; }
.edm-tb img { width: 18px !important; height: 18px !important; }
#top-bar .social-icons i { font-size: 17px !important; }
@media (min-width: 850px) {
  #header #logo { width: 240px !important; }
  #header #logo a { font-size: 31px !important; }
  #header #logo a::before { width: 74px !important; height: 58px !important; flex: 0 0 74px !important; }
  #header .header-button-1 .button { font-size: 16px !important; min-height: 48px !important; line-height: 48px !important; padding: 0 30px !important; }
}
/* ruler:manual — chỉnh sau khi xem review, 09-28 */
@media (min-width: 850px) {
  .edm-hero-box h1.edm-hero-title { font-size: 54px !important; }
  .edm-checks img[src*="/icons/check-o.png"] { width: 30px !important; height: 30px !important; }
  .edm-ft-social img { width: 36px !important; height: 36px !important; }
  .edm-more-ico img { width: 44px !important; height: 44px !important; }
  .edm-pills img[src*="/icons/c-shield.png"] { width: 28px !important; height: 28px !important; }
  .edm-plan-head img { width: 48px !important; height: 48px !important; }
  .edm-quote-line img[src*="/icons/quote.png"] { width: 44px !important; height: 44px !important; }
  .mnp-play img[src*="/icons/play.png"] { width: 72px !important; height: 72px !important; }
}
@media (min-width: 850px) { .edm-prom img { width: 56px !important; height: 56px !important; max-width: none !important; } }
/* fix1005: hàng icon MXH chân trang tràn 900–1199 */
@media (min-width: 850px) and (max-width: 1199px) { .edm-ft-social { flex-wrap: wrap !important; gap: 8px !important; } .edm-ft-social a, .edm-ft-social img { width: 30px !important; height: 30px !important; } }
@media (min-width: 850px) and (max-width: 1299px) { .edm-hero-script { display: none !important; } }  /* fix1005: chữ viết tay hero tràn phải 900–1024 */
