/*
Landing:  Maison Privée Ciputra Tây Hồ
Prefix:   .mp-  (class gốc trên body: mp-lp)
Fonts:    https://fonts.googleapis.com/css2?family=Marcellus&family=Jost:wght@300;400;500&display=swap
Version:  1.0.3
Ghi chú:  Chuyển từ ciputra-maisonprivee.com (Additional CSS + font Customizer Flatsome) sang thư viện landing.
          .page-id-36 → body.mp-lp. Tải lên ở wp-admin → Giao diện → Thư viện landing.
*/

/* ===== Nền trang + font (trước đây đặt trong Customizer → Typography của site cũ) ===== */
body.mp-lp {
  background: #f5f7f0;
  color: #48584b;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
}
body.mp-lp h1, body.mp-lp h2, body.mp-lp h3, body.mp-lp h4, body.mp-lp h5, body.mp-lp h6,
body.mp-lp .heading-font,
body.mp-lp .nav > li > a {
  font-family: 'Marcellus', serif;
  font-weight: 400;
}

/* ===== Biến màu & nền trang ===== */
.mp-section {
  --mp-cream: #f5f7f0;
  --mp-cream-alt: #e9eee1;
  --mp-green: #16352a;
  --mp-green-deep: #0f271f;
  --mp-gold: #b08d3e;
  --mp-gold-light: #d9c07c;
  --mp-ink: #1c2b22;
  --mp-body: #48584b;
  --mp-muted: #6b7a6a;
  --mp-line: #d6ddca;
}

/* ===== Offset anchor ===== */
body.mp-lp #tong-quan, body.mp-lp #vi-tri, body.mp-lp #tien-ich,
body.mp-lp #can-ho, body.mp-lp #mat-bang, body.mp-lp #ban-giao,
body.mp-lp #tien-do, body.mp-lp #thu-vien, body.mp-lp #faq,
body.mp-lp #dang-ky { scroll-margin-top: 96px; }

/* ===== Typography dùng chung ===== */
.mp-section, .mp-hero { font-family: 'Jost', sans-serif; }
.mp-eyebrow p {
  margin: 0 0 10px; font-size: 12px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--mp-gold, #b08d3e); font-weight: 400;
}
.mp-eyebrow-light p { color: #d9c07c; }
.mp-h2 h2 {
  font-family: 'Marcellus', serif; font-weight: 400;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.15;
  margin: 0 0 20px; max-width: 760px; text-wrap: balance;
}
.mp-h3 h3, .mp-h3 h4 {
  font-family: 'Marcellus', serif; font-weight: 400;
  font-size: clamp(22px, 3vw, 30px); line-height: 1.2; margin: 0 0 12px;
}
.mp-lead p {
  font-size: 16px; font-weight: 300; line-height: 1.7;
  color: var(--mp-body, #48584b); margin: 0 0 14px; text-wrap: pretty;
}
.mp-well .mp-lead p, .mp-policy .mp-lead p, .mp-register .mp-lead p { color: #b9c7b0; }
.mp-note p { font-size: 13px; font-weight: 300; color: var(--mp-muted, #6b7a6a); margin: 16px 0 0; }
.mp-section a { color: #b08d3e; }
.mp-section a:hover { color: #8f7130; }
.mp-well a, .mp-policy a, .mp-register a, .mp-footer a { color: #d9c07c; }

/* ===== Hero ===== */
.mp-hero .mp-hero-title h1 {
  font-family: 'Marcellus', serif; font-weight: 400;
  font-size: clamp(38px, 7vw, 76px); line-height: 1.05;
  color: #f5f7f0; margin: 0; text-wrap: balance;
}
.mp-hero .mp-eyebrow p { color: #d9c07c; margin-bottom: 14px; }
.mp-hero .mp-hero-lead p {
  margin: 16px 0 0; max-width: 640px; font-size: clamp(16px, 2vw, 19px);
  font-weight: 300; line-height: 1.6; color: #edf0e2; text-wrap: pretty;
}
.mp-hero .mp-hero-cta { margin-top: 28px; }
.mp-hero .banner-bg:after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,26,20,.10) 30%, rgba(10,26,20,.82) 92%);
}

/* ===== Nút ===== */
.button.mp-btn-gold {
  background-color: #b08d3e; border-color: #b08d3e; color: #fff;
  border-radius: 0; letter-spacing: .1em; font-weight: 500;
}
.button.mp-btn-gold:hover { background-color: #c7a24e; border-color: #c7a24e; color: #fff; }
.button.mp-btn-outline-light {
  border-color: #d9c07c; color: #edf0e2; border-radius: 0; letter-spacing: .1em; font-weight: 400;
}
.button.mp-btn-outline-light:hover { background-color: rgba(217,192,124,.15); border-color: #d9c07c; color: #fff; }
.button.mp-btn-light {
  background-color: #f5f7f0; border-color: #f5f7f0; color: #1c2b22;
  border-radius: 0; letter-spacing: .08em; font-weight: 500;
}
.button.mp-btn-light:hover { background-color: #edf0e2; border-color: #edf0e2; color: #1c2b22; }
.button.mp-btn-zalo {
  background-color: #16352a; border-color: #16352a; color: #d9c07c;
  border-radius: 0; letter-spacing: .08em; font-weight: 500;
}
.button.mp-btn-zalo:hover { background-color: #1e4536; border-color: #1e4536; color: #f5f7f0; }

/* ===== Tổng quan - lưới số liệu ===== */
.mp-stats { padding: 0 15px; }
.mp-stats > .col { padding: 0; margin: 0; }
.mp-stat .col-inner {
  background: #f5f7f0; border: 1px solid #d6ddca; padding: 30px 26px;
  height: 100%; margin: -1px 0 0 -1px;
}
.mp-stat h3 {
  font-family: 'Marcellus', serif; font-weight: 400; font-size: 36px;
  line-height: 1.1; color: #1c2b22; margin: 0;
}
.mp-stat p { margin: 6px 0 0; font-size: 14px; color: #6b7a6a; letter-spacing: .04em; }

/* ===== Vị trí - danh sách gạch đầu dòng ===== */
.mp-dash-list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.mp-dash-list li { font-size: 15px; color: #23392e; padding-left: 24px; position: relative; margin-left: 0; }
.mp-dash-list li:before { content: '—'; position: absolute; left: 0; color: #b08d3e; }

/* ===== Tỉ lệ khung hình ảnh ===== */
.mp-img-4x3 img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.mp-img-16x9 img { aspect-ratio: 16/9; object-fit: contain; width: 100%; background: #0f271f; }
.mp-img-16x10 img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* ===== Chuẩn WELL - 3 trụ cột ===== */
.mp-well-pillars h3 {
  font-family: 'Marcellus', serif; font-weight: 400; font-size: 26px;
  color: #d9c07c; margin: 0;
}
.mp-well-pillars p { font-size: 14px; color: #b9c7b0; margin: 4px 0 0; }

/* ===== Tiện ích - thẻ ảnh ===== */
.mp-amenity .box-image img {
  aspect-ratio: 16/9; object-fit: contain; width: 100%; background: #e9eee1;
}
.mp-amenity .box-text { padding: 14px 0 0; }
.mp-amenity h3 {
  font-family: 'Marcellus', serif; font-weight: 400; font-size: 21px;
  line-height: 1.25; color: #1c2b22; margin: 0; text-wrap: pretty; overflow-wrap: break-word;
}
.mp-amenity p { font-size: 14px; color: #6b7a6a; margin: 4px 0 0; font-weight: 300; line-height: 1.55; }

/* ===== Căn hộ - thẻ loại căn ===== */
.mp-unit .col-inner {
  background: #f5f7f0; border: 1px solid #d6ddca; padding: 28px 24px; height: 100%;
  transition: border-color .25s ease;
}
.mp-unit .col-inner:hover { border-color: #b08d3e; }
.mp-unit .mp-unit-label {
  font-size: 12px; letter-spacing: .24em; color: #b08d3e;
  text-transform: uppercase; margin: 0;
}
.mp-unit h3 {
  font-family: 'Marcellus', serif; font-weight: 400; font-size: 32px;
  line-height: 1.1; margin: 10px 0 0; color: #1c2b22;
}
.mp-unit-dark .col-inner { background: #16352a; border-color: #16352a; }
.mp-unit-dark .col-inner:hover { border-color: #16352a; }
.mp-unit-dark .mp-unit-label { color: #d9c07c; }
.mp-unit-dark h3 { color: #f5f7f0; }

/* ===== Mặt bằng - tabs ===== */
.mp-plans > ul.nav { border-bottom: 0; gap: 10px; margin: 0 0 24px; flex-wrap: wrap; }
.mp-plans > ul.nav > li.tab { margin: 0; }
.mp-plans > ul.nav > li.tab > a {
  border: 1px solid #d6ddca; background: transparent; color: #48584b;
  padding: 12px 18px; font-size: 14px; letter-spacing: .04em; text-transform: none;
  line-height: 1.3; min-height: 44px; border-radius: 0; margin: 0;
  display: flex; align-items: center;
}
.mp-plans > ul.nav > li.tab > a:before { display: none; }
.mp-plans > ul.nav > li.tab.active > a,
.mp-plans > ul.nav > li.tab > a:hover {
  background: #16352a; border-color: #16352a; color: #f5f7f0;
}
.mp-plans .tab-panels { border: 0; padding: 0; }
.mp-plan-img img {
  aspect-ratio: 16/9; object-fit: contain; width: 100%;
  background: #fff; border: 1px solid #d6ddca;
}
.mp-plan-cap { margin-top: 12px; }
.mp-plan-cap h4 {
  font-family: 'Marcellus', serif; font-weight: 400; font-size: 20px;
  color: #1c2b22; margin: 0; display: inline-block; margin-right: 14px;
}
.mp-plan-cap p { font-size: 14px; color: #6b7a6a; letter-spacing: .04em; margin: 0; display: inline-block; }

/* ===== Bàn giao - bảng thông số ===== */
.mp-table-wrap { overflow-x: auto; }
.mp-table-wrap table { width: 100%; min-width: 640px; border-collapse: collapse; margin: 0; }
.mp-table-wrap thead th {
  background: #16352a; color: #d9c07c; font-size: 13px; letter-spacing: .08em;
  font-weight: 400; text-align: left; padding: 14px 18px; border: 0;
}
.mp-table-wrap thead th:first-child {
  font-family: 'Marcellus', serif; font-size: 15px; color: #f5f7f0;
}
.mp-table-wrap tbody tr { border-top: 1px solid #d6ddca; background: transparent; }
.mp-table-wrap tbody tr:last-child { border-bottom: 1px solid #d6ddca; }
.mp-table-wrap tbody th {
  font-family: 'Marcellus', serif; font-weight: 400; font-size: 16px; color: #1c2b22;
  text-align: left; padding: 16px 18px 16px 0; width: 22%; vertical-align: top; border: 0;
}
.mp-table-wrap tbody td {
  font-size: 14px; font-weight: 300; line-height: 1.6; color: #48584b;
  padding: 16px 18px 16px 0; vertical-align: top; border: 0;
}

/* ===== Tiến độ - timeline ===== */
.mp-timeline ol { list-style: none; margin: 0; padding: 0; }
.mp-timeline li { position: relative; padding: 0 0 28px 42px; margin-left: 0; }
.mp-timeline li:last-child { padding-bottom: 0; }
.mp-timeline li:before {
  content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; border: 1px solid #b08d3e; background: #f5f7f0; box-sizing: border-box;
}
.mp-timeline li:first-child:before { background: #b08d3e; }
.mp-timeline li:last-child:before { background: #16352a; border-color: #16352a; }
.mp-timeline li:after {
  content: ''; position: absolute; left: 6px; top: 23px; bottom: 0; width: 1px; background: #d6ddca;
}
.mp-timeline li:last-child:after { display: none; }
.mp-timeline strong {
  display: block; font-family: 'Marcellus', serif; font-weight: 400;
  font-size: 20px; color: #1c2b22;
}
.mp-timeline span { display: block; font-size: 14px; color: #6b7a6a; margin-top: 4px; font-weight: 300; }

/* ===== Hình ảnh 360 (iframe) ===== */
.mp-360 iframe { display: block; width: 100%; height: 600px; border: 0; }

/* ===== FAQ - accordion ===== */
.mp-faq .accordion-item { background: #f5f7f0; border: 1px solid #d6ddca; margin-bottom: 12px; }
.mp-faq .accordion-title {
  font-family: 'Marcellus', serif; font-weight: 400; font-size: 18px;
  color: #1c2b22; padding: 18px 22px 18px 54px; border: 0;
}
.mp-faq .accordion-title .toggle { left: 12px; top: 50%; margin-top: -22px; }
.mp-faq .accordion-title.active { color: #b08d3e; }
.mp-faq .accordion-inner { padding: 0 22px 18px; font-size: 15px; font-weight: 300; line-height: 1.7; color: #48584b; }

/* ===== Thanh CTA cố định đáy màn hình ===== */
.mp-sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
.mp-sticky-bar .row { margin: 0; max-width: none; }
.mp-sticky-bar .col { padding: 0; margin: 0; }
.mp-sticky-bar .button.mp-sticky-btn {
  margin: 0; min-height: 52px; line-height: 52px; font-size: 15px; border-width: 0;
}

/* ===== Footer ===== */
.mp-footer .mp-footer-brand p {
  font-family: 'Marcellus', serif; font-size: 18px; letter-spacing: .14em;
  color: #d9c07c; margin: 0;
}
.mp-footer .mp-footer-text p {
  font-size: 13px; letter-spacing: .04em; font-weight: 300; color: #8ba18d; margin: 8px 0 0;
}

/* ===== Header - thanh điều hướng (UX Block: mp-header) ===== */
.mp-header {
  background: rgba(245,247,240,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid #d6ddca;
}
.mp-header .col { padding-bottom: 0; }
.mp-header .mp-brand p { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mp-header .mp-brand-name { font-family: 'Marcellus', serif; font-size: 22px; letter-spacing: .14em; color: #1c2b22; }
.mp-header .mp-brand-sub { font-size: 11px; letter-spacing: .28em; color: #b08d3e; text-transform: uppercase; }
.mp-header .mp-nav { flex-wrap: wrap; row-gap: 4px; }
.mp-header .button.mp-navlink {
  color: #48584b; font-size: 14px; letter-spacing: .04em; font-weight: 400;
  text-transform: none; margin: 0; padding: 0 13px; min-height: 0; line-height: 1.6;
}
.mp-header .button.mp-navlink:hover { color: #b08d3e; }
.mp-header .button.mp-btn-gold { margin: 0 0 0 12px; padding: 9px 20px; font-size: 14px; min-height: 0; }

/* ===== Header mobile (UX Block: mp-header-mobile) =====
   Dùng lại cơ chế off-canvas sẵn có của Flatsome:
   <a data-open="#mp-mmenu" data-pos="right" data-color="dark"> mở panel,
   link trong panel gắn class .mfp-close để bấm xong tự đóng.        */
.mp-mheader {
  background: rgba(245,247,240,.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid #d6ddca;
}
.mp-mheader .col { padding-bottom: 0; }
.mp-mheader .mp-brand p { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.mp-mheader .mp-brand-name { font-family: 'Marcellus', serif; font-size: 18px; letter-spacing: .12em; color: #1c2b22; }
.mp-mheader .mp-brand-sub { font-size: 9px; letter-spacing: .22em; color: #b08d3e; text-transform: uppercase; }
.mp-mtoggle p { margin: 0; }
.mp-mtoggle a { display: inline-block; color: #1c2b22; font-size: 26px; line-height: 1; padding: 4px 0 4px 14px; }
.mp-mtoggle a:hover { color: #b08d3e; }

/* Panel chưa mở thì không chiếm chỗ trong luồng trang */
.mp-mpanel { display: none; }

#mp-mmenu { background: #16352a; min-height: 100vh; padding: 26px 0 36px; }
#mp-mmenu .mp-mpanel-head { padding: 0 22px 20px; border-bottom: 1px solid #2c4a3c; }
#mp-mmenu .mp-mpanel-head .mp-brand-name {
  display: block; font-family: 'Marcellus', serif; font-size: 19px; letter-spacing: .14em; color: #f5f7f0;
}
#mp-mmenu .mp-mpanel-head .mp-brand-sub { font-size: 10px; letter-spacing: .24em; color: #d9c07c; text-transform: uppercase; }

/* Trung hoà style nút đóng mặc định của Magnific Popup */
#mp-mmenu .mfp-close {
  position: static; width: auto; height: auto; min-width: 0; opacity: 1;
  font-size: inherit; font-family: inherit; line-height: inherit;
  text-align: left; text-decoration: none; background: transparent;
}
#mp-mmenu .nav-sidebar { margin: 0; }
#mp-mmenu .nav-sidebar > li { border-bottom: 1px solid #2c4a3c; margin: 0; }
#mp-mmenu .nav-sidebar > li > a {
  display: block; font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 400;
  letter-spacing: .1em; color: #edf0e2; padding: 16px 22px; text-transform: uppercase;
}
#mp-mmenu .nav-sidebar > li > a:hover { color: #d9c07c; background: #1e4536; }
#mp-mmenu .mp-mpanel-foot { padding: 24px 22px 0; }
#mp-mmenu .mp-mpanel-cta {
  display: block; text-align: center; background: #b08d3e; color: #fff; padding: 14px;
  font-size: 14px; letter-spacing: .1em; font-weight: 500; text-transform: uppercase;
}
#mp-mmenu .mp-mpanel-cta:hover { background: #c7a24e; color: #fff; }
#mp-mmenu .mp-mpanel-tel {
  display: block; text-align: center; margin-top: 14px;
  color: #d9c07c; font-size: 14px; letter-spacing: .06em;
}

/* ===== Form đăng ký (Contact Form 7) ===== */
.mp-form .wpcf7-form-control-wrap { display: block; }
.mp-form input[type="text"], .mp-form input[type="tel"],
.mp-form input[type="email"], .mp-form select {
  background: rgba(245,247,240,.06); border: 1px solid #3f5c4c; color: #f5f7f0;
  padding: 15px 18px; font-size: 15px; width: 100%; height: auto;
  border-radius: 0; box-shadow: none; margin: 0 0 14px;
}
.mp-form select { background-color: #1e4536; }
.mp-form input, .mp-form select { text-align: left; }
.mp-form input::placeholder { color: #8ba18d; opacity: 1; }
.mp-form input:focus, .mp-form select:focus { border-color: #d9c07c; background-color: rgba(245,247,240,.09); }
.mp-form input[type="submit"] {
  background: #b08d3e; border: 0; color: #fff; width: 100%; margin: 6px 0 0;
  padding: 16px; font-size: 15px; letter-spacing: .12em; font-weight: 500; border-radius: 0;
}
.mp-form input[type="submit"]:hover { background: #c7a24e; }
.mp-form .wpcf7-spinner { display: block; margin: 10px auto 0; }
.mp-form .wpcf7-not-valid-tip { color: #e3c079; font-size: 13px; margin: -10px 0 12px; text-align: left; }
.mp-form .wpcf7-response-output {
  border: 1px solid #d9c07c; color: #f5f7f0; margin: 16px 0 0; padding: 16px; font-size: 15px;
}
/* Ô đồng ý xử lý dữ liệu (thêm khi chuyển sang muanhaduan.com) */
.mp-form .mp-consent { margin: 0 0 14px; font-size: 13px; font-weight: 300; line-height: 1.5; color: #b9c7b0; text-align: left; }
.mp-form .mp-consent .wpcf7-list-item { margin: 0; }
.mp-form .mp-consent input { margin: 0 8px 0 0; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* ----- Tablet (≤849px) ----- */
@media (max-width: 849px) {
  .mp-h2 h2 { font-size: clamp(26px, 5vw, 34px); }
  .mp-stat h3 { font-size: 30px; }
  .mp-unit h3 { font-size: 26px; }
  .mp-plans .nav-tabs { flex-wrap: wrap; }
  .mp-plans .nav-tabs > li > a { padding: 10px 14px; font-size: 13px; }
  .mp-table-wrap tbody th { width: 30%; }
  .mp-well .mp-img-16x9 img, .mp-location .mp-img-4x3 img { margin-top: 24px; }
  .mp-360 iframe { height: 460px; }
}

/* ----- Mobile (≤549px) ----- */
@media (max-width: 549px) {
  .mp-hero .mp-hero-cta, .mp-register .mp-register-cta { flex-direction: column; align-items: stretch; }
  .mp-hero .mp-hero-cta .button, .mp-register .mp-register-cta .button { width: 100%; margin: 0 0 10px; }
  .mp-hero .mp-hero-lead p { font-size: 16px; }
  .mp-stat .col-inner { padding: 22px 20px; }
  .mp-stat h3 { font-size: 27px; }
  .mp-unit .col-inner { padding: 20px 18px; }
  .mp-unit h3 { font-size: 23px; }
  .mp-amenity h3 { font-size: 19px; }
  .mp-plan-cap h4, .mp-plan-cap p { display: block; margin-right: 0; }
  .mp-table-wrap table { min-width: 560px; }
  .mp-timeline li { padding-left: 34px; }
  .mp-sticky-bar .button.mp-sticky-btn { font-size: 13px; letter-spacing: .02em; min-height: 48px; line-height: 48px; }
  .mp-footer .col { text-align: left !important; }
  .mp-360 iframe { height: 360px; }
}

/* ===== Khung nội dung 1080px như site gốc (muanhaduan.com dùng 1140px) – chỉ trong landing này ===== */
body.mp-lp .row:not(.row-full-width) { max-width: 1080px; }
