/**
 * Tùy biến trang chủ Trầm hương Phượng Hoàng.
 * Nội dung trang chủ được lấy từ các block module; stylesheet này chỉ định
 * nghĩa khung hiển thị theo mẫu đã được khách duyệt.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700;800&display=swap');

:root {
    --cream: #fbf5ea;
    --cream-2: #f3e9d6;
    --wood-dark: #2b1d14;
    --wood: #4a3220;
    --wood-light: #7a5a3a;
    --gold: #c9a227;
    --gold-light: #e4c766;
    --red: #8e2a1f;
    --red-light: #b3392a;
    --text: #2b2118;
    --text-soft: #5b4c3c;
    --white: #fff;
    --shadow: 0 10px 30px rgba(43, 29, 20, .12);
    --radius: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    color: var(--text);
    background: var(--cream);
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.65;
}

body h1,
body h2,
body h3,
body h4,
body h5 {
    color: var(--wood-dark);
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.25;
}

body a {
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

/* Bỏ khung mặc định của NukeViet riêng trên layout home để các vùng full-bleed. */
.section-body:has(.ph-home),
.section-body:has(.ph-home) > .wraper,
.section-body:has(.ph-home) .wraper > section,
.section-body:has(.ph-home) #body {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
    margin: 0;
    background: var(--cream);
}

.ph-home,
.ph-home-layout {
    width: 100vw;
    margin-right: 0;
    margin-left: calc(50% - 50vw);
}

.ph-home-section:empty,
.ph-home-module-content:empty {
    display: none;
}

/* ---------- Header ---------- */
.topbar {
    color: #ede1cb;
    background: var(--wood-dark);
    font-size: 13px;
}

.topbar .wrap,
.ph-nav-wrap {
    width: 100%;
    max-width: 1240px;
    padding-right: 24px;
    padding-left: 24px;
    margin: 0 auto;
}

.topbar .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
}

.topbar a {
    color: #ede1cb;
}

.topbar a:hover,
.topbar a:focus {
    color: var(--gold-light);
    text-decoration: none;
}

.topbar .sep {
    margin: 0 8px;
    opacity: .4;
}

header.main-nav.ph-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 0;
    background: rgba(251, 245, 234, .96);
    border: 0;
    border-bottom: 1px solid rgba(43, 29, 20, .08);
    box-shadow: none;
    backdrop-filter: blur(6px);
}

.nav-inner.ph-nav-wrap {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo.ph-brand {
    position: static;
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
    align-items: center;
    width: auto;
    height: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

.logo .mark,
.logo .mark img {
    display: block;
    width: 46px;
    height: 46px;
}

.logo .mark {
    flex: 0 0 46px;
    overflow: hidden;
    border-radius: 50%;
}

.logo .mark img {
    object-fit: contain;
}

.logo .name {
    display: block;
    line-height: 1.15;
    white-space: nowrap;
}

.logo .name b {
    display: block;
    color: var(--wood-dark);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .5px;
}

.logo .name small {
    display: block;
    color: var(--gold);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#menusite.ph-main-nav {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

#menusite.ph-main-nav .navbar,
#menusite.ph-main-nav .navbar-default {
    min-height: 0;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
}

#menusite.ph-main-nav .navbar-header {
    display: none;
}

#menusite.ph-main-nav .navbar-collapse {
    display: block !important;
    height: auto !important;
    padding: 0;
    overflow: visible !important;
    border: 0;
}

#menusite.ph-main-nav .navbar-nav {
    display: flex;
    float: none;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin: 0;
}

#menusite.ph-main-nav .navbar-nav > li {
    float: none;
    margin: 0 !important;
}

#menusite.ph-main-nav .navbar-default .navbar-nav > li > a {
    position: relative;
    padding: 6px 0;
    color: var(--text) !important;
    background: transparent !important;
    border-radius: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

#menusite.ph-main-nav .navbar-default .navbar-nav > li > a:hover,
#menusite.ph-main-nav .navbar-default .navbar-nav > li > a:focus,
#menusite.ph-main-nav .navbar-default .navbar-nav > .active > a,
#menusite.ph-main-nav .navbar-default .navbar-nav > .active > a:hover,
#menusite.ph-main-nav .navbar-default .navbar-nav > .active > a:focus,
#menusite.ph-main-nav .navbar-default .navbar-nav > .open > a,
#menusite.ph-main-nav .navbar-default .navbar-nav > .open > a:hover,
#menusite.ph-main-nav .navbar-default .navbar-nav > .open > a:focus {
    color: var(--red-light) !important;
    background: transparent !important;
}

#menusite.ph-main-nav .navbar-nav > li > a.home em {
    display: none;
}

#menusite.ph-main-nav .navbar-nav > li > a.home .visible-xs-inline-block {
    display: inline !important;
}

/* Bootstrap tự thêm nút Trang nhất; layout Home đã có mục Trang chủ động. */
body:has(.ph-home) #menusite.ph-main-nav .navbar-nav > li:has(> a.home) {
    display: none;
}

#menusite.ph-main-nav .caret {
    display: none;
}

#menusite.ph-main-nav .dropdown-menu {
    min-width: 210px;
    padding: 7px 0;
    margin-top: 9px;
    background: #fffdf9;
    border: 1px solid rgba(43, 29, 20, .12);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

#menusite.ph-main-nav .dropdown-menu > li > a {
    padding: 8px 14px;
    color: var(--text-soft);
    font-size: 13px;
}

.nav-cta.ph-header-contact {
    display: flex;
    flex: 0 0 auto;
    gap: 14px;
    align-items: center;
}

.nav-cta .hotline {
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.25;
    text-align: right;
    white-space: nowrap;
}

.nav-cta .hotline span,
.nav-cta .hotline b {
    display: block;
}

.nav-cta .hotline b,
.nav-cta .hotline b a {
    color: var(--wood-dark);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 700;
}

.nav-cta .hotline b a:hover,
.nav-cta .hotline b a:focus {
    color: var(--red-light);
    text-decoration: none;
}

.btn,
.nav-cta .btn {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}

.btn-outline-dark,
.nav-cta .btn-outline-dark {
    color: var(--wood-dark);
    background: transparent;
    border-color: var(--wood);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.nav-cta .btn-outline-dark:hover,
.nav-cta .btn-outline-dark:focus {
    color: #fff;
    background: var(--wood-dark);
    text-decoration: none;
}

/* ---------- Hero động từ module Banners ---------- */
.ph-home-hero,
.ph-home-slider,
.ph-home-slider .carousel-inner,
.ph-home-slider .item,
.ph-home-slider-html {
    min-height: 0;
}

.ph-home-slider {
    overflow: visible;
    background: transparent;
}

.ph-home-slider .item {
    position: static;
}

.ph-home-slider-html {
    position: static;
}

.ph-home-slider .carousel-control {
    display: none;
}

.hero,
.ph-home-hero {
    position: relative;
    overflow: hidden;
    color: #f6e9ce;
    background: radial-gradient(circle at 15% 20%, #5a2a20 0%, #3a170f 45%, #221009 100%);
}

.hero::before,
.ph-home-hero::before {
    position: absolute;
    inset: 0;
    content: '';
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='100' cy='100' r='1.4' fill='%23C9A227' opacity='.35'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    opacity: .5;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1240px;
    padding: 74px 24px 68px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
    color: var(--gold);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.eyebrow::before {
    display: inline-block;
    width: 22px;
    height: 2px;
    content: '';
    background: var(--gold);
}

.hero-text .eyebrow {
    color: var(--gold-light);
}

.hero-text .eyebrow::before {
    background: var(--gold-light);
}

.hero-text h1 {
    margin: 0 0 14px;
    color: #fbf0d8;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 700;
    line-height: 1.25;
}

.hero-text h1 em,
.hero-text h1 i {
    color: var(--gold-light);
    font-style: normal;
    border-bottom: 3px solid var(--red-light);
}

.hero-text p.lead {
    max-width: 520px;
    margin: 0 0 28px;
    color: #e5d3ae;
    font-size: 17px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.btn-gold {
    color: var(--wood-dark);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 6px 18px rgba(201, 162, 39, .35);
}

.btn-gold:hover,
.btn-gold:focus {
    color: var(--wood-dark);
    background: linear-gradient(135deg, #f0d878, var(--gold-light));
    box-shadow: 0 10px 22px rgba(201, 162, 39, .45);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
}

.btn-outline:hover,
.btn-outline:focus {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    text-decoration: none;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    color: #d8c299;
    font-size: 13px;
}

.hero-trust > div {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hero-trust > div::before {
    flex: 0 0 auto;
    color: var(--gold-light);
    font-family: FontAwesome;
    font-size: 14px;
}

.hero-trust > div:nth-child(1)::before {
    content: '\f132';
}

.hero-trust > div:nth-child(2)::before {
    content: '\f017';
}

.hero-trust > div:nth-child(3)::before {
    content: '\f041';
}

.hero-trust svg {
    flex: 0 0 auto;
}

.hero-media {
    position: relative;
}

.hero-media .frame {
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
    transform: rotate(1deg);
}

.hero-media .frame img {
    display: block;
    width: 100%;
    max-width: none;
    border-radius: 0;
}

.hero-media .badge {
    position: absolute;
    bottom: -22px;
    left: -22px;
    z-index: 2;
    max-width: 200px;
    padding: 16px 20px;
    color: var(--wood-dark);
    background: var(--gold);
    border-radius: 16px;
    box-shadow: var(--shadow);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.hero-media .badge span {
    display: block;
    margin-bottom: 4px;
    font-size: 24px;
    line-height: 1;
}

/* ---------- Trust strip ---------- */
.ph-home-trust {
    background: var(--cream-2);
    border-bottom: 1px solid rgba(43, 29, 20, .06);
}

.ph-home-trust .panel,
.ph-home-trust .panel-body,
.ph-home-trust .ph-home-page-card {
    width: 100%;
    max-width: 1240px;
    padding: 0 24px;
    margin: 0 auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ph-home-trust .panel-heading {
    display: none;
}

.ph-trust-list,
.ph-trust-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.trust-item,
.ph-trust-items > div {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--text-soft);
    font-size: 13.5px;
    font-weight: 600;
}

.trust-item .ic {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(43, 29, 20, .08);
}

/* ---------- Lưới ba cột ---------- */
.ph-home-grid.layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 270px;
    gap: 32px;
    align-items: start;
    width: 100%;
    max-width: 1240px;
    padding: 56px 24px;
    margin: 0 auto;
}

.ph-home-sidebar,
.ph-home-center {
    min-width: 0;
}

.ph-home-grid .col-side {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-self: start;
}

.ph-home-grid .ph-home-section {
    margin: 0;
}

.ph-home-center > .ph-home-section {
    margin-bottom: 56px;
}

.ph-home-center > .ph-home-section:last-child {
    margin-bottom: 10px;
}

/* Khối câu chuyện đã có khoảng đệm riêng ở cuối slider. */
.ph-home-center > .ph-home-story {
    margin-bottom: 0;
}

.ph-home-grid .panel {
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.ph-home-grid .panel-body {
    padding: 0;
}

/* Danh mục của module Shops */
.ph-home-categories .panel,
.ph-home-featured .panel,
.ph-home-featured .ph-home-page-card {
    padding: 22px 20px;
    background: #fff;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.ph-home-categories .panel-heading,
.ph-home-featured .panel-heading,
.ph-home-featured .ph-home-page-card > h2 {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 0;
    margin: 0 0 16px;
    color: var(--wood-dark);
    background: transparent;
    border: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1.25;
}

.ph-home-categories .panel-heading::before,
.ph-home-featured .panel-heading::before,
.ph-home-featured .ph-home-page-card > h2::before {
    color: var(--wood);
    content: '⊞';
    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1;
}

.cat-list,
.ph-home-catalog-list,
.ph-featured-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.cat-list li,
.ph-home-catalog-list li,
.ph-featured-links li {
    border: 0;
}

.cat-list li a,
.ph-home-catalog-list li a,
.ph-featured-links li a {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    color: var(--text-soft);
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.45;
}

.cat-list li a:hover,
.cat-list li a:focus,
.ph-home-catalog-list li a:hover,
.ph-home-catalog-list li a:focus,
.ph-featured-links li a:hover,
.ph-featured-links li a:focus {
    color: var(--red-light);
    background: var(--cream-2);
    text-decoration: none;
}

.cat-list li.active a,
.ph-home-catalog-list li.active a {
    color: #f2e4c4;
    background: var(--wood-dark);
    font-weight: 700;
}

.cat-list .tag {
    padding: 2px 8px;
    color: var(--wood-dark);
    background: var(--gold);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
}

.cat-list .count {
    flex: 0 0 auto;
    color: #9a8a72;
    font-size: 12px;
}

/* Khối xưởng chế tác từ Page module */
.ph-home-left-info .ph-home-page-card {
    padding: 22px 20px;
    margin: 0;
    color: #ede1cb;
    background: var(--wood-dark);
    border: 0;
    border-radius: var(--radius);
    box-shadow: none;
}

.ph-home-left-info .ph-home-page-card > h2 {
    display: none;
}

.ph-home-left-info .ph-home-page-content {
    color: #cdb98f;
    font-size: 13.5px;
    line-height: 1.65;
}

.ph-workshop-info h4 {
    margin: 0 0 10px;
    color: #f2e4c4;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 700;
}

.ph-workshop-info p {
    margin: 0 0 6px;
    color: #cdb98f;
}

.ph-workshop-info a {
    color: #f2e4c4;
}

.ph-workshop-info hr {
    height: 1px;
    margin: 14px 0;
    background: rgba(255, 255, 255, .12);
    border: 0;
}

/* Sản phẩm từ module Shops */
.home-products .section-title,
.ph-home-process .section-title,
.ph-home-about .section-title {
    margin-bottom: 30px;
}

.section-title h2,
.ph-home-process .ph-home-page-card > h2 {
    margin: 0 0 .5em;
    color: var(--wood-dark);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
}

.section-title p.sub {
    max-width: 600px;
    margin: 6px 0 0;
    color: var(--text-soft);
    font-size: 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    overflow: hidden;
    background: #fff;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    box-shadow: 0 18px 40px rgba(43, 29, 20, .18);
    transform: translateY(-5px);
}

.product-card .thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3.1;
    background: #1c1108;
}

.product-card .thumb .flag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 5px 12px;
    color: #fff;
    background: var(--red-light);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
}

.product-card .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.product-card .body {
    padding: 18px 18px 12px;
}

.product-card .body h3 {
    margin: 0 0 6px;
    color: var(--wood-dark);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.3;
}

.product-card .body h3 a {
    color: inherit;
}

.product-card .body h3 a:hover,
.product-card .body h3 a:focus {
    color: var(--red-light);
    text-decoration: none;
}

.product-card .body p {
    min-height: 42px;
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.55;
}

.product-card .foot {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 20px;
}

.product-card .price {
    color: var(--red-light);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14.5px;
    font-weight: 700;
}

.product-card del {
    display: none;
}

.product-card .product-link {
    flex: 0 0 auto;
    padding: 7px 14px;
    color: var(--wood-dark);
    border: 1.5px solid var(--wood-dark);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
}

.product-card .product-link:hover,
.product-card .product-link:focus {
    color: #fff;
    background: var(--wood-dark);
    text-decoration: none;
}

/* Slider câu chuyện từ News module */
.evidence-slider-wrap {
    margin-bottom: 60px;
}

.evidence-slider-wrap .section-title {
    margin-bottom: 30px;
    text-align: center;
}

.evidence-slider-wrap .section-title .eyebrow {
    justify-content: center;
}

.evidence-slider-wrap .section-title .sub {
    margin: 10px auto 0;
    text-align: center;
}

.evidence-slider-wrap .slider {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(43, 29, 20, .08);
    border-radius: 26px;
    box-shadow: 0 26px 60px rgba(43, 29, 20, .28);
}

.evidence-slider-wrap .slides {
    position: relative;
    height: 560px;
    background: #1c1108;
}

.evidence-slider-wrap .slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    visibility: hidden;
    background-color: #1c1108;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity .7s ease, visibility .7s ease;
}

.evidence-slider-wrap .slide.active {
    visibility: visible;
    opacity: 1;
}

.evidence-slider-wrap .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 10, 5, .05) 0%, rgba(20, 10, 5, .55) 55%, rgba(15, 8, 4, .92) 100%);
}

.evidence-slider-wrap .slide-placeholder {
    background:
        repeating-linear-gradient(45deg, rgba(201, 162, 39, .06) 0 12px, transparent 12px 24px),
        linear-gradient(135deg, #3a2a1c, #1c1108 70%);
}

.evidence-slider-wrap .slide-placeholder .slide-overlay {
    background: linear-gradient(180deg, rgba(20, 10, 5, .2) 0%, rgba(15, 8, 4, .85) 100%);
}

.evidence-slider-wrap .slide-card {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 46px 56px;
    color: #f6e9ce;
}

.evidence-slider-wrap .slide-tag {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 14px;
    color: var(--wood-dark);
    background: var(--gold);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.evidence-slider-wrap .slide-card h3 {
    margin: 0 0 12px;
    color: #fbf0d8;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
}

.evidence-slider-wrap .slide-card h3 a {
    color: inherit;
}

.evidence-slider-wrap .slide-card h3 a:hover,
.evidence-slider-wrap .slide-card h3 a:focus {
    color: var(--gold-light);
    text-decoration: none;
}

.evidence-slider-wrap .slide-card p {
    max-width: 560px;
    margin: 0;
    color: #e5d3ae;
    font-size: 15px;
}

.evidence-slider-wrap .upload-box {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 12px 20px;
    margin-top: 18px;
    color: var(--gold-light);
    border: 2px dashed rgba(228, 199, 102, .55);
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
}

.evidence-slider-wrap .slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #fff;
    background: rgba(251, 245, 234, .16);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    transform: translateY(-50%);
    backdrop-filter: blur(3px);
}

.evidence-slider-wrap .slider-arrow:hover,
.evidence-slider-wrap .slider-arrow:focus {
    background: rgba(251, 245, 234, .32);
}

.evidence-slider-wrap .slider-arrow.prev {
    left: 22px;
}

.evidence-slider-wrap .slider-arrow.next {
    right: 22px;
}

.evidence-slider-wrap .slider-dots {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.evidence-slider-wrap .slider-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    background: rgba(255, 255, 255, .4);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s ease;
}

.evidence-slider-wrap .slider-dots button.active {
    width: 26px;
    background: var(--gold);
    border-radius: 5px;
}

/* Quy trình từ Page module */
.ph-home-process .ph-home-page-card {
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.ph-home-process .ph-home-page-card:has(.section-title) > h2 {
    display: none;
}

.ph-home-process .ph-home-page-card > h2 {
    margin: 0 0 30px;
}

.ph-home-process .ph-home-page-card > h2::before {
    display: block;
    margin-bottom: 14px;
    color: var(--gold);
    content: 'Quy trình';
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ph-home-process .ph-home-page-card > h2::after {
    display: inline-block;
    width: 22px;
    height: 2px;
    margin-left: 8px;
    content: '';
    vertical-align: middle;
    background: var(--gold);
}

.ph-process-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ph-process-steps > div {
    padding: 22px 18px;
    background: #fff;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.ph-process-steps span {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.ph-process-steps h4 {
    margin: 0 0 6px;
    color: var(--wood-dark);
    font-size: 15px;
    font-weight: 700;
}

.ph-process-steps p {
    margin: 0;
    color: var(--text-soft);
    font-size: 12.5px;
    line-height: 1.55;
}

/* Giới thiệu từ Page module */
.ph-home-about .ph-home-page-card {
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.ph-home-about .ph-home-page-card > h2 {
    display: none;
}

.about-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    padding: 40px;
    background: var(--cream-2);
    border-radius: 24px;
}

.about-text h2 {
    margin: 0 0 .5em;
    color: var(--wood-dark);
    font-size: 30px;
}

.about-text p {
    margin: 0 0 14px;
    color: var(--text-soft);
    font-size: 14.5px;
}

.about-band .legal,
.ph-legal {
    padding: 22px;
    background: #fff;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 13.5px;
}

.about-band .legal > div,
.ph-legal > div {
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 9px 0;
    color: var(--text-soft);
    border-bottom: 1px dashed rgba(43, 29, 20, .12);
}

.about-band .legal > div:last-child,
.ph-legal > div:last-child {
    border-bottom: 0;
}

.about-band .legal span,
.ph-legal span {
    color: var(--text-soft);
}

.about-band .legal b,
.about-band .legal strong,
.ph-legal strong {
    color: var(--wood-dark);
    font-weight: 600;
    text-align: right;
}

/* Cột phải */
.ph-home-why .ph-home-page-card {
    padding: 22px 20px;
    margin: 0;
    background: #fff;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.ph-home-why .ph-home-page-card > h2 {
    margin: 0 0 14px;
    color: var(--wood-dark);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 700;
}

.ph-why-list > div,
.why-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.ph-why-list > div:last-child,
.why-item:last-child {
    margin-bottom: 0;
}

.ph-why-list .ic,
.why-item .ic {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--cream-2);
    border-radius: 10px;
}

.ph-why-list p,
.why-item p {
    margin: 0;
    color: var(--text-soft);
    font-size: 12.5px;
    line-height: 1.55;
}

.ph-why-list strong,
.why-item b {
    display: block;
    margin-bottom: 2px;
    color: var(--wood-dark);
    font-size: 13.5px;
}

.ph-home-contact .cta-card {
    padding: 24px 20px;
    color: #fff;
    background: linear-gradient(160deg, var(--red-light), var(--red));
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.cta-kicker {
    display: block;
    margin-bottom: 5px;
    color: #f3d9ce;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.cta-card .cta-title,
.cta-card h4 {
    margin: 0 0 6px;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 700;
}

.cta-card .cta-desc {
    margin: 0 0 16px;
    color: #f3d9ce;
    font-size: 13px;
    line-height: 1.55;
}

.cta-card .call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 12px;
    color: var(--wood-dark);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(43, 29, 20, .2);
    font-size: 13px;
    font-weight: 700;
}

.cta-card .call-btn:hover,
.cta-card .call-btn:focus {
    color: var(--wood-dark);
    background: #f0d878;
    text-decoration: none;
    transform: translateY(-2px);
}

.cta-card .zalo-line,
.cta-card .cta-address {
    margin: 10px 0 0;
    color: #f3d9ce;
    font-size: 12.5px;
}

.cta-card .zalo-line a {
    color: #f3d9ce;
    text-decoration: underline;
}

.cta-card .cta-address {
    opacity: .8;
}

/* ---------- Footer động ---------- */
.ph-home-layout {
    margin-top: 40px;
    color: #cdb98f;
    background: var(--wood-dark);
}

/* Ghi đè màu xanh mặc định của #footer chỉ trên layout trang chủ. */
footer.ph-home-layout#footer {
    background: var(--wood-dark);
}

.ph-home-layout .ph-home-page-card,
.ph-home-layout .ph-home-page-content {
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ph-home-footer {
    width: 100%;
    max-width: 1240px;
    padding: 56px 24px 34px;
    margin: 0 auto;
}

.ph-home-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 34px;
}

.ph-home-footer h4 {
    margin: 0 0 16px;
    color: #f2e4c4;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 700;
}

.ph-home-footer p,
.ph-home-footer li {
    margin: 0 0 8px;
    color: #cdb98f;
    font-size: 13.5px;
    line-height: 1.8;
}

.ph-home-footer ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ph-home-footer li {
    margin: 0;
}

.ph-home-footer a {
    color: inherit;
}

.ph-home-footer a:hover,
.ph-home-footer a:focus {
    color: var(--gold-light);
    text-decoration: none;
}

.ph-home-footer-logo {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.ph-home-footer-logo > p {
    margin: 0;
}

.ph-home-footer-logo img {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
    border: 2px solid rgba(243, 223, 138, .7);
    border-radius: 50%;
}

.ph-home-footer-logo strong,
.ph-home-footer-logo span {
    display: block;
}

.ph-home-footer-logo strong {
    color: #f2e4c4;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 23px;
}

.ph-home-footer-logo span {
    margin-top: 2px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ph-home-footer-bottom {
    padding: 18px 24px;
    margin: 0;
    color: #9a8a72;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12.5px;
    text-align: center;
}

.ph-home-footer-bottom strong {
    color: #cdb98f;
}

.ph-home-layout ~ .section-footer-top,
.ph-home-layout ~ .section-footer-bottom {
    display: none;
}

/* Nút liên hệ cố định từ module Contact */
.float-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
}

.float-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: #fff;
    background: var(--red-light);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(142, 42, 31, .45);
    font-size: 22px;
}

.float-btn a:hover,
.float-btn a:focus {
    color: #fff;
    background: var(--red);
    text-decoration: none;
    transform: translateY(-2px);
}

.float-btn-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .nav-inner.ph-nav-wrap {
        min-height: 68px;
    }

    #menusite.ph-main-nav .navbar-nav {
        gap: 18px;
    }

    .ph-home-grid.layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ph-home-grid .col-side {
        position: static;
    }

    .ph-home-sidebar-left,
    .ph-home-center,
    .ph-home-sidebar-right {
        order: initial;
    }

    .ph-home-grid .ph-home-sidebar {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-media {
        order: -1;
    }

    .about-band {
        grid-template-columns: minmax(0, 1fr);
    }

    .ph-trust-list,
    .ph-trust-items,
    .ph-home-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ph-process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .nav-inner.ph-nav-wrap {
        gap: 12px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .topbar .wrap,
    .ph-home-footer,
    .hero-inner,
    .ph-home-grid.layout {
        padding-right: 18px;
        padding-left: 18px;
    }

    .nav-cta .hotline {
        display: none;
    }

    .nav-cta .btn {
        padding: 8px 13px;
        font-size: 12px;
    }

    #menusite.ph-main-nav .navbar-nav {
        gap: 12px;
    }

    #menusite.ph-main-nav .navbar-default .navbar-nav > li > a {
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .topbar .wrap {
        justify-content: center;
        text-align: center;
    }

    .topbar-contact {
        width: 100%;
    }

    .nav-inner.ph-nav-wrap {
        min-height: 64px;
    }

    .logo .mark,
    .logo .mark img {
        width: 42px;
        height: 42px;
    }

    .logo .mark {
        flex-basis: 42px;
    }

    .logo .name b {
        font-size: 16px;
    }

    .logo .name small {
        font-size: 9px;
    }

    #menusite.ph-main-nav {
        flex: 0 0 auto;
        width: auto;
    }

    #menusite.ph-main-nav .navbar-header {
        display: block;
    }

    #menusite.ph-main-nav .navbar-toggle {
        display: block;
        float: none;
        padding: 7px 8px;
        margin: 0;
        background: transparent;
        border-color: rgba(43, 29, 20, .35);
    }

    #menusite.ph-main-nav .navbar-toggle .icon-bar {
        background: var(--wood-dark);
    }

    #menusite.ph-main-nav .navbar-collapse {
        position: absolute;
        top: calc(100% + 8px);
        right: 18px;
        display: none !important;
        width: min(300px, calc(100vw - 36px));
        padding: 8px 0;
        overflow: hidden !important;
        background: #fffdf9;
        border: 1px solid rgba(43, 29, 20, .12);
        border-radius: 10px;
        box-shadow: var(--shadow);
    }

    #menusite.ph-main-nav .navbar-collapse.in {
        display: block !important;
    }

    #menusite.ph-main-nav .navbar-nav {
        display: block;
        margin: 0;
    }

    #menusite.ph-main-nav .navbar-nav > li > a {
        padding: 10px 16px;
    }

    #menusite.ph-main-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .nav-cta {
        display: none !important;
    }

    .hero-inner {
        gap: 28px;
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .hero-media .badge {
        display: none;
    }

    .hero-text p.lead {
        font-size: 15px;
    }

    .hero-trust {
        gap: 12px 18px;
    }

    .ph-trust-list,
    .ph-trust-items,
    .ph-home-sidebar,
    .product-grid,
    .ph-process-steps,
    .ph-home-footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .evidence-slider-wrap .slides {
        height: 640px;
    }

    .evidence-slider-wrap .slide-card {
        padding: 28px 24px 50px;
    }

    .evidence-slider-wrap .slider-arrow.prev {
        left: 12px;
    }

    .evidence-slider-wrap .slider-arrow.next {
        right: 12px;
    }

    .about-band {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .about-band .legal > div,
    .ph-legal > div {
        display: block;
    }

    .about-band .legal b,
    .about-band .legal strong,
    .ph-legal strong {
        margin-top: 3px;
        text-align: left;
    }
}
