/* ============================================================
   Season House — Landing Page styles
   Mobile-first • ฟอนต์ Prompt • โทนสุขภาพ/ผลไม้
============================================================ */

:root {
  --green:        #3f7d4e;   /* เขียวใบไม้ (แบรนด์/สุขภาพ) */
  --green-dark:   #2f5f3c;
  --green-soft:   #eaf4ec;
  --berry:        #d6537a;   /* ชมพูผลไม้ (CTA รอง/เน้น) */
  --cream:        #fffdf8;
  --tint:         #f6f3ec;
  --ink:          #25302a;
  --muted:        #5f6b62;
  --line:         #e6e2d8;
  --white:        #ffffff;
  --shadow:       0 8px 28px rgba(31, 60, 38, .10);
  --shadow-sm:    0 3px 12px rgba(31, 60, 38, .08);
  --radius:       16px;
  --maxw:         1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Prompt', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3 { font-weight: 600; line-height: 1.25; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font-family: inherit; font-weight: 500; font-size: 1.02rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s;
  text-align: center; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }

.btn-primary { background: var(--berry); color: #fff; box-shadow: 0 6px 18px rgba(214,83,122,.35); }
.btn-primary:hover { background: #c2426a; }

.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-outline:hover { background: var(--green-soft); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,248,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.brand-logo { font-size: 1.5rem; }
.brand-name { font-size: 1.18rem; color: var(--green-dark); letter-spacing: .3px; }
.nav-desktop { display: none; gap: 22px; margin-left: auto; }
.nav-desktop a { color: var(--muted); font-size: .98rem; }
.nav-desktop a:hover { color: var(--green-dark); }
.header-inner .btn { margin-left: auto; }
.nav-desktop + .btn { margin-left: 0; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--green-soft) 0%, var(--cream) 100%); padding: 38px 0 30px; }
.hero-grid { display: grid; gap: 28px; }
.eyebrow { color: var(--green); font-weight: 500; letter-spacing: .5px; margin-bottom: 10px; font-size: .95rem; }
.hero h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -.3px; }
.hero h1 .hl { color: var(--berry); }
.lede { color: var(--muted); font-size: 1.06rem; margin-bottom: 24px; }
.lede strong { color: var(--ink); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta.center { justify-content: center; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-trust.center { justify-content: center; }
.hero-trust li { background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: .9rem; padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm); }

.hero-media { position: relative; }
.hero-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--green); color: #fff; font-weight: 600; font-size: .85rem;
  padding: 8px 14px; border-radius: 999px; transform: rotate(6deg); box-shadow: var(--shadow-sm);
}

/* ---------- Image placeholders (แทนด้วยรูปจริงภายหลัง) ---------- */
.img-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(45deg, #f0ece1, #f0ece1 12px, #ece7da 12px, #ece7da 24px);
  color: #a99; font-size: .85rem; border-radius: var(--radius); min-height: 220px;
  border: 1px dashed #cfc7b4;
}
.hero-img { aspect-ratio: 4/3; }
.menu-img { min-height: 200px; aspect-ratio: 4/3; }

/* ---------- Trust badges row ---------- */
.badges { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.badges-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 20px 20px; }
.badge-item { text-align: center; }
.badge-item span { font-size: 1.5rem; display: block; }
.badge-item p { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-tint { background: var(--tint); }
.section-title { font-size: 1.7rem; text-align: center; color: var(--green-dark); }
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--muted); margin: 8px 0 30px; }

/* ---------- 3 cards ---------- */
.cards-3 { display: grid; gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.card-icon { font-size: 2rem; margin-bottom: 10px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Menu ---------- */
.menu-grid { display: grid; gap: 20px; }
.menu-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.menu-body { padding: 18px 20px 22px; }
.menu-body h3 { font-size: 1.18rem; margin-bottom: 6px; }
.menu-body p { color: var(--muted); font-size: .95rem; min-height: 48px; }
.menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.price { font-weight: 600; color: #b83a60; font-size: .92rem; }
.menu-note { text-align: center; color: var(--muted); margin-top: 24px; font-size: .96rem; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; gap: 16px; }
.review { background: var(--white); border-left: 4px solid var(--berry); border-radius: 10px; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.review p { font-size: 1.02rem; }
.review cite { display: block; margin-top: 10px; color: var(--muted); font-style: normal; font-size: .9rem; }
.reviews-note { text-align: center; color: #9a9; font-size: .82rem; margin-top: 18px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; position: relative; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 600; margin-bottom: 10px; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }
.care-box { margin-top: 26px; background: var(--green-soft); border: 1px solid #cfe3d4; border-radius: 12px; padding: 16px 20px; color: var(--green-dark); font-size: .95rem; }

/* ---------- Location / map ---------- */
.loc-grid { display: grid; gap: 26px; }
.loc-info p { margin-bottom: 8px; color: var(--ink); }
.loc-info p strong { font-weight: 500; }
.loc-info .btn { margin-top: 14px; }
.loc-info a:not(.btn) { color: var(--green-dark); text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 4px 6px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 18px; color: var(--muted); font-size: .96rem; }

/* ---------- Final CTA ---------- */
.cta-final { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; text-align: center; padding: 48px 0; }
.cta-final h2 { font-size: 1.7rem; margin-bottom: 8px; }
.cta-final p { opacity: .92; margin-bottom: 22px; }
.cta-final .hero-trust { margin: 0 0 22px; }
.cta-final .hero-trust li { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; box-shadow: none; }

/* ---------- Footer ---------- */
.site-footer { background: #20281f; color: #cdd6cc; padding: 36px 0 96px; font-size: .92rem; }
.footer-inner { display: grid; gap: 18px; }
.site-footer .brand-name { color: #fff; }
.site-footer p { color: #9fab9d; margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.copyright { color: #76836f; font-size: .82rem; }

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,253,248,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(31,60,38,.10);
}
.sticky-btn { flex: 1; text-align: center; padding: 15px; border-radius: 12px; font-weight: 600; font-size: 1.05rem; min-height: 52px; }
.sticky-btn.call { background: var(--green-soft); color: var(--green-dark); border: 1.5px solid var(--green); flex: 0 0 28%; }
.sticky-btn.chat { background: var(--berry); color: #fff; box-shadow: 0 4px 14px rgba(214,83,122,.40); }

/* ============================================================
   Tablet / Desktop
============================================================ */
@media (min-width: 760px) {
  .badges-row { grid-template-columns: repeat(6, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-links { justify-content: flex-end; }
  .copyright { grid-column: 1 / -1; }
  .section-title { font-size: 1.95rem; }
}

@media (min-width: 940px) {
  .nav-desktop { display: flex; }
  .hero { padding: 60px 0 50px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
  .hero h1 { font-size: 2.7rem; }
  .loc-grid { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .sticky-cta { display: none; }            /* ซ่อน sticky bar บนจอใหญ่ */
  .site-footer { padding-bottom: 36px; }
}

/* ---------- Accessibility / motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
