:root {
  --blue: #0d2b5c;
  --blue-2: #17447f;
  --gold: #c59a34;
  --gold-soft: #f5e6bd;
  --ink: #162033;
  --muted: #667085;
  --line: #e8edf5;
  --bg: #f8fbff;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Tahoma", "Noto Sans Thai", system-ui, sans-serif; color: var(--ink); background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); line-height: 1.75; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { color: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px clamp(18px, 4vw, 56px); background: rgba(255,255,255,.93); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); font-weight: 800; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
nav { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; font-size: 14px; }
main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: clamp(26px, 5vw, 62px); align-items: center; min-height: calc(100vh - 78px); padding: clamp(34px, 7vw, 92px) 0; }
.index-hero { min-height: 76vh; }
.eyebrow { margin: 0 0 10px; color: var(--gold); font-weight: 800; letter-spacing: 0; text-transform: uppercase; font-size: 13px; }
h1, h2, h3 { color: var(--blue); line-height: 1.25; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(32px, 5vw, 58px); }
h2 { margin: 0 0 14px; font-size: clamp(24px, 3vw, 34px); }
.lead { margin: 20px 0 0; font-size: clamp(17px, 2vw, 21px); color: #344054; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 8px; font-weight: 800; border: 1px solid transparent; }
.btn.primary { background: var(--blue); color: white; box-shadow: 0 10px 24px rgba(13,43,92,.18); }
.btn.ghost { border-color: var(--gold); color: var(--blue); background: #fffaf0; }
.btn.call { background: var(--gold); color: var(--blue); box-shadow: 0 12px 26px rgba(197,154,52,.24); }
.btn.line { background: #06c755; color: white; box-shadow: 0 12px 26px rgba(6,199,85,.18); }
figure { margin: 0; }
figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 22px 60px rgba(13,43,92,.16); border: 1px solid rgba(197,154,52,.35); }
figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
.blessing-strip, .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 0 44px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.blessing-strip span, .stats div { padding: 18px; text-align: center; background: white; color: var(--blue); font-weight: 800; }
.stats b { display: block; color: var(--gold); font-size: 34px; line-height: 1; }
.stats span { color: var(--muted); font-weight: 700; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; margin: 44px 0; }
article, .info-card, .calculator, .faq, .related, .index-section, .work-gallery, .review-section, .map-section { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 12px 34px rgba(13,43,92,.06); }
.check-list { padding: 0; margin: 18px 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; margin: 10px 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.area-tags span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fbfdff; color: var(--blue); font-weight: 700; font-size: 14px; }
.calculator, .faq, .related, .index-section, .work-gallery, .review-section, .map-section, .final-cta { margin: 28px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gallery-card, .review-card { display: block; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: #fbfdff; color: var(--blue); }
.gallery-card img, .review-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s ease; }
.gallery-card span { display: block; padding: 9px 10px; font-size: 13px; font-weight: 800; }
.gallery-card:hover img, .review-card:hover img { transform: scale(1.03); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.map-frame { overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: #eef5ff; }
.map-frame iframe { display: block; width: 100%; height: min(460px, 64vh); border: 0; }
.final-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: clamp(24px, 4vw, 38px); border: 1px solid rgba(197,154,52,.45); border-radius: 8px; background: linear-gradient(135deg, #ffffff 0%, #fff8e6 54%, #eef5ff 100%); box-shadow: 0 18px 44px rgba(13,43,92,.1); }
.final-cta h2 { margin-bottom: 8px; }
.final-cta p:not(.eyebrow) { margin: 0; color: #344054; }
.final-cta .hero-actions { margin-top: 0; justify-content: flex-end; }
.section-title { margin-bottom: 18px; }
.calc-row { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)) repeat(3, minmax(120px, .75fr)); gap: 12px; align-items: end; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 800; }
input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; color: var(--blue); background: #fff; }
output { min-height: 62px; display: grid; align-content: center; padding: 10px; border-radius: 8px; background: linear-gradient(180deg, #fff8e6, #ffffff); border: 1px solid var(--gold-soft); }
output b { color: var(--blue); font-size: 22px; line-height: 1.1; }
output small, .note { color: var(--muted); }
details { border-top: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 800; color: var(--blue); }
.link-grid, .index-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.link-grid a, .index-list a { display: flex; gap: 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; color: var(--ink); }
.index-list a strong { color: var(--gold); min-width: 42px; }
.index-section h2 { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.index-section h2 span { color: var(--gold); font-size: 15px; }
footer { width: min(1180px, calc(100% - 32px)); margin: 42px auto 0; padding: 28px 0 42px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; color: var(--muted); }
footer img { width: 42px; height: 42px; object-fit: contain; }
@media (max-width: 980px) {
  .hero, .content-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .final-cta { grid-template-columns: 1fr; }
  .final-cta .hero-actions { justify-content: flex-start; }
  .calc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blessing-strip, .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .site-header { position: static; align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
  h1 { font-size: 31px; }
  .calc-row, .link-grid, .index-list, .blessing-strip, .stats { grid-template-columns: 1fr; }
  .gallery-grid, .review-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}
