/* #region H E R O   B A N N E R */

.tg-hero-banner {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-primary);
    overflow: hidden;
    padding: 140px 5% 100px 5%;
}

.tg-hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tg-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.8) contrast(1.1);
}

.tg-hero-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% center, rgba(11, 11, 11, 0.4) 0%, rgba(11, 11, 11, 0.85) 70%, rgba(11, 11, 11, 0.95) 100%),
                linear-gradient(to top, rgba(11, 11, 11, 0.9) 0%, transparent 60%);
    z-index: 2;
}

.tg-hero-container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.tg-hero-box {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 40px 0;
}

.tg-hero-tag {
    font-family: var(--font-body);
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    border-left: 2px solid var(--accent-gold);
    padding-left: 14px;
    background: rgba(212, 175, 55, 0.08);
    padding-top: 6px;
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
}

.tg-hero-heading {
    font-family: var(--font-body);
    color: var(--text-primary);
    font-size: 3.4rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.tg-hero-cursive {
    font-family: var(--font-body);
    color: var(--accent-gold-light);
    font-size: 3.8rem;
    font-weight: 400;
    display: inline-block;
    margin-left: 5px;
}

.tg-hero-description {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.5px;
    max-width: 640px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.tg-hero-btn-group {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.tg-hero-btn {
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    padding: 15px 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tg-hero-btn-solid {
    border: 1px solid var(--accent-gold);
    color: #111;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.tg-hero-btn-solid:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

.tg-hero-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(10px);
}

.tg-hero-btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-2px);
}

/* Social Icons ด้านขวา เพิ่มความทันสมัยและไม่โล่ง */
.tg-hero-socials {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 40px;
}

.tg-hero-socials a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(8px);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tg-hero-socials a:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(-5px);
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .tg-hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .tg-hero-box {
        align-items: center;
    }
    .tg-hero-tag {
        border-left: none;
        border-bottom: 2px solid var(--accent-gold);
        padding-left: 0;
        padding-right: 14px;
    }
    .tg-hero-heading {
        font-size: 2.6rem;
    }
    .tg-hero-cursive {
        font-size: 3rem;
        display: block;
        margin-top: 5px;
        margin-left: 0;
    }
    .tg-hero-socials {
        flex-direction: row;
        padding-bottom: 0;
        margin-top: 20px;
    }
    .tg-hero-socials a:hover {
        transform: translateY(-5px);
    }
}

@media screen and (max-width: 768px) {
    .tg-hero-heading {
        font-size: 2.1rem;
    }
    .tg-hero-btn-group {
        flex-direction: column;
        width: 100%;
    }
    .tg-hero-btn {
        width: 100%;
        justify-content: center;
    }
}



/* #endregion ################################################ */

/* #region I N T R O D U C E */

.tg-section-manifesto {
    position: relative;
    width: 100%;
    background-color: var(--bg-secondary);
    padding: 100px 5%;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.tg-section-manifesto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(255, 174, 0, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(10, 15, 29, 0.8) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.tg-manifesto-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    text-align: center;
}

.tg-manifesto-content-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
}

.tg-section-tag {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    border: 1px solid var(--border-color);
    padding: 6px 24px;
    background: rgba(255, 174, 0, 0.04);
    border-radius: 50px;
}

.tg-manifesto-title {
    font-family: var(--font-body);
    color: var(--text-primary);
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.tg-manifesto-accent {
    font-family: var(--font-body);
    color: var(--accent-gold-light);
    font-size: 3.2rem;
    font-weight: 400;
    display: inline-block;
    margin-top: 5px;
}

.tg-manifesto-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 5px 0;
}

.tg-manifesto-text {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 800px;
    letter-spacing: 0.5px;
}

/* จุดเด่น 3 ข้อด้านล่าง เพิ่มความแน่นและดูเป็นแบรนด์ระดับสูง */
.tg-manifesto-features {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.tg-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tg-feature-number {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.4rem;
    font-weight: 600;
}

.tg-feature-label {
    font-family: var(--font-body);
    color: var(--text-primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* อニメชันเรียงคิวแสดงผลอัตโนมัติ (ต่อเนื่องจาก Hero) */
.tg-manifesto-content-box .manifesto-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: manifestoIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tg-manifesto-content-box .tg-section-tag { animation-delay: 0.2s; }
.tg-manifesto-content-box .tg-manifesto-title { animation-delay: 0.4s; }
.tg-manifesto-content-box .tg-manifesto-divider { animation-delay: 0.6s; }
.tg-manifesto-content-box .tg-manifesto-text { animation-delay: 0.8s; }
.tg-manifesto-content-box .tg-manifesto-features { animation-delay: 1.0s; }

@keyframes manifestoIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive สำหรับมือถือ */
@media screen and (max-width: 768px) {
    .tg-section-manifesto {
        padding: 70px 5%;
    }
    .tg-manifesto-title {
        font-size: 2rem;
    }
    .tg-manifesto-accent {
        font-size: 2.3rem;
    }
    .tg-manifesto-features {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

/* #endregion ######################################################## */


/* #region P O R T F O L I O */

.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;
}

.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;
}

@media screen and (max-width: 1024px) {
    .tg-collage-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .tg-collage-item {
        height: 320px;
        transform: none !important; 
    }
}

/* #endregion */


/* #region P R O C E S S */

.ph-process-section {
    padding: 120px 5%;
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.ph-process-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.ph-process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.ph-process-header .ph-process-tag {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    border: 1px solid var(--border-color);
    padding: 6px 20px;
    background: rgba(255, 174, 0, 0.04);
    border-radius: 50px;
}

.ph-process-header h2 {
    font-family: var(--font-body);
    color: var(--text-primary);
    font-size: 2.3rem;
    font-weight: 500;
}

.ph-process-header p {
    font-family: var(--font-body);
    color: #cbd5e1;
    font-size: 1.05rem;
    font-weight: 300;
}

.ph-timeline-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px 0;
}

.ph-timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent-gold), transparent);
    transform: translateX(-50%);
    opacity: 0.4;
}

.ph-timeline-item {
    width: 50%;
    position: relative;
    display: flex;
}

.ph-item-left {
    align-self: flex-start;
    justify-content: flex-end;
    padding-right: 35px;
}

.ph-item-right {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 35px;
}

.ph-timeline-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(10, 15, 29, 0.98));
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 16px;
    position: relative;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ph-timeline-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 174, 0, 0.15);
}

.ph-card-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-gold);
    opacity: 0.3;
    line-height: 1;
    display: block;
    margin-bottom: 10px;
    transition: opacity 0.3s ease;
}

.ph-timeline-card:hover .ph-card-num {
    opacity: 0.9;
}

.ph-card-body h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.ph-card-body p {
    font-family: var(--font-body);
    color: #cbd5e1;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
}

.ph-timeline-item::after {
    content: '';
    position: absolute;
    top: 50px;
    width: 14px;
    height: 14px;
    background-color: var(--bg-primary);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 12px var(--accent-gold);
}

.ph-item-left::after {
    right: -7px;
}

.ph-item-right::after {
    left: -7px;
}

@media screen and (max-width: 768px) {
    .ph-timeline-wrapper::before,
    .ph-timeline-item::after {
        display: none;
    }
    .ph-timeline-item,
    .ph-item-left,
    .ph-item-right {
        width: 100%;
        padding: 0;
        align-self: center;
        justify-content: center;
    }
    .ph-timeline-card {
        max-width: 100%;
    }
}

/* #endregion #############################################*/


/* #region C O N T A C T   U S */

.tg-section-consult {
    position: relative;
    width: 100%;
    padding: 130px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.tg-consult-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tg-consult-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.65) contrast(1.05);
}

.tg-consult-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 15, 29, 0.7) 0%, rgba(10, 15, 29, 0.95) 100%);
    z-index: 2;
}

.tg-consult-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.tg-consult-info-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tg-consult-info-box .tg-section-tag {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    border: 1px solid var(--border-color);
    padding: 6px 20px;
    background: rgba(255, 174, 0, 0.04);
    border-radius: 50px;
    width: fit-content;
}

.tg-consult-info-box h2 {
    font-family: var(--font-body);
    color: var(--text-primary);
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1.25;
}

.tg-consult-info-box p {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
}

.tg-consult-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.tg-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 300;
}

.tg-feature-item i {
    color: var(--accent-gold);
    width: fit-content;
    font-size: 1.1rem;
    background: rgba(255, 174, 0, 0.08);
    padding: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 174, 0, 0.15);
}

.tg-consult-action-box {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.85) 0%, rgba(10, 15, 29, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 223, 0, 0.15);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
}

.tg-action-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.tg-action-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 174, 0, 0.08);
    border: 1px solid rgba(255, 174, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.tg-action-content h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.tg-action-content p {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 320px;
}

.tg-btn-gold-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffae00 0%, #d49200 100%);
    color: #0a0f1d;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 16px 35px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 174, 0, 0.25);
    width: 100%;
    margin-top: 10px;
}

.tg-btn-gold-solid:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ffbe1a, #e59f00);
    box-shadow: 0 12px 30px rgba(255, 174, 0, 0.4);
}

.tg-btn-gold-solid i {
    transition: transform 0.3s ease;
}

.tg-btn-gold-solid:hover i {
    transform: translateX(5px);
}

@media screen and (max-width: 992px) {
    .tg-consult-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .tg-consult-info-box {
        align-items: center;
    }
    .tg-consult-info-box h2 {
        font-size: 2.1rem;
    }
    .tg-consult-features {
        align-items: center;
    }
    .tg-consult-action-box {
        padding: 40px 25px;
    }
}

/* #endregion #################----------------------*/









