/* อธิปัตย์ทัวร์ — สไตล์หน้าเว็บ */
:root {
  --accent: #FF9000;
  --accent-soft: #FFB74D;
  --on-accent: #2B1A00;
  --bg: #121212;
  --bg-alt: #1a1a1a;
  --card: #1E1E1E;
  --line: rgba(255, 144, 0, 0.18);
  --text: #F0F0F0;
  --heading: #FFFFFF;
  --muted: #B0B0B0;
  --subtle: #A8A29B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: 'Prompt', sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-soft); }
a:hover { color: #FFD54F; }
h1, h2, h3, p, figure { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.alt { background: var(--bg-alt); }
.h2 { font-size: 36px; font-weight: 700; color: var(--heading); line-height: 1.3; }
.lead { font-size: 17px; line-height: 1.7; color: var(--muted); }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--accent-soft); }
.caption { font-size: 14px; color: var(--subtle); margin-top: 10px; }
.grid-auto { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ปุ่ม */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 14px 28px; font-size: 16px; font-weight: 600; text-decoration: none; font-family: inherit; }
.btn-primary { background: var(--accent); color: var(--on-accent); border: none; cursor: pointer; }
.btn-primary:hover { color: var(--on-accent); background: #FFA22E; }
.btn-ghost { border: 1px solid rgba(255, 144, 0, 0.45); color: var(--accent-soft); font-weight: 500; }

/* แถบเมนูบน */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(18, 18, 18, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 36px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; }
.nav a { color: #C8C8C8; text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--accent-soft); }
.nav .btn { padding: 10px 20px; font-size: 15px; color: var(--on-accent); }
.lang { display: flex; gap: 6px; font-size: 14px; padding: 10px 0; }
.lang .on { color: var(--accent-soft); font-weight: 600; }
.lang .sep { color: #6B6560; }
.lang .off { color: #8A847E; }

/* ส่วนบนสุด */
.hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 52px; line-height: 1.2; font-weight: 700; color: var(--heading); }
.hero .lead { font-size: 18px; max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% 60%; border-radius: 20px; }

/* ตัวเลข */
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font-size: 40px; font-weight: 700; color: var(--accent); }
.stat > span { font-size: 15px; color: var(--muted); }

/* บริการ */
.services .wrap { display: flex; flex-direction: column; gap: 40px; }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card h3 { font-size: 22px; font-weight: 600; color: var(--heading); }
.card p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.icon { width: 52px; height: 52px; border-radius: 12px; background: #2A1F00; color: var(--accent); display: flex; align-items: center; justify-content: center; }

/* ทำไมต้องเรา */
.why .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: start; }
.why-intro { display: flex; flex-direction: column; gap: 16px; }
.why-intro figure { margin-top: 8px; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 32px; }
.point h3 { font-size: 18px; font-weight: 600; color: var(--accent-soft); margin-bottom: 8px; }
.point p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.full { grid-column: 1 / -1; }
.full .grid-auto { gap: 16px; align-items: start; }
.full img { width: 100%; height: auto; border-radius: 14px; }

/* ลูกค้า */
.clients { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.clients .wrap { display: flex; flex-direction: column; gap: 24px; padding-top: 56px; padding-bottom: 72px; }
.clients h2 { font-size: 24px; font-weight: 600; color: var(--heading); }
.tiles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.tiles li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 16px; font-weight: 500; }

/* เรื่องราว */
.history .wrap { display: flex; flex-direction: column; gap: 40px; }
.history-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px 56px; align-items: end; }
.history-head > div { display: flex; flex-direction: column; gap: 12px; }
.wide { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 16px; }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* พื้นที่ */
.area .wrap { display: flex; flex-direction: column; gap: 20px; }
.places { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.places li { background: var(--card); border-radius: 10px; padding: 14px 18px; font-size: 16px; color: #E0E0E0; }

/* ร่วมงานกับเรา */
.partner { background: #2A1F00; border-top: 1px solid rgba(255, 144, 0, 0.25); border-bottom: 1px solid rgba(255, 144, 0, 0.25); }
.partner .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.partner h2 { font-size: 30px; font-weight: 700; color: var(--heading); margin-bottom: 12px; }
.partner p { font-size: 16px; line-height: 1.7; color: #E0C9A0; }
.partner .actions { align-items: center; margin: 0; }
.partner .btn-ghost { border-color: rgba(255, 183, 77, 0.6); }

/* ติดต่อ */
.contact .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info { display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: #E0E0E0; }
.info div { display: flex; gap: 12px; align-items: flex-start; }
.info dt, .info .k { color: var(--subtle); min-width: 72px; }
.info a { text-decoration: none; font-weight: 600; }
form.quote { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: #C8C8C8; }
.field input, .field select, .field textarea { font-family: inherit; font-size: 16px; background: #2a2a2a; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; padding: 12px 14px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.notice.ok { background: #13301A; color: #81C784; }
.notice.err { background: #2E1512; color: #FF8A65; }
form.quote .btn { justify-content: center; min-height: 48px; }

/* ท้ายเว็บ */
.site-footer { background: #0d0d0d; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--subtle); padding-top: 36px; padding-bottom: 36px; }

/* จอเล็ก */
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section, .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: 36px; }
  .h2 { font-size: 28px; }
  .stat b { font-size: 32px; }
  .card, form.quote { padding: 24px; }
  .nav { gap: 2px 16px; font-size: 14px; }
  .hero .wrap, .why .wrap, .contact .wrap, .history-head, .partner .wrap,
  .grid-auto, .trio, .cards { grid-template-columns: minmax(0, 1fr); }
}

/* มือถือ: แถบเมนูไม่ต้องค้างบนจอ (สูง 2 บรรทัด จะบังเนื้อหา) */
@media (max-width: 640px) {
  .site-header { position: static; }
  html { scroll-padding-top: 0; }
}

/* ปุ่มสลับภาษา */
.lang a.off { color: #8A847E; text-decoration: none; padding: 0; }
.lang a.off:hover { color: var(--accent-soft); }

/* ช่องยืนยันว่าเป็นคน */
.cf-turnstile { min-height: 65px; }
