/*
 * Landing page dự án — dùng chạy quảng cáo.
 * Chỉ nạp trên bài có bật cờ landing.
 */

.vgh-lp {
    --l-brown: var(--dragon-primary, #4a2c17);
    --l-brown-dark: var(--dragon-primary-dark, #35200f);
    --l-gold: var(--dragon-accent, #d99a1c);
    --l-gold-text: var(--dragon-gold-text, #96610c);
    --l-muted: var(--dragon-muted, #6b645c);
    --l-cream: var(--dragon-bg-light, #faf7f2);
    --l-line: rgba(74, 44, 23, .13);
    --l-ease: cubic-bezier(.22, .61, .36, 1);
}

/* -------------------------------------------------------------------- Hero */
.vgh-lp__hero {
    position: relative;
    min-height: clamp(420px, 62vh, 620px);
    display: flex;
    align-items: center;
    background: var(--l-brown-dark) center/cover no-repeat;
}

.vgh-lp__hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 12, 6, .34) 0%, rgba(20, 12, 6, .78) 100%);
}

.vgh-lp__hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-block: 56px;
}

.vgh-lp__hero-title {
    color: #fff !important;
    font-size: clamp(28px, 4.4vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0;
}

/* PHẢI viết kèm thẻ cha và tên thẻ.
   dragon-base.css có `.dragon-scope p { margin: 0 0 1rem }` — độ ưu tiên (0,1,1),
   cao hơn một class đơn (0,1,0). Nó ghi đè `margin: auto` khiến khối bị khoá
   rộng 720px nhưng dạt hẳn sang trái thay vì nằm giữa. */
.vgh-lp .vgh-lp__hero-inner p.vgh-lp__hero-sub {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(15px, 1.5vw, 19px);
    line-height: 1.65;
    max-width: 720px;
    margin-top: 18px;
    margin-bottom: 0;
    margin-inline: auto;
    text-align: center;
}

.vgh-lp__hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 30px;
}

.vgh-lp__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform .25s var(--l-ease), background .3s ease;
}

.vgh-lp__btn:hover { transform: translateY(-2px); }

.vgh-lp__btn--gold {
    background: var(--l-gold);
    color: #2b1a0c;
}

.vgh-lp__btn--gold:hover { background: #e8ac35; color: #2b1a0c; }

.vgh-lp__btn--ghost {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
}

.vgh-lp__btn--ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }

/* -------------------------------------------------------------- Thân trang */
.vgh-lp__body { padding: 64px 0 8px; }

.vgh-lp__body > * { max-width: 100%; }

/* Tiêu đề từng phần — viết trong nội dung bằng thẻ h2 */
.vgh-lp__body h2 {
    font-size: clamp(21px, 2.4vw, 32px) !important;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--l-brown);
    text-align: center;
    margin: 64px 0 10px;
}

.vgh-lp__body h2:first-child { margin-top: 0; }

/* Gạch vàng dưới tiêu đề */
.vgh-lp__body h2::after {
    content: '';
    display: block;
    width: 68px;
    height: 2px;
    margin: 16px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #d5af55, #fded99, #cba14a);
}

.vgh-lp__body h3 {
    font-size: clamp(17px, 1.6vw, 20px) !important;
    font-weight: 600;
    color: var(--l-brown);
    margin: 30px 0 10px;
}

.vgh-lp__body p {
    color: #3b332b;
    font-size: 16px;
    line-height: 1.85;
    margin: 0 0 16px;
}

.vgh-lp__body p.vgh-lp__lead {
    text-align: center;
    max-width: 820px;
    margin: 22px auto 34px;
    color: var(--l-muted);
    font-size: 16.5px;
}

.vgh-lp__body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* --------------------------------------------------------- Bảng thông số */
/* 4 cột cho 8 ô thông số → đúng 2 hàng đều nhau.
   auto-fit sẽ tự nhét thành 6 cột trên khung rộng, để lại hàng cuối lẻ 2 ô. */
.vgh-lp__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--l-line);
    border: 1px solid var(--l-line);
    border-radius: 6px;
    overflow: hidden;
    margin: 30px 0;
}

.vgh-lp__facts > div {
    background: #fff;
    padding: 22px 24px;
}

.vgh-lp__facts dt,
.vgh-lp__facts .k {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--l-gold-text);
    margin-bottom: 6px;
}

.vgh-lp__facts dd,
.vgh-lp__facts .v {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--l-brown);
    line-height: 1.5;
}

/* ------------------------------------------------------------ Lưới thẻ ảnh */
/* 3 cột: các khối đều có 3 hoặc 6 thẻ nên luôn chia chẵn hàng. */
.vgh-lp__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 30px 0;
}

@media (max-width: 1099px) {
    .vgh-lp__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .vgh-lp__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
    .vgh-lp__cards { grid-template-columns: 1fr; }
    .vgh-lp__facts { grid-template-columns: 1fr; }
}

.vgh-lp__card {
    background: #fff;
    border: 1px solid var(--l-line);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow .4s var(--l-ease), transform .4s var(--l-ease);
}

.vgh-lp__card:hover {
    box-shadow: 0 18px 44px rgba(53, 32, 15, .14);
    transform: translateY(-4px);
}

.vgh-lp__card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
}

.vgh-lp__card-body { padding: 20px 22px 24px; }

.vgh-lp__card-body h3 {
    margin: 0 0 8px;
    font-size: 17px !important;
}

.vgh-lp__card-body p {
    margin: 0;
    font-size: 15px;
    color: var(--l-muted);
    line-height: 1.7;
}

/* ------------------------------------------------------ Khối ảnh + chữ */
.vgh-lp__split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    align-items: center;
    margin: 34px 0;
}

/* --------------------------------------------------------- Chỗ cần điền */
.vgh-lp__todo {
    display: inline-block;
    background: #fff4d6;
    border: 1px dashed #d99a1c;
    border-radius: 3px;
    padding: 1px 8px;
    color: #8a6206;
    font-size: .93em;
    font-weight: 600;
}

/* ---------------------------------------------------------------- Biểu mẫu */
.vgh-lp__form {
    margin-top: 72px;
    padding: 64px 0;
    background: linear-gradient(160deg, var(--l-brown) 0%, var(--l-brown-dark) 100%);
}

.vgh-lp__form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    gap: 44px;
    align-items: start;
}

.vgh-lp__form-left h2 {
    color: #fff !important;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.vgh-lp__form-left p {
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 22px;
}

.vgh-lp__form-list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.vgh-lp__form-list li {
    position: relative;
    padding-left: 28px;
    color: #fff;
    font-size: 15.5px;
    line-height: 1.6;
    margin: 0;
}

.vgh-lp__form-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 15px;
    height: 8px;
    border-left: 2px solid var(--l-gold);
    border-bottom: 2px solid var(--l-gold);
    transform: rotate(-45deg);
}

.vgh-lp__form-hot {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.vgh-lp__form-hot a {
    display: inline-block;
    padding: 11px 20px;
    border: 1px solid rgba(217, 154, 28, .55);
    border-radius: 4px;
    color: var(--l-gold);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
}

.vgh-lp__form-hot a:hover { background: rgba(217, 154, 28, .14); color: var(--l-gold); }

.vgh-lp__form-right {
    background: #fff;
    border-radius: 6px;
    padding: 32px 30px;
}

.vgh-lp__form-right .wpcf7-form p { margin: 0 0 15px; }

.vgh-lp__form-right input[type="text"],
.vgh-lp__form-right input[type="tel"],
.vgh-lp__form-right input[type="email"],
.vgh-lp__form-right textarea {
    width: 100%;
    padding: 13px 15px;
    font-family: inherit;
    font-size: 15px;
    background: var(--l-cream);
    border: 1px solid var(--l-line);
    border-radius: 4px;
    box-sizing: border-box;
}

.vgh-lp__form-right input:focus,
.vgh-lp__form-right textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--l-gold);
    box-shadow: 0 0 0 3px rgba(217, 154, 28, .16);
}

.vgh-lp__form-right .wpcf7-acceptance label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
    color: var(--l-muted);
}

.vgh-lp__form-right input[type="checkbox"] {
    width: 17px; height: 17px; margin: 2px 0 0;
    accent-color: var(--l-gold); flex: 0 0 auto;
}

.vgh-lp__form-right input[type="submit"] {
    width: 100%;
    padding: 16px 24px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #2b1a0c;
    background: var(--l-gold);
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    transition: background .3s ease;
}

.vgh-lp__form-right input[type="submit"]:hover { background: #e8ac35; }

/* ---------------------------------------------------------------- Màn hẹp */
@media (max-width: 899px) {
    .vgh-lp__body { padding-top: 44px; }
    .vgh-lp__body h2 { margin-top: 46px; }
    .vgh-lp__form { margin-top: 52px; padding: 44px 0; }
    .vgh-lp__form-grid { grid-template-columns: 1fr; gap: 28px; }
    .vgh-lp__form-right { padding: 24px 20px; }
    .vgh-lp__split { gap: 24px; }
    .vgh-lp__hero-cta .vgh-lp__btn { flex: 1 1 100%; }
}
