/* ================= DESIGN TOKENS ================= */
:root{
    --sage:#6B8F71; --sage-dark:#4A6B50; --sage-deep:#3A5440;
    --gold:#C9A05C; --gold-dark:#B08845;
    --cream:#FAF7F1; --cream-2:#F1EBDE;
    --ink:#3B3B36; --muted:#7A776E; --line:#E8E2D5;
    --white:#FFFFFF;
    --shadow-sm:0 4px 14px rgba(74,107,80,.08);
    --shadow-md:0 12px 32px rgba(74,107,80,.16);
    --radius:16px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    font-family:'Sarabun',sans-serif;
    color:var(--ink);
    background:var(--white);
    line-height:1.7;
    -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:'Kanit',sans-serif;line-height:1.35}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}
.container{max-width:1160px;margin:0 auto;padding:0 clamp(16px,4vw,32px)}

/* ================= HEADER / NAV ================= */
.header{
    position:sticky;top:0;z-index:100;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
    transition:box-shadow .25s;
}
.header.scrolled{box-shadow:var(--shadow-sm)}
.nav-container{
    max-width:1160px;margin:0 auto;padding:0 clamp(16px,4vw,32px);
    display:flex;align-items:center;justify-content:space-between;
    min-height:70px;gap:16px;
}
.nav-logo{display:flex;flex-direction:column;line-height:1.15;flex-shrink:0}
.nav-logo h2{font-size:clamp(20px,3vw,26px);color:var(--sage-deep);font-weight:700}
.nav-logo span{font-size:clamp(10px,1.4vw,12px);letter-spacing:3px;color:var(--gold-dark);font-weight:600}
.nav-menu{display:flex;align-items:center;gap:clamp(4px,1.5vw,12px)}
.nav-link{
    display:block;padding:10px clamp(8px,1.6vw,16px);
    font-size:15px;font-weight:600;color:var(--ink);
    border-radius:10px;transition:all .2s;white-space:nowrap;
}
.nav-link:hover{color:var(--sage-dark);background:var(--cream)}
.nav-link.active{color:var(--sage-dark);background:var(--cream-2)}
.nav-toggle{
    display:none;flex-direction:column;gap:5px;
    background:none;border:none;cursor:pointer;padding:8px;
}
.nav-toggle .bar{
    width:24px;height:2.5px;border-radius:3px;
    background:var(--sage-deep);transition:all .3s;
}
.nav-toggle.active .bar:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.nav-toggle.active .bar:nth-child(2){opacity:0}
.nav-toggle.active .bar:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}

/* ================= HERO ================= */
/* ตกแต่งรูปจริงในหน้า Hero ให้สวยงามและพอดีกรอบ */

.hero-image {

    display: flex;

    justify-content: center;

    align-items: center;

}

.hero-real-img {

    width: 100%;

    max-width: 400px;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    border-radius: 24px;

    border: 1px solid var(--line);

    box-shadow: var(--shadow-md);

}
.hero{
    background:linear-gradient(160deg,var(--cream) 55%,var(--cream-2));
    padding:clamp(48px,8vw,88px) 0;
}
.hero-container{
    max-width:1160px;margin:0 auto;
    padding:0 clamp(16px,4vw,32px);
    display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);
    gap:clamp(28px,5vw,56px);align-items:center;
}
.hero-title{
    font-size:clamp(30px,5.2vw,52px);
    color:var(--sage-deep);margin-bottom:18px;
}
.hero-title .highlight{color:var(--gold-dark)}
.hero-subtitle{
    font-size:clamp(15px,2vw,18px);
    color:var(--muted);max-width:540px;margin-bottom:30px;
}
.hero-buttons{display:flex;gap:14px;flex-wrap:wrap}
.btn{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    padding:14px 30px;border-radius:12px;
    font-weight:700;font-size:16px;font-family:'Kanit',sans-serif;
    transition:all .2s;min-height:50px;
}
.btn-primary{background:var(--gold);color:var(--white);box-shadow:0 6px 18px rgba(201,160,92,.35)}
.btn-primary:hover{background:var(--gold-dark);transform:translateY(-2px)}
.btn-secondary{background:transparent;color:var(--sage-dark);border:2px solid var(--sage-dark)}
.btn-secondary:hover{background:var(--sage-dark);color:var(--white)}
.hero-image{display:flex;justify-content:center}
.hero-placeholder{
    width:100%;max-width:400px;aspect-ratio:4/5;
    background:var(--white);border-radius:24px;
    border:1px solid var(--line);
    box-shadow:var(--shadow-md);
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:12px;color:var(--muted);
}
.hero-placeholder i{font-size:90px;color:var(--cream-2)}
.hero-placeholder p{font-size:14px}

/* ================= SECTIONS ================= */
section{padding:clamp(48px,7vw,80px) 0}
.section-header{text-align:center;margin-bottom:clamp(32px,5vw,48px)}
.section-header h2{font-size:clamp(24px,3.6vw,34px);color:var(--sage-deep)}
.section-header p{color:var(--muted);font-size:clamp(14px,2vw,16px);margin-top:6px}

/* ================= ABOUT / FEATURES ================= */
.about-preview{background:var(--white)}
.features-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:clamp(16px,2.5vw,24px);
}
.feature-card{
    background:var(--cream);border:1px solid var(--line);
    border-radius:var(--radius);padding:28px 22px;text-align:center;
    transition:all .25s;
}
.feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);background:var(--white)}
.feature-icon{
    width:58px;height:58px;margin:0 auto 16px;border-radius:16px;
    background:var(--white);border:1px solid var(--line);
    display:flex;align-items:center;justify-content:center;
    font-size:24px;color:var(--sage-dark);
}
.feature-card h3{font-size:18px;color:var(--sage-deep);margin-bottom:8px}
.feature-card p{font-size:14px;color:var(--muted);line-height:1.7}

/* ================= SERVICES ================= */
.services-preview{background:var(--cream)}
.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:clamp(16px,2.5vw,24px);
}
.service-card{
    background:var(--white);border-radius:var(--radius);
    padding:32px 26px;box-shadow:var(--shadow-sm);
    display:flex;flex-direction:column;transition:all .25s;
}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.service-icon{
    width:56px;height:56px;border-radius:14px;
    background:var(--cream-2);color:var(--sage-dark);
    display:flex;align-items:center;justify-content:center;
    font-size:24px;margin-bottom:18px;
}
.service-card h3{font-size:19px;color:var(--sage-deep);margin-bottom:10px}
.service-card p{font-size:14.5px;color:var(--muted);flex:1;margin-bottom:16px}
.service-link{
    color:var(--gold-dark);font-weight:700;font-size:14.5px;
    display:inline-flex;align-items:center;gap:6px;
}
.service-link::after{content:"→";transition:transform .2s}
.service-link:hover::after{transform:translateX(4px)}

/* ================= TESTIMONIALS ================= */
.testimonials-preview{background:var(--white)}
.testimonials-slider{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:clamp(16px,2.5vw,24px);
}
.testimonial-card{
    background:var(--cream);border:1px solid var(--line);
    border-radius:var(--radius);padding:30px 26px;
    display:flex;flex-direction:column;gap:18px;
}
.testimonial-content p{
    font-size:15.5px;color:var(--ink);line-height:1.9;font-style:italic;
}
.testimonial-content p::before{content:"\201C";font-size:40px;color:var(--gold);
    font-family:'Kanit';display:block;line-height:0.6;margin-bottom:10px}
.author-info h4{font-size:15px;color:var(--sage-deep)}
.author-info span{font-size:13px;color:var(--muted)}
.testimonials-cta{text-align:center;margin-top:34px}

/* ================= CTA ================= */
.cta{background:linear-gradient(135deg,var(--sage-deep),var(--sage-dark))}
.cta-content{text-align:center;color:var(--white)}
.cta-content h2{font-size:clamp(22px,3.4vw,32px);margin-bottom:10px}
.cta-content p{opacity:.9;margin-bottom:26px;font-size:clamp(14px,2vw,16px)}
.cta-buttons{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.cta .btn-primary{background:var(--gold)}
.cta .btn-primary:hover{background:var(--gold-dark)}
.cta .btn-secondary{border-color:var(--white);color:var(--white)}
.cta .btn-secondary:hover{background:var(--white);color:var(--sage-deep)}

/* ================= FOOTER ================= */
.footer{background:var(--sage-deep);color:#CBD8CC;font-size:14px}
.footer-content{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:clamp(24px,4vw,40px);
    padding:clamp(40px,6vw,56px) 0 32px;
}
.footer-section h3{color:var(--white);font-size:18px;margin-bottom:12px}
.footer-section h4{color:var(--gold);font-size:15px;margin-bottom:14px;letter-spacing:.5px}
.footer-section p{margin-bottom:8px;display:flex;align-items:center;gap:8px}
.footer-section i{color:var(--gold);width:18px;text-align:center}
.footer-section a:hover{color:var(--white)}
.footer-section li{margin-bottom:8px}
.social-links{display:flex;gap:10px}
.social-links a{
    width:40px;height:40px;border-radius:10px;
    background:rgba(255,255,255,.1);
    display:flex;align-items:center;justify-content:center;
    font-size:16px;transition:all .2s;
}
.social-links a:hover{background:var(--gold);color:var(--white)}
.line-badge{
    background:#06C755;color:var(--white);border-radius:8px;
    padding:4px 10px;font-size:12px;font-weight:700;
}
.footer-bottom{
    border-top:1px solid rgba(255,255,255,.15);
    padding:18px 0;text-align:center;font-size:13px;
}

/* ================= FLOATING LINE ================= */
.line-float{
    position:fixed;right:18px;bottom:18px;z-index:90;
    background:#06C755;color:var(--white);
    font-weight:700;font-size:15px;font-family:'Kanit',sans-serif;
    padding:13px 22px;border-radius:40px;
    box-shadow:0 6px 20px rgba(6,199,85,.45);
    display:flex;align-items:center;gap:8px;
}
.line-float:hover{transform:scale(1.05)}

/* ================= RESPONSIVE ================= */
@media (max-width:968px){
    .nav-toggle{display:flex}
    .nav-menu{
        position:fixed;top:70px;left:0;right:0;
        background:var(--white);flex-direction:column;
        align-items:stretch;gap:0;
        border-bottom:1px solid var(--line);
        box-shadow:var(--shadow-md);
        padding:8px 16px 16px;
        transform:translateY(-130%);opacity:0;
        transition:all .3s ease;pointer-events:none;
        max-height:calc(100vh - 70px);overflow-y:auto;
    }
    .nav-menu.active{transform:translateY(0);opacity:1;pointer-events:auto}
    .nav-link{padding:14px 12px;border-radius:10px;font-size:16px}
    .hero-container{grid-template-columns:1fr;text-align:center}
    .hero-subtitle{margin-left:auto;margin-right:auto}
    .hero-buttons{justify-content:center}
    .hero-image{order:-1}
    .hero-placeholder{max-width:300px}
}
@media (max-width:480px){
    .hero-placeholder{max-width:260px}
    .hero-placeholder i{font-size:70px}
    .btn{width:100%;justify-content:center}
    .hero-buttons,.cta-buttons{flex-direction:column;align-items:stretch}
    .line-float{right:12px;bottom:12px;padding:11px 16px;font-size:14px}
}

