/* ================================================
   บริษัท ณารา ลิฟวิ่ง แอนด์ ดีไซน์ จำกัด
   Design system - warm linen / deep teak palette
   ================================================ */
:root {
  --sand-50: #fbf8f4;
  --sand-100: #f4ede4;
  --sand-200: #e8dbcb;
  --clay: #b98a5c;
  --teak: #6b4526;
  --ink: #241d16;
  --ink-soft: #5c5145;
  --forest: #2f4a3f;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(36, 29, 22, 0.08);
  --shadow-lg: 0 20px 50px rgba(36, 29, 22, 0.14);
  --max: 1180px;
  --serif: "Kanit", "Trirong", "Noto Serif Thai", Georgia, serif;
  --sans: "Kanit", "Noto Sans Thai", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teak); text-decoration: none; }
a:hover { color: var(--clay); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--teak);
  color: var(--sand-100);
  font-size: 14px;
  padding: 8px 0;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; }
.topbar a { color: var(--sand-100); }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 244, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-200);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; max-width: var(--max); margin: 0 auto; }
.brand { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-family: var(--serif); font-size: 1.22rem; color: var(--ink); font-weight: 600; letter-spacing: .5px; }
.brand span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--clay); }
.menu { display: flex; gap: 4px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.menu a { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-soft); }
.menu a:hover { background: var(--sand-100); color: var(--teak); }
.menu a.active { background: var(--teak); color: var(--sand-50); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 400;
  border: 1px solid transparent;
  transition: .25s;
}
.btn-primary { background: var(--teak); color: var(--sand-50); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-ghost { border-color: var(--sand-200); background: var(--white); color: var(--teak); }
.btn-ghost:hover { border-color: var(--clay); }
.btn-light { background: rgba(255,255,255,.92); color: var(--teak); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; color: var(--white); }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(36,29,22,.78) 0%, rgba(36,29,22,.45) 55%, rgba(36,29,22,.15) 100%);
}
.hero .inner { position: relative; z-index: 2; padding: 90px 20px; max-width: 760px; }
.hero h1 { color: var(--white); }
.hero p { color: #f2e9dd; font-size: 1.08rem; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; }
.hero .eyebrow { color: #e8c9a4; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

.page-head { background: var(--sand-100); border-bottom: 1px solid var(--sand-200); padding: 62px 0 54px; }
.page-head p { max-width: 760px; margin-bottom: 0; }

/* ---------- Sections ---------- */
section { padding: 68px 0; }
section.alt { background: var(--sand-100); }
section.dark { background: var(--forest); color: #dfe8e2; }
section.dark h2, section.dark h3 { color: #fff; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 820px; }
.section-title { max-width: 820px; margin-bottom: 34px; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card .body { padding: 22px; }
.card h3 { margin-bottom: .4em; }
.card p { font-size: 15.5px; margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--white); border-radius: var(--radius); padding: 26px 20px; text-align: center; border: 1px solid var(--sand-200); }
.stat b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--teak); }
.stat span { font-size: 14.5px; }

ul.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--clay); font-weight: 600; }

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
ol.steps li { counter-increment: s; position: relative; padding: 20px 22px 20px 74px; background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius); }
ol.steps li::before {
  content: counter(s); position: absolute; left: 22px; top: 20px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--sand-100); color: var(--teak);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600;
}
ol.steps li b { color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { border-radius: 10px; aspect-ratio: 1/1; object-fit: cover; box-shadow: var(--shadow); }

table.info { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--sand-200); }
table.info th, table.info td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--sand-200); vertical-align: top; font-size: 15.5px; }
table.info th { width: 32%; background: var(--sand-100); color: var(--ink); font-weight: 500; }
table.info tr:last-child th, table.info tr:last-child td { border-bottom: 0; }

.faq { background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 6px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-family: var(--serif); color: var(--ink); padding: 14px 0; font-size: 1.03rem; }
.faq p:last-child { margin-bottom: 14px; }

.quote { background: var(--white); border-left: 3px solid var(--clay); border-radius: 10px; padding: 22px 24px; box-shadow: var(--shadow); }
.quote footer { font-size: 14px; color: var(--clay); margin-top: 8px; }

.cta {
  background: var(--teak); color: #f6ece1; border-radius: var(--radius);
  padding: 44px; text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: #ecd9c5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
form.contact { background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
form.contact label { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 6px; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 16px; font-family: inherit; font-size: 15.5px;
  border: 1px solid var(--sand-200); border-radius: 10px; background: var(--sand-50); color: var(--ink);
}
form.contact textarea { min-height: 130px; resize: vertical; }
form.contact button { width: 100%; cursor: pointer; }
.form-note { font-size: 13.5px; margin-top: 12px; }

.map-embed { width: 100%; height: 320px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Legal ---------- */
.legal { max-width: 860px; }
.legal h2 { margin-top: 1.8em; }
.legal h3 { margin-top: 1.4em; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.toc { background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 22px 26px; }
.toc ol { margin: 0; padding-left: 20px; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #c9bfb2; padding: 56px 0 26px; font-size: 15px; }
footer.site h4 { color: #fff; font-size: 1.02rem; margin-bottom: .8em; }
footer.site a { color: #d9cfc2; }
footer.site a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 30px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; text-align: center; font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .g4, .stats { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .g2, .g3, .g4, .stats { grid-template-columns: 1fr; }
  .nav { flex-direction: column; align-items: flex-start; }
  .menu { justify-content: flex-start; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 30px 22px; }
  section { padding: 48px 0; }
}
