/* #region G E N E R A L   S E T T I N G ------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html::-webkit-scrollbar {
    display: none;
    width: 0;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #333;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
    width: 0;
}

.prohouse-main-title {
    display: flex;
    text-align: center;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 40px;
    color: #4b4b4b;

}

.prohouse-main-title h1 {
    font-weight: 600;
    font-size: 2.8rem;
}

.prohouse-main-title i {
    font-size: 2rem;
}

.mobile-prohouse-bottom-nav,
.prohouse-mobile-header,
.mobile-prohouse-mobile-header {
    display: none;
}


.slide-in,
.animate-slide,
.slide-up,
.slide-down,
.slide-right,
.fade-zoom {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* 1. Slide In from Left (ค่าเริ่มต้นเดิม) */
.slide-in, 
.animate-slide {
    transform: translateX(-120px);
}
.slide-in.show, 
.animate-slide.show {
    opacity: 1;
    transform: translateX(0);
}

/* 2. Slide Up (พุ่งขึ้นจากด้านล่าง) */
.slide-up {
    transform: translateY(50px);
}
.slide-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Slide Down (ทิ้งตัวลงมาจากด้านบน) */
.slide-down {
    transform: translateY(-50px);
}
.slide-down.show {
    opacity: 1;
    transform: translateY(0);
}

/* 4. Slide Right (พุ่งมาจากทางขวา) */
.slide-right {
    transform: translateX(60px);
}
.slide-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* 5. Fade Zoom (ขยายขึ้นพร้อมเฟดอิน) */
.fade-zoom {
    transform: scale(0.92);
}
.fade-zoom.show {
    opacity: 1;
    transform: scale(1);
}

/* Delay Helpers */
.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

/* #endregion */
/* ####################################################################################### */





/* #region I M M E R S I V E & V I S U A L   S T O R Y T E L L I N G   S T Y L I N G   -   P R O H O U S E  */
.ph-immersive-page-wrapper { width: 100%; background: var(--ph-dark-bg); font-family: 'Prompt', sans-serif; position: relative; }
.ph-immersive-hero-section { width: 100%; height: 85vh; min-height: 750px; display: flex; align-items: flex-end; padding: 0 0 40px; position: relative; overflow: hidden; box-sizing: border-box; }
.ph-immersive-slider-container, .ph-immersive-slide-item, .ph-immersive-dark-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-immersive-slider-container { z-index: 1; }
.ph-immersive-slide-item { opacity: 0; transform: scale(1.05); transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s cubic-bezier(0.4, 0, 0.2, 1); }
.ph-immersive-slide-item.active { opacity: 1; transform: scale(1); z-index: 2; }
.ph-immersive-slide-item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); }
.ph-immersive-dark-overlay { background: radial-gradient(circle at 20% 60%, var(--ph-dark-overlay-1) 0%, var(--ph-dark-overlay-2) 45%, var(--ph-dark-overlay-3) 75%, var(--ph-dark-overlay-4) 100%), linear-gradient(180deg, var(--ph-dark-overlay-5) 0%, var(--ph-dark-overlay-6) 30%, var(--ph-dark-overlay-7) 75%, var(--ph-dark-overlay-8) 100%); z-index: 3; }
.ph-immersive-hero-container { position: relative; z-index: 4; width: 100%; max-width: 100%; margin: 0 auto; padding: 0 40px 20px; display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; }
.ph-immersive-content-box { max-width: 750px; display: flex; flex-direction: column; gap: 12px; }
.ph-immersive-tagline-group { display: flex; align-items: center; gap: 15px; }
.ph-immersive-accent-line { width: 40px; height: 2px; background: var(--ph-accent-gold); }
.ph-immersive-tagline-group h2 { font-size: 0.9rem; font-weight: 500; letter-spacing: 3px; color: var(--ph-accent-gold); margin: 0; }
.ph-immersive-main-title { font-size: 3rem; font-weight: 700; line-height: 1.15; color: var(--ph-text-dark); margin: 0; letter-spacing: -0.5px; text-shadow: 0 4px 15px rgba(0,0,0,.5); }
.ph-immersive-sub-desc { font-size: 1.05rem; font-weight: 300; color: var(--ph-text-light); margin: 0; line-height: 1.5; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.ph-immersive-social-contact-bar { display: flex; align-items: center; gap: 15px; background: rgba(38,35,32,.85); border: 1px solid var(--ph-border-color); padding: 8px 18px; border-radius: 40px; backdrop-filter: blur(12px); width: fit-content; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.ph-social-group-label { font-size: 0.8rem; color: var(--ph-text-muted); font-weight: 500; white-space: nowrap; }
.ph-social-icons-list { display: flex; align-items: center; gap: 8px; }
.ph-social-item { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.04); border: 1px solid var(--ph-border-color); padding: 6px 12px; border-radius: 25px; color: var(--ph-text-dark); text-decoration: none; font-size: 0.8rem; font-weight: 500; }
.ph-immersive-features-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; padding-top: 10px; border-top: 1px solid var(--ph-border-color); box-sizing: border-box; }
.ph-immersive-explore-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ph-primary); color: var(--ph-dark-bg); padding: 12px 24px; border-radius: 50px; text-decoration: none; font-size: 14px; font-weight: 600; width: fit-content; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: background .3s; }
.ph-immersive-explore-btn:hover { background: var(--ph-primary-hover); }
.ph-immersive-counter-indicator { position: absolute; bottom: 40px; right: 40px; z-index: 4; display: flex; align-items: center; gap: 8px; color: var(--ph-text-muted); font-size: 14px; }
.ph-immersive-icon-box { color: var(--ph-text-muted); }
.ph-icon-wrapper i { color: var(--ph-accent-gold); }

@media (min-width: 601px) and (max-width: 1300px) {
    .ph-immersive-hero-section { height: 80vh; min-height: 650px; padding-bottom: 50px; align-items: flex-end; }
    .ph-immersive-hero-container { padding: 0 25px; gap: 18px; text-align: left; }
    .ph-immersive-content-box { max-width: 100%; gap: 10px; }
    .ph-immersive-tagline-group h2 { font-size: 0.85rem; letter-spacing: 2.5px; }
    .ph-immersive-main-title { font-size: 2.3rem; line-height: 1.2; }
    .ph-immersive-sub-desc { font-size: 0.95rem; max-width: 500px; margin: 0; }
    .ph-immersive-explore-btn { padding: 10px 22px; font-size: 13px; }
    .ph-immersive-features-row { gap: 15px; }
}

@media (max-width: 600px) {
    .ph-immersive-hero-section { height: 100%; min-height: 600px; padding-bottom: 80px; }
    .ph-immersive-hero-container { padding: 0 10px; gap: 25px; text-align: center; }
    .ph-immersive-content-box { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; max-width: 100%; gap: 8px; }
    .ph-immersive-tagline-group { justify-content: center; }
    .ph-immersive-tagline-group h2 { font-size: 0.7rem; letter-spacing: 2px; }
    .ph-immersive-accent-line { display: none; }
    .ph-immersive-main-title { font-size: 1.8rem; line-height: 1.25; text-align: center; }
    .ph-immersive-sub-desc { display: block; font-size: 0.85rem; color: var(--ph-text-muted); max-width: 280px; margin: 0 auto; line-height: 1.4; text-align: center; }
    div.ph-immersive-social-contact-bar { display: none; }
    .ph-immersive-explore-btn { padding: 8px 18px; font-size: 12px; border-radius: 30px; margin: 0 auto; background: var(--ph-primary); color: var(--ph-dark-bg); box-shadow: 0 4px 20px rgba(0,0,0,.3); }
    .ph-immersive-features-row, .ph-immersive-counter-indicator { display: none; }
}
/* #endregion */

/* #region I M M E R S I V E  V I S U A L  S T O R Y T E L L I N G  -  E C O  S M A R T  H O M E */
.ph-smart-eco-section { position: relative; background: var(--ph-bg-light); padding: 120px 40px; font-family: 'Prompt', sans-serif; color: var(--ph-text-dark); overflow: hidden; }
.ph-smart-eco-container { max-width: 1280px; margin: 0 auto; }
.ph-smart-eco-header-wrapper { text-align: center; max-width: 800px; margin: 0 auto 70px; }
.ph-smart-eco-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--ph-eco-light); border: 1px solid var(--ph-eco-border); color: var(--ph-eco-primary); padding: 6px 18px; border-radius: 50px; font-size: .85rem; font-weight: 500; letter-spacing: 2px; margin-bottom: 20px; }
.ph-smart-eco-main-title { font-size: 2.8rem; font-weight: 700; line-height: 1.3; margin-bottom: 20px; letter-spacing: -.5px; color: var(--ph-text-dark); }
.ph-smart-eco-lead { font-size: 1.05rem; color: var(--ph-text-body); line-height: 1.7; font-weight: 300; margin: 0; }
.ph-smart-eco-mosaic-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 20px; margin-bottom: 70px; }
.ph-smart-eco-mosaic-item { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.3); border: 1px solid var(--ph-border-color); background: var(--ph-white); }
.ph-mosaic-large { grid-column: span 2; grid-row: span 2; }
.ph-smart-eco-mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.4,0,.2,1); filter: brightness(0.9); }
.ph-smart-eco-mosaic-item:hover img { transform: scale(1.07); }
.ph-smart-eco-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: linear-gradient(0deg, rgba(26,24,22,.9) 0%, transparent 100%); z-index: 2; }
.ph-smart-eco-overlay span { color: var(--ph-eco-text); font-size: .85rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.ph-smart-eco-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
.ph-smart-eco-feature-card { background: var(--ph-white); border: 1px solid var(--ph-border-color); padding: 40px 30px; border-radius: 20px; transition: all .4s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; gap: 20px; box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.ph-smart-eco-feature-card:hover { transform: translateY(-8px); border-color: var(--ph-eco-primary); box-shadow: 0 20px 40px var(--ph-eco-glow); }
.ph-smart-eco-icon-box { width: 60px; height: 60px; background: var(--ph-eco-light); color: var(--ph-eco-primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: all .3s ease; }
.ph-smart-eco-feature-card:hover .ph-smart-eco-icon-box { background: var(--ph-eco-primary); color: var(--ph-dark-bg); transform: scale(1.1) rotate(5deg); }
.ph-smart-eco-content h3 { font-size: 1.25rem; font-weight: 600; margin: 0 0 10px; color: var(--ph-text-dark); }
.ph-smart-eco-content p { font-size: .95rem; color: var(--ph-text-body); line-height: 1.6; margin: 0; font-weight: 300; }
.ph-smart-eco-footer-banner { background: var(--ph-white); border: 1px solid var(--ph-border-color); border-radius: 24px; padding: 45px 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.ph-smart-eco-footer-text h4 { font-size: 1.5rem; font-weight: 600; margin: 0 0 8px; color: var(--ph-text-dark); }
.ph-smart-eco-footer-text p { font-size: .95rem; color: var(--ph-text-body); margin: 0; }
.ph-smart-eco-cta-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ph-eco-primary); color: var(--ph-dark-bg); padding: 16px 36px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: .95rem; transition: all .3s cubic-bezier(.4,0,.2,1); white-space: nowrap; box-shadow: 0 10px 25px rgba(16,185,129,.2); }
.ph-smart-eco-cta-btn i { transition: transform .3s ease; }
.ph-smart-eco-cta-btn:hover { background: var(--ph-eco-hover); transform: translateY(-2px); box-shadow: 0 15px 30px var(--ph-eco-glow-hover); }
.ph-smart-eco-cta-btn:hover i { transform: translateX(5px); }

@media (max-width: 1024px) {
    .ph-smart-eco-mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .ph-mosaic-large { grid-column: span 2; grid-row: span 2; }
    .ph-smart-eco-features-grid { grid-template-columns: 1fr; }
    .ph-smart-eco-footer-banner { flex-direction: column; text-align: center; padding: 35px 20px; }
}

@media (max-width: 768px) {
    .ph-smart-eco-section { padding: 80px 20px; }
    .ph-smart-eco-main-title { font-size: 2.1rem; }
    .ph-smart-eco-mosaic-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
    .ph-mosaic-large { grid-column: span 1; grid-row: span 1; }
}
/* #endregion */

/* #region P R O H O U S E   I N F O   S E C T I O N - IMMERSIVE VISUAL STYLE */
.ph-about-section { background-color: var(--ph-bg-light); padding-bottom: 100px; position: relative; overflow: hidden; }
.ph-about-hero { position: relative; width: 100%; height: 65vh; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.ph-about-hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.2s cubic-bezier(.16,1,.3,1); filter: brightness(0.85); }
.ph-about-section:hover .ph-about-hero-img { transform: scale(1); }
.ph-about-hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(26,24,22,.4) 0%, rgba(26,24,22,.85) 100%); z-index: 1; }
.ph-about-hero-content { position: absolute; text-align: center; color: var(--ph-text-dark); max-width: 850px; padding: 0 25px; z-index: 2; }
.ph-about-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(212,175,55,0.12); border: 1px solid var(--ph-primary-border); color: var(--ph-primary); padding: 6px 16px; border-radius: 50px; font-size: .8rem; font-weight: 500; letter-spacing: 2px; margin-bottom: 20px; text-transform: uppercase; }
.ph-about-hero-content h1 { font-size: 2.6rem; font-weight: 700; margin-bottom: 15px; letter-spacing: -.5px; text-shadow: 0 4px 15px rgba(0,0,0,.5); }
.ph-about-hero-content p { font-size: 1.1rem; color: var(--ph-text-light); font-weight: 300; line-height: 1.6; margin: 0; }
.ph-about-wrapper { max-width: 1200px; margin: -120px auto 0; position: relative; z-index: 10; padding: 0 20px; }
.ph-about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.ph-about-card { background: var(--ph-white); padding: 45px; border-radius: 20px; border: 1px solid var(--ph-border-color); box-shadow: 0 20px 40px rgba(0,0,0,.3); transition: all .4s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; }
.ph-about-card:hover { transform: translateY(-10px); border-color: var(--ph-primary); box-shadow: 0 30px 60px var(--ph-primary-glow); }
.ph-about-icon-box { width: 60px; height: 60px; background: var(--ph-primary-light); color: var(--ph-primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 25px; transition: all .3s ease; }
.ph-about-card:hover .ph-about-icon-box { background: var(--ph-primary); color: var(--ph-dark-bg); transform: scale(1.05) rotate(5deg); }
.ph-about-card h3 { font-size: 1.4rem; font-weight: 600; color: var(--ph-text-dark); margin-bottom: 15px; }
.ph-about-card p { font-size: 1rem; color: var(--ph-text-body); line-height: 1.7; margin-bottom: 30px; font-weight: 300; flex-grow: 1; }
.ph-about-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ph-primary); text-decoration: none; font-weight: 500; transition: gap .3s ease, color .3s ease; width: fit-content; }
.ph-about-link i { transition: transform .3s ease; }
.ph-about-link:hover { color: var(--ph-primary-hover); gap: 15px; }
.ph-about-link:hover i { transform: translateX(4px); }

@media (max-width: 900px) {
    .ph-about-grid { grid-template-columns: 1fr; }
    .ph-about-wrapper { margin-top: -60px; }
    .ph-about-hero { height: 55vh; }
    .ph-about-hero-content h1 { font-size: 2rem; }
}
/* #endregion */

/* #region S H O W   H O U S E   M O D E L S */
.preview-house { background-color: var(--ph-bg-light); width: 100%; }
.preview-house-box { max-width: 1440px; margin: 0 auto; padding: 80px 20px; }
.preview-header-wrap { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.ph-models-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--ph-primary-light); border: 1px solid var(--ph-primary-border); color: var(--ph-primary); padding: 6px 18px; border-radius: 50px; font-size: .85rem; font-weight: 500; letter-spacing: 1.5px; margin-bottom: 15px; text-transform: uppercase; }
.preview-title h1 { color: var(--ph-text-dark); font-weight: 700; text-align: center; font-size: 2.5rem; margin-bottom: 12px; letter-spacing: -.5px; }
.preview-des { text-align: center; color: var(--ph-text-body); font-weight: 300; font-size: 1.05rem; margin-bottom: 0; }
.ph-main-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }
.ph-filter-toggle-btn { display: none; align-items: center; justify-content: center; gap: 8px; background-color: var(--ph-primary); color: var(--ph-dark-bg); border: none; padding: 10px 18px; border-radius: 10px; font-size: .9rem; font-weight: 600; cursor: pointer; margin-bottom: 20px; box-shadow: 0 4px 15px var(--ph-primary-glow); transition: background .3s; }
.ph-filter-toggle-btn:hover { background-color: var(--ph-primary-hover); }
.ph-filter-close-btn { display: none; background: none; border: none; font-size: 1.2rem; color: var(--ph-text-muted); cursor: pointer; }
.ph-filter-overlay { display: none; position: fixed; inset: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,.7); backdrop-filter: blur(3px); z-index: 998; }
.ph-filter-overlay.active { display: block; }
.ph-sidebar-filter { background: var(--ph-white); border-radius: 20px; border: 1px solid var(--ph-border-color); padding: 25px; box-shadow: 0 10px 30px rgba(0,0,0,.3); position: sticky; top: 30px; }
.filter-sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--ph-border-light); }
.filter-sidebar-header h3 { font-size: 1.1rem; color: var(--ph-text-dark); font-weight: 600; margin: 0; display: flex; align-items: center; gap: 8px; }
.reset-filter-btn { background: none; border: none; color: var(--ph-primary); font-size: .85rem; font-weight: 600; cursor: pointer; padding: 4px 8px; border-radius: 6px; transition: background .2s; }
.reset-filter-btn:hover { background: var(--ph-primary-light); }
.filter-group { margin-bottom: 20px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-label { display: block; font-size: .9rem; font-weight: 600; color: var(--ph-text-light); margin-bottom: 8px; }
.filter-select-box { width: 100%; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--ph-border-color); background-color: var(--ph-dark-bg); color: var(--ph-text-light); font-size: .9rem; font-family: inherit; cursor: pointer; outline: none; transition: all .3s; }
.filter-select-box:focus { border-color: var(--ph-primary); box-shadow: 0 0 0 3px var(--ph-primary-light); }
.filter-pill-group { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-btn { flex: 1; min-width: 40px; padding: 8px 10px; background: var(--ph-dark-bg); border: 1px solid var(--ph-border-color); border-radius: 8px; font-size: .85rem; font-weight: 500; color: var(--ph-text-body); cursor: pointer; transition: all .2s; text-align: center; }
.pill-btn:hover { border-color: var(--ph-primary); color: var(--ph-primary); }
.pill-btn.active { background: var(--ph-primary); border-color: var(--ph-primary); color: var(--ph-dark-bg); box-shadow: 0 4px 10px var(--ph-primary-glow); }
.ph-sidebar-filter .p-item { display: flex; align-items: center; background-color: var(--ph-dark-bg); padding: 8px 14px; border-radius: 10px; transition: all .3s cubic-bezier(.4,0,.2,1); cursor: pointer; border: 1px solid var(--ph-border-color); width: 100%; box-sizing: border-box; }
.ph-sidebar-filter .p-item:hover { background: var(--ph-primary-light); border-color: var(--ph-primary-border); }
.ph-sidebar-filter .p-item.active { background-color: var(--ph-primary); color: var(--ph-dark-bg); box-shadow: 0 4px 12px var(--ph-primary-glow); border-color: var(--ph-primary); }
.ph-sidebar-filter .p-item img { width: 16px; height: 16px; filter: brightness(2.5); margin-right: 8px; }
.ph-sidebar-filter .p-item.active img { filter: brightness(0); }
.ph-sidebar-filter .p-item a { text-decoration: none; color: var(--text-primary); font-weight: 500; font-size: .9rem; width: 100%; }
.ph-content-area { width: 100%; }
.model-set1 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; padding: 0; justify-content: stretch; margin-bottom: 40px; align-items: stretch; }
.model-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.model-card { background-color: var(--ph-white); width: 100%; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,.3); border: 1px solid var(--ph-border-color); transition: all .4s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; flex-grow: 1; }
.model-card:hover { transform: translateY(-8px); box-shadow: 0 20px 35px var(--ph-primary-glow); border-color: var(--ph-primary-border); }
.model-img { position: relative; height: 230px; overflow: hidden; }
.model-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; filter: brightness(0.9); }
.model-card:hover .model-img img { transform: scale(1.05); }
.md-tag { position: absolute; top: 15px; left: 15px; background-color: rgba(26,24,22,.85); backdrop-filter: blur(8px); color: var(--ph-text-light); padding: 6px 14px; font-size: .8rem; font-weight: 500; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,.4); z-index: 2; border: 1px solid var(--ph-border-color); }
.md-tag p { margin: 0; }
.md-tag-find { position: absolute; bottom: 15px; right: 15px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .3s ease; cursor: pointer; background-color: var(--ph-dark-bg); border: 1px solid var(--ph-border-color); box-shadow: 0 4px 15px rgba(0,0,0,.4); z-index: 2; color: var(--text-primary); }
.md-tag-find img { width: 18px; height: 18px; filter: brightness(2); display: block; }
.md-tag-find:hover { background-color: var(--ph-primary); border-color: var(--ph-primary); transform: scale(1.1); }
.md-tag-find:hover img { filter: brightness(0); }
.model-detail { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.model-info-main { display: flex; justify-content: space-between; align-items: flex-start; flex-grow: 1; }
.model-id { font-size: .95rem; color: var(--ph-text-body); font-weight: 500; margin: 0; line-height: 1.4; }
.model-id span { font-size: .8rem; color: var(--ph-primary); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.model-price { color: var(--ph-primary); font-size: 1.15rem; font-weight: 700; transition: .3s; }
.model-card:hover .model-price { color: var(--ph-primary-hover); }
.model-info-icons { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid var(--ph-border-light); margin-top: auto; }
.detail-item { display: flex; align-items: center; gap: 6px; }
.detail-item img { width: 18px; height: 18px; filter: brightness(1.5); opacity: .7; }
.detail-item span { font-size: .85rem; color: var(--ph-text-body); font-weight: 500; }
.pagination-controls { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 20px 0; }
.pagination-controls button { background-color: var(--ph-white); border: 1px solid var(--ph-border-color); color: var(--ph-text-light); border-radius: 12px; padding: 12px 24px; cursor: pointer; font-size: .95rem; font-weight: 600; transition: all .3s ease; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 15px rgba(0,0,0,.2); }
.pagination-controls button:hover:not(:disabled) { background-color: var(--ph-primary); border-color: var(--ph-primary); color: var(--ph-dark-bg); transform: translateY(-2px); box-shadow: 0 10px 25px var(--ph-primary-glow); }
.pagination-controls button:disabled { background-color: var(--ph-dark-bg); border-color: var(--ph-border-color); color: var(--ph-text-muted); cursor: not-allowed; box-shadow: none; opacity: .5; }
.pagination-controls button img { width: 14px; height: 14px; filter: brightness(2); transition: filter .3s; }
.pagination-controls button:hover:not(:disabled) img { filter: brightness(0); }
#pageInfo { font-size: 1rem; color: var(--ph-text-body); font-weight: 600; }
.preview-sort-bar { display: flex; justify-content: space-between; align-items: center; background: var(--ph-white); padding: 15px 20px; border-radius: 16px; border: 1px solid var(--ph-border-color); margin-bottom: 25px; box-shadow: 0 4px 15px rgba(0,0,0,.2); }
.result-count { font-size: .95rem; color: var(--ph-text-body); font-weight: 500; }
.result-count span { color: var(--ph-primary); font-weight: 700; }
.sort-wrapper { display: flex; align-items: center; gap: 10px; }
.sort-wrapper label { font-size: .9rem; color: var(--ph-text-light); font-weight: 600; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.sort-box { width: 210px !important; padding: 8px 12px !important; font-size: .85rem !important; }

@media (max-width: 1024px) {
    .ph-main-layout { grid-template-columns: 1fr; }
    .ph-filter-toggle-btn { display: inline-flex; }
    .ph-sidebar-filter { position: fixed; top: 0; left: -320px; width: 300px; height: 100%; max-height: 100vh; z-index: 999; border-radius: 0; overflow-y: auto; box-shadow: 5px 0 25px rgba(0,0,0,.5); transition: left .3s cubic-bezier(.4,0,.2,1); }
    .ph-sidebar-filter.active { left: 0; }
    .ph-filter-close-btn { display: block; }
}

@media (max-width: 768px) {
    .preview-house-box { padding: 40px 15px; }
    .preview-title h1 { font-size: 2rem; }
    .preview-sort-bar { flex-direction: column; gap: 15px; align-items: stretch; }
    .sort-wrapper { justify-content: space-between; }
    .sort-box { width: 100% !important; }
}

@media (max-width: 480px) {
    .model-set1 { grid-template-columns: 1fr; }
    .model-img { height: 200px; }
    .ph-sidebar-filter { width: 85%; left: -85%; }
    .ph-sidebar-filter.active { left: 0; }
    .pagination-controls button { font-size: .75rem; }
}
/* #endregion */

/* #region B A N N E R   S E C T I O N */
.prohouse-banner-section { width: 100%; min-height: 550px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; }
.prohouse-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,24,22,.75) 0%, rgba(26,24,22,.95) 100%); }
.prohouse-banner-container { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.prohouse-banner-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(212,175,55,0.15); border: 1px solid var(--ph-primary-border); color: var(--ph-primary); padding: 6px 16px; border-radius: 50px; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.prohouse-banner-container h1 { color: var(--ph-text-dark); font-size: 2.8rem; font-weight: 700; line-height: 1.25; margin: 0; }
.prohouse-banner-container h1 span { color: var(--ph-primary); }
.prohouse-banner-container p { color: var(--ph-text-body); font-size: 1.05rem; line-height: 1.7; max-width: 650px; margin: 0; font-weight: 300; }
.banner-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; background: var(--ph-primary); color: var(--ph-dark-bg); text-decoration: none; border-radius: 50px; font-weight: 600; box-shadow: 0 10px 25px var(--ph-primary-glow); transition: all .3s ease; }
.banner-btn:hover { background: var(--ph-primary-hover); transform: translateY(-2px); box-shadow: 0 15px 30px var(--ph-primary-glow-hover); }
.prohouse-feature-section { width: 100%; background-color: var(--ph-bg-light); padding: 100px 20px; }
.prohouse-feature-container { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.prohouse-feature-image-wrap { display: flex; justify-content: center; }
.feature-img-card { position: relative; width: 100%; max-width: 500px; height: 420px; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.4); border: 1px solid var(--ph-border-color); }
.feature-img-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: brightness(0.9); }
.feature-img-card:hover img { transform: scale(1.03); }
.feature-img-badge { position: absolute; bottom: 20px; left: 20px; background: rgba(38,35,32,.9); backdrop-filter: blur(8px); color: var(--ph-text-light); padding: 10px 18px; border-radius: 12px; display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; border: 1px solid var(--ph-border-color); box-shadow: 0 10px 20px rgba(0,0,0,.3); }
.feature-img-badge i { color: var(--ph-primary); font-size: 1.1rem; }
.prohouse-feature-content { display: flex; flex-direction: column; gap: 20px; }
.prohouse-section-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--ph-primary-light); border: 1px solid var(--ph-primary-border); color: var(--ph-primary); padding: 6px 16px; border-radius: 50px; font-size: .8rem; font-weight: 600; width: fit-content; text-transform: uppercase; letter-spacing: 1px; }
.prohouse-feature-content h2 { color: var(--ph-text-dark); font-size: 2.3rem; font-weight: 700; line-height: 1.25; margin: 0; }
.feature-lead { color: var(--ph-text-body); font-size: 1.05rem; line-height: 1.7; margin: 0; }
.feature-checklist { display: flex; flex-direction: column; gap: 12px; margin: 10px 0; }
.check-item { display: flex; align-items: center; gap: 12px; color: var(--ph-text-light); font-size: .95rem; font-weight: 500; }
.check-item i { color: var(--ph-primary); font-size: 1.1rem; }
.prohouse-feature-action { margin-top: 10px; }
.feature-btn { display: inline-flex; align-items: center; gap: 10px; color: var(--ph-primary); background: var(--ph-primary-light); padding: 12px 24px; border-radius: 50px; font-size: .95rem; font-weight: 600; text-decoration: none; transition: all .3s ease; border: 1px solid var(--ph-primary-border); }
.feature-btn:hover { background: var(--ph-primary); color: var(--ph-dark-bg); gap: 15px; }

@media (max-width: 1024px) {
    .prohouse-feature-container { grid-template-columns: 1fr; gap: 40px; }
    .feature-img-card { max-width: 100%; height: 350px; }
}

@media (max-width: 768px) {
    .prohouse-banner-container h1 { font-size: 2.1rem; }
    .prohouse-feature-content h2 { font-size: 1.8rem; }
    .prohouse-feature-section { padding: 60px 15px; }
}
/* #endregion */

/* #region C O N T A C T   S E C T I O N (DARK LUXURY THEME) */
.prohouse-contact-light-section { padding: 110px 20px; background-color: var(--ph-dark-bg); font-family: 'Kanit', sans-serif; }
.prohouse-contact-container { max-width: 1320px; margin: auto; }
.prohouse-contact-wrapper { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.contact-left-banner { background: var(--ph-white); border: 1px solid var(--ph-border-color); border-radius: 28px; padding: 50px 40px; color: var(--ph-text-dark); box-shadow: 0 10px 30px rgba(0,0,0,.3); display: flex; flex-direction: column; gap: 20px; position: relative; overflow: hidden; transition: all .4s ease; }
.contact-left-banner:hover { border-color: var(--ph-primary-border); box-shadow: 0 20px 40px var(--ph-primary-glow); }
.banner-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(212,175,55,0.12); border: 1px solid var(--ph-primary-border); color: var(--ph-primary); padding: 6px 16px; border-radius: 50px; font-size: .8rem; font-weight: 600; width: fit-content; letter-spacing: 1px; }
.contact-left-banner h2 { font-size: 2.2rem; font-weight: 700; line-height: 1.3; margin: 0; color: var(--ph-text-dark); }
.contact-left-banner p { color: var(--ph-text-body); font-size: 1rem; font-weight: 300; line-height: 1.6; margin: 0; }
.contact-action-wrapper { margin-top: 10px; }
.prohouse-contact-btn-glow { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background-color: var(--ph-primary); color: var(--ph-dark-bg); padding: 16px 36px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1rem; box-shadow: 0 10px 25px var(--ph-primary-glow); transition: all .3s ease; width: 100%; }
.prohouse-contact-btn-glow:hover { background-color: var(--ph-primary-hover); transform: translateY(-3px); box-shadow: 0 15px 30px var(--ph-primary-glow-hover); }
.prohouse-contact-btn-glow i { transition: transform .3s ease; }
.prohouse-contact-btn-glow:hover i { transform: translateX(6px); }
.banner-stats { display: flex; align-items: center; justify-content: space-around; margin-top: 20px; padding-top: 25px; border-top: 1px solid var(--ph-border-light); }
.stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat-num { font-size: 1.4rem; font-weight: 700; color: var(--ph-primary); }
.stat-label { font-size: .8rem; color: var(--ph-text-muted); }
.stat-divider { width: 1px; height: 30px; background: var(--ph-border-color); }
.contact-right-pillars { display: flex; flex-direction: column; gap: 16px; }
.prohouse-highlight-item { background-color: var(--ph-white); padding: 22px 25px; border-radius: 16px; border: 1px solid var(--ph-border-color); display: flex; align-items: center; gap: 20px; transition: all .3s cubic-bezier(.16,1,.3,1); box-shadow: 0 4px 15px rgba(0,0,0,.2); }
.prohouse-highlight-item:hover { border-color: var(--ph-primary-border); transform: translateX(6px); box-shadow: 0 10px 25px var(--ph-primary-glow); }
.icon-circle { min-width: 50px; height: 50px; background: var(--ph-primary-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--ph-primary); font-size: 20px; transition: all .3s ease; }
.prohouse-highlight-item:hover .icon-circle { background: var(--ph-primary); color: var(--ph-dark-bg); }
.pillar-text h4 { font-size: 1.05rem; color: var(--ph-text-dark); margin: 0 0 4px; font-weight: 600; }
.pillar-text p { font-size: .9rem; color: var(--ph-text-body); line-height: 1.5; margin: 0; font-weight: 300; }

@media (max-width: 1024px) {
    .prohouse-contact-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .contact-left-banner { padding: 40px 25px; }
}

@media (max-width: 768px) {
    .contact-left-banner h2 { font-size: 1.8rem; }
    .prohouse-contact-light-section { padding: 70px 15px; }
}
/* #endregion */





/* #region [IMPORT] P O R T F O L I O / C O L L AＧＥ */

:root {
    --bg-primary: #0a0f1d;        /* Deep Midnight Blue */
    --bg-secondary: #111827;      /* Dark Slate Blue */
    --text-primary: #f8fafc;      /* White Growth Text */
    --text-muted: #cbd5e1;        /* Muted Text */
    --accent-gold: #ffae00;       /* Gold Yellow */
    --accent-gold-light: #fffbeb; /* White Gold for highlight */
    --border-color: rgba(255, 223, 0, 0.25); /* Border Gold */
    
    --font-heading: 'Playfair Display', serif; /* ENG */
    --font-body: "Athiti", sans-serif;          /* THAI */
    --font-accent: 'Charm', cursive;             /* Highlight */
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tg-collage-section {
    padding: 140px 5%;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.tg-collage-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.tg-collage-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.tg-collage-header .tg-section-tag {
    font-family: var(--font-body);
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 22px;
    background: rgba(212, 175, 55, 0.05);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
}

.tg-collage-header h2 {
    font-family: var(--font-body);
    color: var(--text-primary);
    font-size: 2.8rem;
    font-weight: 400;
}

.tg-collage-header p {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.6;
}

.tg-collage-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 24px;
    position: relative;
    padding: 30px 0;
}

.tg-collage-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: #000;
}

.tg-collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.05);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tg-item-1 {
    grid-column: 1 / 8;
    grid-row: 1 / 4; 
    z-index: 1;
}

.tg-item-2 {
    grid-column: 7 / 11;
    grid-row: 1 / 3; 
    z-index: 2;
    transform: translateY(-20px); 
}

.tg-item-3 {
    grid-column: 10 / 13;
    grid-row: 2 / 4; 
    z-index: 3;
    transform: translateY(20px); 
}

.tg-item-4 {
    grid-column: 6 / 9;
    grid-row: 3 / 5; 
    z-index: 3;
    transform: translateY(-20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.tg-item-5 {
    grid-column: 11 / 13;
    grid-row: 1 / 2; 
    z-index: 2;
}

.tg-img-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(10, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    pointer-events: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    transform: translateY(10px);
    opacity: 0.9;
    transition: all 0.4s ease;
}

.tg-collage-item:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 30px 70px rgba(212, 175, 55, 0.15);
    z-index: 10; 
}

.tg-collage-item:hover img {
    transform: scale(1.06);
    filter: brightness(1) contrast(1.1);
}

.tg-collage-item:hover .tg-img-caption {
    background: rgba(212, 175, 55, 0.9);
    color: #111;
    border-color: var(--accent-gold);
    transform: translateY(0);
    opacity: 1;
}

/* --- TG-COLLAGE-FOOTER (Element ใต้ภาพรวมถึง ปุ่ม ไอคอน ข้อความ) --- */
.tg-collage-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    margin-top: 40px;
    gap: 30px;
    backdrop-filter: blur(10px);
}

.tg-footer-content-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tg-footer-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(255, 174, 0, 0.1);
    border: 1px solid rgba(255, 174, 0, 0.3);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tg-footer-text h4 {
    font-family: var(--font-body);
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 6px 0;
}

.tg-footer-text p {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    margin: 0;
}

.tg-footer-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(255, 174, 0, 0.2);
}

.tg-footer-action-btn i {
    transition: transform 0.3s ease;
}

.tg-footer-action-btn:hover {
    background: var(--accent-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 174, 0, 0.35);
}

.tg-footer-action-btn:hover i {
    transform: translateX(6px);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .tg-collage-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .tg-collage-item {
        height: 320px;
        transform: none !important; 
    }
    .tg-collage-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }
    .tg-footer-action-btn {
        width: 100%;
        justify-content: center;
    }
}
/* #endregion */