/* Lookme Optic — เขียวเข้ม + ทองแชมเปญ + ครีมหินอุ่น (อ้างอิงแบนเนอร์ที่ร้านส่งมา) */
:root {
  --ivory: #F8F4EC;
  --cream: #F3ECDE;
  --stone: #ECE3D2;
  --sand: #E4D9C3;
  --white: #FFFFFF;
  --green: #174C3A;
  --green-deep: #0B3628;
  --green-ink: #0F3B2C;
  --green-soft: #E3ECE5;
  --gold: #C9A96A;
  --gold-light: #E2C994;
  --gold-ink: #7A5E2E;
  --ink: #383632;
  --muted: #625D54;
  --on-green: rgba(248, 244, 236, .86);
  --line-green: #06C755;
  --radius: 18px;
  --radius-sm: 12px;
  --hair: 1px solid rgba(201, 169, 106, .38);
  --shadow: 0 1px 2px rgba(40, 32, 18, .05), 0 10px 28px -14px rgba(40, 32, 18, .22);
  --shadow-up: 0 2px 4px rgba(40, 32, 18, .06), 0 20px 40px -18px rgba(40, 32, 18, .3);
  --font: 'IBM Plex Sans Thai', 'Noto Sans Thai', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: 20px;
  --green-bg: radial-gradient(120% 90% at 0% 0%, #10442F 0%, #0B3628 55%, #072A1F 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--ivory); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.45; margin: 0; font-weight: 700; color: var(--green-ink); text-wrap: balance; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.ic { width: 22px; height: 22px; flex: none; }
.brand-ic { width: 22px; height: 22px; flex: none; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1.3; text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn-line { background: var(--green-deep); color: #fff; box-shadow: 0 8px 20px -10px rgba(7, 42, 31, .6); }
.btn-line .brand-ic, .btn-outline-gold .brand-ic { color: var(--line-green); background: #fff; border-radius: 7px; padding: 2px; width: 26px; height: 26px; }
.btn-line:hover { background: var(--green); }
.btn-cream { background: var(--cream); color: var(--green-ink); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .5); }
.btn-cream:hover { background: #fff; }
.btn-outline-gold { color: var(--ivory); border-color: rgba(226, 201, 148, .55); background: transparent; }
.btn-outline-gold:hover { border-color: var(--gold-light); background: rgba(255, 255, 255, .06); }
.btn-ghost { background: transparent; color: var(--green-ink); border-color: rgba(201, 169, 106, .7); }
.btn-ghost:hover { background: var(--cream); }
.btn-lg { min-height: 56px; padding: 12px 32px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 6px 16px 6px 8px; font-size: 15px; }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px); } }

/* ---------- แถบบน ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(11, 54, 40, .97); backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid rgba(201, 169, 106, .22); }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brandmark { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; margin-right: auto; }
.brandmark img { width: 58px; height: auto; }
.brandmark-name { display: flex; flex-direction: column; font-weight: 600; letter-spacing: .24em; color: var(--ivory); font-size: 16px; line-height: 1.4; }
.brandmark-name small { font-size: 10px; letter-spacing: .55em; color: var(--gold-light); font-weight: 600; }
.nav { display: none; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 999px; color: var(--on-green); }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
@media (min-width: 960px) { .nav { display: flex; } }

/* ---------- แบนเนอร์: รูปปกเต็มกว้างไม่ครอป + แผงเขียวใต้รูป ---------- */
.hero { background: var(--green-deep); color: #fff; }
.cover { width: 100%; background: var(--cream); }
.cover-img { width: 100%; height: 100%; }
.hero-in { position: relative; background: var(--green-bg); border-top: 2px solid var(--gold); padding: 26px 0 30px; }
.hero-in::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: rgba(201, 169, 106, .35); }
.hero-grid { display: grid; gap: 20px; }
.hero h1 { color: #fff; font-size: clamp(28px, 7.6vw, 52px); line-height: 1.4; letter-spacing: -.005em; }
.nw { white-space: nowrap; }
.hero-tag { margin-top: 8px; font-size: 16px; color: var(--on-green); }
.hero-sub { margin-top: 8px; font-size: 16px; line-height: 1.65; max-width: 34em; color: var(--on-green); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-sep { width: 1px; height: 40px; background: rgba(226, 201, 148, .45); }
.hero-call { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: #fff; font-weight: 600; font-size: 19px; text-decoration: none; letter-spacing: .02em; }
.hero-call .ic { width: 26px; height: 26px; }
.hero-call:hover { color: var(--gold-light); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--gold-ink); margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.eyebrow-light { color: var(--gold-light); font-weight: 400; font-size: 15px; }
@media (max-width: 399px) { .hero-cta .btn-lg { padding: 12px 22px; font-size: 16px; } .hero-call { font-size: 17px; } .hero-sep { display: none; } }
@media (min-width: 900px) {
  .hero-in { padding: 40px 0 44px; }
  .hero-grid { grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
  .hero-tag { font-size: 18px; }
}

/* ---------- ส่วนทั่วไป ---------- */
.section { padding: 64px 0; }
.h2 { font-size: clamp(28px, 5.4vw, 44px); }
.sec-head { max-width: 680px; margin-bottom: 28px; }
.sec-head .h2::before { content: ''; display: block; width: 44px; height: 2px; background: var(--gold); margin-bottom: 18px; border-radius: 2px; }
.lead { margin-top: 12px; color: var(--muted); font-size: 17px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); } }
@media (min-width: 768px) { .section { padding: 96px 0; } .sec-head { margin-bottom: 44px; } }

/* จุดเด่น: แถบเขียวต่อจากแบนเนอร์ */
.highlights { background: var(--green-bg); padding: 48px 0 56px; border-top: 1px solid rgba(201, 169, 106, .3); color: var(--on-green); }
.highlights .h2 { font-size: clamp(22px, 4vw, 30px); margin-bottom: 30px; color: var(--ivory); font-weight: 600; }
.hl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
.hl { text-align: center; padding: 0 4px; }
.hl-ic { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; color: var(--gold-light); margin-bottom: 12px; border: 1px solid rgba(226, 201, 148, .55); background: rgba(255, 255, 255, .03); }
.hl-ic .ic { width: 28px; height: 28px; }
.hl h3 { font-size: 17px; line-height: 1.45; color: #fff; }
.hl p { font-size: 15px; color: rgba(248, 244, 236, .75); margin-top: 4px; line-height: 1.6; }
@media (min-width: 768px) {
  .hl-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .hl { padding: 0 24px; }
  .hl + .hl { border-left: 1px solid rgba(201, 169, 106, .25); }
  .hl h3 { font-size: 19px; }
}

/* เกี่ยวกับ */
.about-in { display: grid; gap: 32px; align-items: center; }
.about-media { border-radius: var(--radius); overflow: hidden; max-width: 520px; width: 100%; margin: 0 auto; box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 100%; }
.prose { margin-top: 18px; display: grid; gap: 14px; }
.quote { margin: 28px 0 0; padding: 18px 22px; border-left: 2px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; display: flex; gap: 12px; align-items: flex-start; }
.quote .ic { color: var(--gold-ink); margin-top: 4px; }
.quote p { font-weight: 600; font-size: 19px; color: var(--green-ink); }
@media (min-width: 900px) { .about-in { grid-template-columns: 5fr 6fr; gap: 72px; } .about-media { max-width: none; } }

/* บริการ: พื้นหินอุ่น */
.services { background: var(--stone); }
.sv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sv { overflow: hidden; display: flex; flex-direction: column; }
.sv-media img { width: 100%; height: 100%; }
.sv-body { padding: 14px 14px 18px; display: grid; gap: 6px; align-content: start; flex: 1; border-top: 2px solid var(--gold); }
.sv h3 { font-size: 17px; }
.sv p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.sv .price { margin-top: auto; padding-top: 6px; color: var(--gold-ink); font-weight: 700; font-size: 16px; }
@media (min-width: 640px) { .sv-grid { gap: 20px; } .sv-body { padding: 18px 20px 22px; } .sv h3 { font-size: 19px; } .sv p { font-size: 16px; } }
@media (min-width: 1024px) { .sv-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* แบรนด์ */
.brand-names { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.brand-names li { padding: 8px 20px; border-radius: 999px; background: var(--white); border: var(--hair); font-weight: 600; letter-spacing: .08em; font-size: 15px; color: var(--green-ink); }
.shelf-scroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 8px; }
.shelf-scroll::-webkit-scrollbar { display: none; }
.shelf-row { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; padding: 0 var(--gutter); }
.shelf { scroll-snap-align: center; }
.shelf p { margin-top: 10px; font-weight: 600; font-size: 15px; text-align: center; letter-spacing: .06em; color: var(--green-ink); }
@media (min-width: 640px) { .shelf-row { grid-auto-columns: 34%; gap: 16px; } }
@media (min-width: 1024px) { .shelf-scroll { overflow: visible; } .shelf-row { max-width: 1200px; margin: 0 auto; grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); } }

.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ph { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.ph img { width: 100%; height: 100%; transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .zoom:hover .ph img { transform: scale(1.03); } }

/* โปรโมชั่น: แผงเขียวเหมือนแบนเนอร์ */
.promo { background: var(--green-bg); color: var(--on-green); position: relative; overflow: hidden; }
.promo::after { content: ''; position: absolute; right: -12%; top: -30%; width: 60%; height: 160%; border-left: 1px solid rgba(201, 169, 106, .35); border-radius: 50%; pointer-events: none; }
.promo .h2 { color: #fff; }
.promo-in { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.promo-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px rgba(226, 201, 148, .4), 0 24px 50px -24px rgba(0, 0, 0, .6); }
.promo-media img { width: 100%; height: 100%; }
.promo-text { display: grid; gap: 16px; justify-items: start; }
.promo .btn-line { background: var(--cream); color: var(--green-ink); }
.promo .btn-line:hover { background: #fff; }
.promo .note { font-size: 14px; color: rgba(248, 244, 236, .7); }
@media (min-width: 900px) { .promo-in { grid-template-columns: 7fr 5fr; gap: 56px; } }

/* แกลเลอรี masonry — ไม่ครอป */
.gallery { background: var(--ivory); }
.masonry { columns: 2; column-gap: 10px; }
.m-item { break-inside: avoid; margin-bottom: 14px; }
.cap { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
@media (min-width: 480px) { .masonry { columns: 3; column-gap: 14px; } }
@media (min-width: 1024px) { .masonry { columns: 4; column-gap: 20px; } .m-item { margin-bottom: 22px; } }

.tt { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-sm); overflow: hidden; background: var(--green-deep); }
.tt-play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer; background: none; }
.tt-play img { width: 100%; height: 100%; object-fit: cover; }
.tt-play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 42, 31, .75), rgba(7, 42, 31, 0) 45%); }
.tt-btn { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgba(243, 236, 222, .94); color: var(--green-ink); box-shadow: 0 0 0 1px var(--gold); transition: transform .2s var(--ease); }
.tt-btn .ic { width: 26px; height: 26px; margin-left: 3px; }
.tt-tag { position: absolute; z-index: 1; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: #fff; font-weight: 600; }
.tt-tag .brand-ic { width: 16px; height: 16px; }
.tt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (hover: hover) and (pointer: fine) { .tt-play:hover .tt-btn { transform: scale(1.06); } }

/* รีวิว */
.reviews { background: var(--stone); }
.rv-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.star { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; }
.rv-scroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 20px; }
.rv-scroll::-webkit-scrollbar { display: none; }
.rv-list { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; padding: 0 var(--gutter); }
.rv { scroll-snap-align: center; padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--ivory); box-shadow: var(--shadow); border: var(--hair); }
.rv p { font-size: 16px; }
.rv .rv-name { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(201, 169, 106, .3); font-weight: 600; color: var(--green-ink); display: flex; flex-direction: column; gap: 2px; }
.rv .rv-name span { display: flex; align-items: center; gap: 6px; font-weight: 400; font-size: 14px; color: var(--muted); }
.rv .rv-name .brand-ic { width: 14px; height: 14px; }
.reviews .btn-ghost { margin-top: 12px; }
@media (min-width: 640px) { .rv-list { grid-auto-columns: 46%; } }
@media (min-width: 1024px) { .rv-scroll { overflow: visible; } .rv-list { max-width: 1200px; margin: 0 auto; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ติดต่อ */
.contact { background: var(--ivory); }
.contact .h2::before { content: ''; display: block; width: 44px; height: 2px; background: var(--gold); margin-bottom: 18px; border-radius: 2px; }
.contact-in { display: grid; gap: 32px; }
.contact-info { display: grid; gap: 20px; align-content: start; justify-items: start; }
.contact-info .lead { margin-top: -8px; }
.qr { display: none; align-items: center; gap: 16px; padding: 14px; background: var(--white); border: var(--hair); border-radius: var(--radius-sm); }
.qr img { width: 120px; height: 120px; flex: none; }
.qr p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.qr strong { display: block; color: var(--green-ink); font-size: 16px; }
@media (min-width: 768px) { .qr { display: flex; } }
.info { display: grid; gap: 16px; width: 100%; }
.info li { display: flex; gap: 14px; align-items: flex-start; }
.info > li > .ic { color: var(--gold-ink); margin-top: 4px; }
.info .lbl, .socials .lbl { display: block; font-size: 14px; color: var(--muted); }
.info a { color: var(--green-ink); font-weight: 600; text-decoration: none; font-size: 18px; display: inline-flex; align-items: center; min-height: 44px; }
.info .sub { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }
.socials ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.soc { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border-radius: 999px; background: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; border: var(--hair); }
.soc .brand-ic { width: 20px; height: 20px; }
.soc-facebook .brand-ic { color: #0866FF; }
.soc-tiktok .brand-ic { color: #111; }
.soc-instagram .brand-ic { color: #E4405F; }
.soc-line .brand-ic { color: var(--line-green); }
.map { border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 1 / 1; box-shadow: var(--shadow); border: var(--hair); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 900px) { .contact-in { grid-template-columns: 5fr 6fr; gap: 64px; align-items: stretch; } .map { aspect-ratio: auto; min-height: 520px; } }

/* ท้ายหน้า: เขียวเข้ม + โลโก้ทอง */
.footer { background: var(--green-bg); padding: 52px 0 44px; font-size: 15px; color: rgba(248, 244, 236, .75); border-top: 1px solid rgba(201, 169, 106, .35); }
.footer-in { display: grid; gap: 22px; justify-items: start; }
.footer-logo { width: 150px; height: auto; }
.footer-name { font-weight: 600; color: var(--ivory); }
.footer p + p { margin-top: 4px; }
.footer a { color: var(--gold-light); display: inline-block; padding: 10px 0; margin: -10px 0; }
.copy { margin-top: 12px !important; font-size: 14px; }
@media (min-width: 768px) { .footer-in { grid-template-columns: auto 1fr; gap: 44px; align-items: center; } }

/* ปุ่มลอยล่างจอ (มือถือ) */
.dock { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(11, 54, 40, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(201, 169, 106, .35); }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; }
.dock-line { background: var(--cream); color: var(--green-ink); }
.dock-line .brand-ic { color: var(--line-green); width: 24px; height: 24px; }
.dock-call { color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(226, 201, 148, .55); }
body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { .dock { display: none; } body { padding-bottom: 0; } }

/* ดูรูปขยาย */
.lightbox { border: 0; padding: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: rgba(7, 32, 24, .95); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(7, 32, 24, .6); }
.lightbox figure { display: grid; gap: 10px; justify-items: center; padding: 56px 12px 24px; }
.lightbox img { max-width: min(92vw, 1100px); max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 8px; }
.lightbox figcaption { font-size: 15px; color: rgba(255, 255, 255, .85); text-align: center; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .26); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }

/* อนิเมชัน: ปรากฏตอนเลื่อนถึง เล่นครั้งเดียว */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-img { transform: none !important; }
}
