@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700;800&family=Kanit:wght@500;600;700;800&display=swap');

:root {
  --gold: #b8860b;
  --gold-light: #d4a017;
  --gold-bright: #f0c040;
  --gold-pale: #fdf8e8;
  --red: #8b1a1a;
  --red-light: #c0392b;
  --maroon: #6b1a1a;
  --cream: #faf6ef;
  --white: #ffffff;
  --text: #2c1810;
  --text-mid: #5a3e2b;
  --text-light: #8b6914;
  --border: #e8d5a0;
  --shadow: 0 4px 20px rgba(184,134,11,0.12);
  --shadow-lg: 0 10px 40px rgba(184,134,11,0.20);
  --r: 12px;
  --r-lg: 20px;
  --green: #2e7d32;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Sarabun', sans-serif; background: var(--cream); color: var(--text); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ===== TOPBAR ===== */
.topbar { background: var(--maroon); padding: 7px 20px; text-align: center; font-size: 13px; color: #f5deb3; }
.topbar a { color: var(--gold-bright); font-weight: 600; }
.topbar span { margin: 0 8px; opacity: 0.5; }

/* ===== HEADER ===== */
header { background: linear-gradient(135deg, var(--maroon) 0%, var(--red) 100%); position: sticky; top: 0; z-index: 200; box-shadow: 0 3px 20px rgba(107,26,26,0.4); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 64px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--gold), var(--gold-bright)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; box-shadow: 0 2px 10px rgba(240,192,64,0.4); }
.logo-text strong { font-family: 'Kanit', sans-serif; font-size: 14px; font-weight: 700; color: var(--gold-bright); display: block; line-height: 1.2; }
.logo-text span { font-size: 11px; color: #f5c6a0; }
nav { display: flex; align-items: center; gap: 3px; }
nav a { color: #f5deb3; font-size: 13px; font-weight: 500; padding: 7px 11px; border-radius: 7px; transition: all .2s; white-space: nowrap; }
nav a:hover, nav a.active { background: rgba(240,192,64,0.2); color: var(--gold-bright); }
.nav-cta { background: linear-gradient(135deg, var(--gold), var(--gold-bright)) !important; color: var(--maroon) !important; font-weight: 700 !important; }
.nav-cta:hover { opacity: .9; }
.menu-btn { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--gold-bright); }

/* ===== HERO ===== */
.hero { background: linear-gradient(160deg, var(--maroon) 0%, #5c1010 40%, #3d0a0a 100%); padding: 68px 20px 76px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f0c040' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3Ccircle cx='40' cy='40' r='15'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(240,192,64,0.15); border: 1px solid rgba(240,192,64,0.4); color: var(--gold-bright); padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-family: 'Kanit', sans-serif; font-size: clamp(24px, 5vw, 50px); font-weight: 800; color: #fff8e8; line-height: 1.2; margin-bottom: 14px; }
.hero h1 .acc { color: var(--gold-bright); }
.hero-sub { color: #e8c8a0; font-size: clamp(14px, 2vw, 17px); max-width: 600px; margin: 0 auto 28px; }
.hero-features { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero-feat { background: rgba(255,255,255,0.1); border: 1px solid rgba(240,192,64,0.3); color: #f5deb3; padding: 7px 14px; border-radius: 50px; font-size: 13px; font-weight: 500; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-call { background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: var(--maroon); font-family: 'Kanit', sans-serif; font-weight: 800; padding: 14px 28px; border-radius: 50px; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; transition: all .25s; box-shadow: 0 4px 18px rgba(240,192,64,0.4); }
.btn-call:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(240,192,64,0.5); }
.btn-line { background: #06C755; color: white; font-family: 'Kanit', sans-serif; font-weight: 700; padding: 14px 24px; border-radius: 50px; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: all .25s; }
.btn-line:hover { opacity: .88; transform: translateY(-2px); }
.btn-fb { background: #1877f2; color: white; font-weight: 700; padding: 14px 22px; border-radius: 50px; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: all .25s; }
.btn-fb:hover { opacity: .88; transform: translateY(-2px); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-alt { background: var(--white); }
.section-dark { background: linear-gradient(135deg, var(--maroon) 0%, var(--red) 100%); }
.sec-hdr { text-align: center; margin-bottom: 40px; }
.sec-tag { display: inline-block; background: var(--gold-pale); color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 14px; border-radius: 50px; margin-bottom: 10px; border: 1px solid var(--border); }
.sec-tag-light { background: rgba(240,192,64,0.2); color: var(--gold-bright); border-color: rgba(240,192,64,0.4); }
.sec-hdr h2 { font-family: 'Kanit', sans-serif; font-size: clamp(20px, 3.5vw, 32px); font-weight: 700; color: var(--text); margin-bottom: 10px; }
.sec-hdr h2.light { color: #fff8e8; }
.sec-hdr p { color: var(--text-light); font-size: 15px; max-width: 540px; margin: 0 auto; }
.sec-hdr p.light { color: #e8c8a0; }

/* ===== GRIDS ===== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }

/* ===== SERVICE CARDS ===== */
.srv-card { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--border); padding: 24px; box-shadow: var(--shadow); transition: all .22s; }
.srv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.srv-icon { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-bright)); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 14px; box-shadow: 0 4px 14px rgba(184,134,11,0.3); }
.srv-card h3 { font-family: 'Kanit', sans-serif; font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.srv-card p { font-size: 14px; color: var(--text-mid); line-height: 1.75; }

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 660px; margin: 0 auto; }
.step { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 24px; position: relative; }
.step:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 44px; width: 2px; height: calc(100% - 44px); background: linear-gradient(to bottom, var(--gold), transparent); }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-bright)); display: flex; align-items: center; justify-content: center; font-family: 'Kanit', sans-serif; font-weight: 800; color: var(--maroon); font-size: 16px; flex-shrink: 0; box-shadow: 0 3px 12px rgba(184,134,11,0.35); }
.step-body h3 { font-family: 'Kanit', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.step-body p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 8px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 16px 20px; font-family: 'Sarabun', sans-serif; font-size: 15px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background .2s; }
.faq-q:hover { background: var(--gold-pale); }
.faq-arrow { color: var(--gold); font-size: 17px; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 20px; font-size: 14px; color: var(--text-mid); line-height: 1.8; }
.faq-item.open .faq-a { max-height: 500px; padding: 4px 20px 16px; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gal-item { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; cursor: pointer; position: relative; border: 2px solid var(--border); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-cap { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(107,26,26,.75)); color: white; padding: 24px 12px 10px; font-size: 13px; font-weight: 600; transform: translateY(100%); transition: transform .3s; }
.gal-item:hover .gal-cap { transform: translateY(0); }

/* ===== LIGHTBOX ===== */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 8px; border: 3px solid var(--gold); }
.lb-close { position: absolute; top: 20px; right: 24px; color: var(--gold-bright); font-size: 36px; cursor: pointer; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); color: var(--gold-bright); font-size: 40px; cursor: pointer; background: rgba(107,26,26,.6); border: none; padding: 10px 16px; border-radius: 8px; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }

/* ===== REVIEWS ===== */
.review-card { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--border); padding: 22px; box-shadow: var(--shadow); }
.review-stars { color: var(--gold-bright); font-size: 18px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text-mid); line-height: 1.8; font-style: italic; margin-bottom: 14px; }
.r-author { display: flex; align-items: center; gap: 10px; }
.r-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--maroon), var(--red)); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--gold-bright); font-family: 'Kanit', sans-serif; font-size: 16px; flex-shrink: 0; }
.r-name { font-weight: 700; font-size: 13px; color: var(--text); }
.r-meta { font-size: 12px; color: var(--text-light); }

/* ===== CTA BAND ===== */
.cta-band { background: linear-gradient(135deg, var(--maroon) 0%, var(--red) 100%); padding: 42px 28px; border-radius: var(--r-lg); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; box-shadow: 0 8px 30px rgba(107,26,26,0.35); }
.cta-band h2 { font-family: 'Kanit', sans-serif; font-size: 24px; font-weight: 800; color: var(--gold-bright); }
.cta-band p { color: #f5deb3; font-size: 15px; margin-top: 5px; }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(160deg, var(--maroon) 0%, var(--red) 100%); padding: 44px 20px 50px; text-align: center; }
.page-hero h1 { font-family: 'Kanit', sans-serif; font-size: clamp(22px, 4vw, 40px); font-weight: 800; color: var(--gold-bright); margin-bottom: 10px; }
.page-hero p { color: #e8c8a0; font-size: 15px; max-width: 540px; margin: 0 auto 20px; }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-light); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--gold); }

/* ===== AREA LINKS ===== */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 9px; }
.area-link { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r); padding: 10px 14px; color: var(--text); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; transition: all .2s; box-shadow: var(--shadow); }
.area-link:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.area-link::before { content: '🙏'; font-size: 13px; }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box { background: var(--gold-pale); border: 2px solid var(--border); border-radius: var(--r); padding: 18px 22px; margin-bottom: 22px; }
.highlight-box p { font-size: 15px; color: var(--text); }

/* ===== NEARBY ===== */
.nearby-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.nearby-link { background: var(--gold-pale); border: 1px solid var(--border); border-radius: 8px; padding: 7px 14px; color: var(--text); font-size: 13px; font-weight: 600; transition: all .2s; }
.nearby-link:hover { background: var(--gold-pale); border-color: var(--gold); color: var(--gold); }

/* ===== FLOAT BUTTONS ===== */
.float-btns { position: fixed; bottom: 22px; right: 22px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 16px rgba(0,0,0,.25); transition: all .2s; }
.float-btn:hover { transform: scale(1.1); }
.float-call-btn { background: linear-gradient(135deg, var(--gold), var(--gold-bright)); animation: pulse-gold 2.5s ease-in-out infinite; }
.float-line-btn { background: #06C755; }
@keyframes pulse-gold { 0%,100%{box-shadow:0 4px 16px rgba(184,134,11,.4)}50%{box-shadow:0 6px 24px rgba(184,134,11,.65)} }

/* ===== SCROLL TOP ===== */
.scroll-top { position: fixed; bottom: 22px; left: 22px; z-index: 998; background: var(--maroon); color: var(--gold-bright); width: 44px; height: 44px; border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; box-shadow: var(--shadow); border: none; transition: all .2s; }
.scroll-top.show { display: flex; }

/* ===== CONTACT FORM ===== */
.form-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 9px; font-family: 'Sarabun', sans-serif; font-size: 14px; color: var(--text); transition: border-color .2s; background: var(--cream); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: var(--maroon); border: none; padding: 14px 32px; border-radius: 50px; font-family: 'Kanit', sans-serif; font-weight: 800; font-size: 16px; cursor: pointer; transition: all .25s; width: 100%; margin-top: 6px; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(184,134,11,.4); }

/* ===== FOOTER ===== */
footer { background: linear-gradient(135deg, #2c0a0a 0%, #3d1010 100%); padding: 44px 20px 20px; margin-top: 48px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; margin-bottom: 24px; }
.footer-brand p { font-size: 13px; color: #8b6940; line-height: 1.7; margin-top: 8px; }
.footer-col h4 { color: var(--gold-bright); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 11px; }
.footer-col a { display: block; color: #a07840; font-size: 13px; padding: 3px 0; transition: color .2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(240,192,64,0.15); padding-top: 16px; text-align: center; font-size: 12px; color: #6b4820; }

/* ===== 404 ===== */
.error-page { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.err-num { font-family: 'Kanit', sans-serif; font-size: 90px; font-weight: 800; color: var(--gold); line-height: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 64px; left: 0; right: 0; background: var(--maroon); padding: 12px; box-shadow: 0 8px 20px rgba(0,0,0,.3); border-top: 2px solid var(--gold); z-index: 300; }
  .menu-btn { display: block; }
  .header-inner { position: relative; }
  .hero-btns { flex-direction: column; align-items: center; }
  .cta-band { flex-direction: column; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .float-btns { bottom: 14px; right: 14px; }
  .float-btn { width: 48px; height: 48px; font-size: 21px; }
}

/* Fade in */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Ornament divider */
.ornament { text-align: center; font-size: 20px; color: var(--gold); margin: 8px 0; letter-spacing: 8px; }
