/* Nutri Home Fit: aubergine + fresh lime + oat. Quicksand headings, Sarabun body. */
:root {
  --plum: #3d2347;
  --plum-2: #563464;
  --plum-soft: #efe8f1;
  --lime: #c6dc52;
  --lime-deep: #5f7710;
  --oat: #f6f1e9;
  --ink: #261c2b;
  --muted: #675d6c;
  --line: #e7dfd5;
  --white: #fff;
  --r-lg: 28px;
  --r-md: 18px;
  --shadow: 0 18px 40px -22px rgba(61, 35, 71, .35);
}

html { scroll-behavior: smooth; }
body {
  font-family: "Sarabun", system-ui, sans-serif;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}
h1, h2, h3, h4, .brand { font-family: "Quicksand", system-ui, sans-serif; font-weight: 700; color: var(--plum); letter-spacing: -.01em; }
a { color: var(--plum-2); }
a:hover { color: var(--lime-deep); }
img { max-width: 100%; height: auto; }
p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn-lime, .btn-plum, .btn-ghost, .btn-line {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .78rem 1.5rem; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 2px solid transparent; transition: all .2s ease; line-height: 1.2;
  font-family: "Quicksand", sans-serif;
}
.btn-lime { background: var(--lime); color: var(--plum); }
.btn-lime:hover { background: var(--plum); color: var(--lime); }
.btn-plum { background: var(--plum); color: var(--white); }
.btn-plum:hover { background: var(--lime); color: var(--plum); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--plum); }
.btn-line { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-line:hover { background: var(--plum); color: var(--white); }
button.btn-plum, button.btn-lime { cursor: pointer; }

/* ---------- Header ---------- */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-nav .navbar { padding: .9rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.45rem; text-decoration: none; color: var(--plum); white-space: nowrap; }
.brand:hover { color: var(--plum); }
.brand .leaf { width: 2.3rem; height: 2.3rem; border-radius: 50% 50% 50% 8px; background: var(--plum); color: var(--lime); display: grid; place-items: center; font-size: 1.1rem; }
.brand b { font-weight: 700; color: var(--lime-deep); }
.site-nav .nav-link { font-weight: 600; color: var(--ink); padding: .4rem .95rem !important; border-radius: 999px; font-family: "Quicksand", sans-serif; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--plum); background: var(--plum-soft); }
.navbar-toggler { border: 0; color: var(--plum); }
.navbar-toggler:focus { box-shadow: none; }
.nav-call { color: var(--plum); font-weight: 700; text-decoration: none; margin-right: 1rem; white-space: nowrap; }
.nav-call i { color: var(--lime-deep); margin-right: .35rem; }

/* ---------- Common ---------- */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.bg-oat { background: var(--oat); }
.bg-plum { background: var(--plum); }
.bg-plum h2, .bg-plum h3 { color: var(--white); }
.bg-plum p { color: rgba(255, 255, 255, .78); }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-family: "Quicksand", sans-serif; font-weight: 700; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-deep); margin-bottom: .9rem; }
.kicker::before { content: ""; width: 1.6rem; height: 3px; border-radius: 3px; background: var(--lime); }
.bg-plum .kicker, .on-dark .kicker { color: var(--lime); }
.title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.18; margin-bottom: 1.1rem; }
.lede { font-size: 1.12rem; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Hero ---------- */
.hero { background: var(--oat); padding: 4.5rem 0 5.5rem; overflow: hidden; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.08; margin-bottom: 1.3rem; }
.hero h1 span { color: var(--lime-deep); }
.hero .lede { max-width: 33rem; margin-bottom: 2rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.hero-tags span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1rem; font-weight: 600; font-size: .95rem; color: var(--plum); }
.hero-tags i { color: var(--lime-deep); margin-right: .35rem; }
.hero-art { position: relative; max-width: 500px; margin-left: auto; }
.hero-art .main { width: 100%; aspect-ratio: 27 / 25; object-fit: cover; border-radius: 220px 220px var(--r-lg) var(--r-lg); box-shadow: var(--shadow); }
.hero-art .inset { position: absolute; left: -2.5rem; bottom: -2rem; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--white); box-shadow: var(--shadow); }
.hero-art .note { position: absolute; right: -1rem; top: 2.2rem; background: var(--plum); color: var(--white); border-radius: var(--r-md); padding: .9rem 1.1rem; max-width: 13rem; font-size: .95rem; line-height: 1.4; box-shadow: var(--shadow); }
.hero-art .note i { color: var(--lime); font-size: 1.3rem; display: block; margin-bottom: .3rem; }

/* Eat / Move / Rest ribbon */
.ribbon { background: var(--plum); color: var(--white); }
.ribbon .item { display: flex; gap: 1rem; align-items: flex-start; padding: 2.2rem 1.5rem; border-right: 1px solid rgba(255, 255, 255, .12); height: 100%; }
.ribbon .col-md-4:last-child .item { border-right: 0; }
.ribbon i { font-size: 1.8rem; color: var(--lime); line-height: 1; }
.ribbon h3 { color: var(--white); font-size: 1.2rem; margin: 0 0 .25rem; }
.ribbon p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .98rem; }

/* ---------- About ---------- */
.about-photo { position: relative; padding: 0 2rem 2rem 0; }
.about-photo::after { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; background: var(--lime); border-radius: var(--r-lg); z-index: 0; }
.about-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 28 / 31; object-fit: cover; border-radius: var(--r-lg); }
.pill-tabs { gap: .5rem; margin: 1.5rem 0 1.2rem; }
.pill-tabs .nav-link { border-radius: 999px; background: var(--oat); color: var(--plum); font-weight: 600; font-family: "Quicksand", sans-serif; padding: .5rem 1.1rem; }
.pill-tabs .nav-link.active { background: var(--plum); color: var(--white); }
.tab-pane ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.tab-pane li { display: flex; gap: .6rem; margin-bottom: .55rem; color: var(--ink); }
.tab-pane li i { color: var(--lime-deep); }

/* ---------- Why us ---------- */
.why-banner { width: 100%; aspect-ratio: 9 / 4; max-height: 420px; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 3.5rem; }
.why-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-md); padding: 1.8rem; height: 100%; transition: background .2s ease; }
.why-card:hover { background: rgba(255, 255, 255, .1); }
.why-card i { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--lime); color: var(--plum); font-size: 1.3rem; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.2rem; }
.why-card p { margin: 0; }

/* ---------- Services ---------- */
.svc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc .ph { position: relative; }
.svc .ph img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; display: block; }
.svc .ic { position: absolute; left: 1.2rem; bottom: -1.4rem; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--plum); color: var(--lime); display: grid; place-items: center; font-size: 1.2rem; border: 4px solid var(--white); }
.svc .bd { padding: 2.1rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.svc h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.svc p { font-size: .98rem; flex: 1; }
.svc .go { font-family: "Quicksand", sans-serif; font-weight: 700; color: var(--plum); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.svc .go i { transition: transform .2s ease; }
.svc .go:hover { color: var(--lime-deep); }
.svc .go:hover i { transform: translateX(4px); }
.svc.wide { flex-direction: row; }
.svc.wide .ph { flex: 0 0 46%; }
.svc.wide .ph img { height: 100%; aspect-ratio: auto; min-height: 260px; }
.svc.wide .ic { left: auto; right: -1.45rem; bottom: 1.4rem; }
.svc.wide .bd { padding: 2rem 1.8rem 1.8rem 2.4rem; }
.svc.wide h3 { font-size: 1.4rem; }
.svc .flag { display: inline-block; align-self: flex-start; background: var(--plum-soft); color: var(--plum); font-size: .8rem; font-weight: 700; border-radius: 999px; padding: .2rem .7rem; margin-bottom: .7rem; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 575.98px) {
  .svc.wide { flex-direction: column; }
  .svc.wide .ph img { min-height: 0; aspect-ratio: 7 / 5; }
  .svc.wide .ic { right: auto; left: 1.2rem; bottom: -1.4rem; }
  .svc.wide .bd { padding: 2.1rem 1.3rem 1.4rem; }
}

/* ---------- Testimonials (scroll row) ---------- */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 31%); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
.quote { scroll-snap-align: start; background: var(--white); border-radius: var(--r-md); padding: 2rem; border-top: 5px solid var(--lime); margin: 0; display: flex; flex-direction: column; }
.quote .bi-quote { font-size: 2.4rem; color: var(--plum); line-height: 1; }
.quote blockquote { color: var(--ink); font-size: 1.05rem; margin: .6rem 0 1.4rem; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; }
.quote .av { width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--plum-soft); color: var(--plum); display: grid; place-items: center; font-weight: 700; font-family: "Quicksand", sans-serif; }
.quote strong { display: block; color: var(--plum); font-family: "Quicksand", sans-serif; }
.quote small { color: var(--muted); }
.q-nav { display: flex; gap: .6rem; }
.q-nav button { width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid var(--plum); background: transparent; color: var(--plum); font-size: 1.1rem; }
.q-nav button:hover { background: var(--plum); color: var(--white); }
@media (max-width: 767.98px) { .quotes { grid-auto-columns: 86%; } }

/* ---------- Blog list ---------- */
.post-row { display: flex; gap: 2rem; align-items: center; padding: 1.8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-row:first-child { border-top: 1px solid var(--line); }
.post-row img { flex: 0 0 15rem; width: 15rem; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--r-md); transition: transform .3s ease; }
.post-row:hover img { transform: scale(1.03); }
.post-row .tag { font-size: .82rem; font-weight: 700; color: var(--lime-deep); text-transform: uppercase; letter-spacing: .1em; }
.post-row h3 { font-size: 1.4rem; margin: .3rem 0 .5rem; }
.post-row p { margin: 0; }
.post-row .arrow { margin-left: auto; flex: 0 0 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--oat); color: var(--plum); display: grid; place-items: center; font-size: 1.2rem; transition: all .2s ease; }
.post-row:hover .arrow { background: var(--lime); }
@media (max-width: 767.98px) {
  .post-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .post-row img { width: 100%; flex-basis: auto; }
  .post-row .arrow { display: none; }
}

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 0; background: var(--white); border-radius: var(--r-md) !important; margin-bottom: .9rem; overflow: hidden; }
.faq .accordion-button { font-family: "Quicksand", sans-serif; font-weight: 700; color: var(--plum); font-size: 1.08rem; padding: 1.2rem 1.5rem; background: var(--white); box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--plum); background: var(--white); }
.faq .accordion-button::after { background-image: none; content: "\F4FE"; font-family: "bootstrap-icons"; font-size: 1.3rem; width: auto; height: auto; transform: none; color: var(--lime-deep); }
.faq .accordion-button:not(.collapsed)::after { content: "\F2EA"; transform: none; }
.faq .accordion-body { padding: 0 1.5rem 1.4rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-box { background: var(--plum); border-radius: var(--r-lg); overflow: hidden; }
.cta-box .txt { padding: 3.5rem; }
.cta-box h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-box p { color: rgba(255, 255, 255, .78); }
.cta-box img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.cta-box .tel { color: var(--lime); font-weight: 700; font-family: "Quicksand", sans-serif; text-decoration: none; }
@media (max-width: 575.98px) { .cta-box .txt { padding: 2.2rem 1.5rem; } }

/* ---------- Page top ---------- */
.page-top { background: var(--oat); padding: 3.5rem 0; }
.page-top h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: .8rem; }
.page-top .pic { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 110px; }
.crumbs { font-size: .92rem; margin-bottom: 1rem; color: var(--muted); }
.crumbs a { color: var(--plum); text-decoration: none; font-weight: 600; }
.crumbs i { margin: 0 .4rem; font-size: .75rem; }

/* About page */
.value { background: var(--white); border-radius: var(--r-md); padding: 1.8rem; height: 100%; border: 1px solid var(--line); }
.value i { font-size: 1.7rem; color: var(--lime-deep); }
.value h3 { font-size: 1.15rem; margin: .7rem 0 .4rem; }
.value p { margin: 0; }
.stack { display: grid; gap: 1rem; }
.stack .card-l { display: flex; gap: 1rem; background: var(--oat); border-radius: var(--r-md); padding: 1.3rem 1.4rem; }
.stack .card-l i { font-size: 1.5rem; color: var(--plum); }
.stack .card-l h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.stack .card-l p { margin: 0; }
.belief { border-left: 4px solid var(--lime); padding: .3rem 0 .3rem 1.2rem; margin-top: 1.3rem; }
.belief strong { display: block; color: var(--plum); font-family: "Quicksand", sans-serif; }

/* Blog page */
.blog-card { background: var(--white); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; }
.blog-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.blog-card .bd { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card .tag { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--lime-deep); }
.blog-card h2 { font-size: 1.28rem; margin: .4rem 0 .6rem; line-height: 1.3; }
.blog-card h2 a { color: var(--plum); text-decoration: none; }
.blog-card p { flex: 1; }
.blog-card .go { font-weight: 700; text-decoration: none; color: var(--plum); font-family: "Quicksand", sans-serif; }

/* Article */
.article-head { background: var(--oat); padding: 3.5rem 0 0; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.15; max-width: 52rem; }
.article-head .meta { display: flex; flex-wrap: wrap; gap: 1.4rem; color: var(--muted); margin: 1rem 0 2rem; }
.article-head .meta i { color: var(--lime-deep); margin-right: .35rem; }
.article-head .cover { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) 0 0; display: block; }
.article h2 { font-size: 1.55rem; margin: 2.2rem 0 .8rem; }
.article p, .article li { color: #4a4050; }
.article ul { padding-left: 1.2rem; }
.article li { margin-bottom: .45rem; }
.article li::marker { color: var(--lime-deep); }
.article .tip { background: var(--plum-soft); border-radius: var(--r-md); padding: 1.3rem 1.5rem; margin: 1.8rem 0; color: var(--ink); }
.article .tip strong { color: var(--plum); }
.aside { background: var(--oat); border-radius: var(--r-md); padding: 1.6rem; margin-bottom: 1.5rem; }
.aside.dark { background: var(--plum); }
.aside.dark h3 { color: var(--white); }
.aside.dark p { color: rgba(255, 255, 255, .78); }
.aside h3 { font-size: 1.2rem; }
.aside .rel { display: flex; gap: .9rem; align-items: center; text-decoration: none; color: var(--plum); font-weight: 600; font-family: "Quicksand", sans-serif; padding: .7rem 0; border-top: 1px solid var(--line); line-height: 1.35; }
.aside .rel img { width: 4.6rem; height: 3.6rem; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }

/* Contact */
.reach { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 0; border-bottom: 1px dashed var(--line); }
.reach i { flex: 0 0 3rem; height: 3rem; border-radius: 50%; background: var(--lime); color: var(--plum); display: grid; place-items: center; font-size: 1.2rem; }
.reach h3 { font-size: 1.05rem; margin: 0 0 .15rem; }
.reach p, .reach a { margin: 0; color: var(--ink); text-decoration: none; }
.form-wrap { background: var(--oat); border-radius: var(--r-lg); padding: 2.6rem; }
.form-wrap h2 { font-size: 1.7rem; }
.form-label { font-weight: 600; color: var(--plum); font-size: .95rem; }
.form-control, .form-select { border-radius: 14px; border: 1px solid var(--line); padding: .75rem 1rem; background-color: var(--white); }
.form-control:focus, .form-select:focus { border-color: var(--plum-2); box-shadow: 0 0 0 .2rem rgba(86, 52, 100, .15); }
.form-check-input:checked { background-color: var(--plum); border-color: var(--plum); }
.form-success { display: none; margin-top: 1.2rem; background: var(--white); border-left: 4px solid var(--lime); border-radius: 12px; padding: 1rem 1.2rem; color: var(--plum); font-weight: 600; }
.form-success.show { display: block; }
.map { border-radius: var(--r-lg); overflow: hidden; height: 380px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 575.98px) { .form-wrap { padding: 1.6rem 1.2rem; } }

/* Legal + newsletter */
.legal { max-width: 50rem; margin: 0 auto; }
.legal h2 { font-size: 1.4rem; margin: 2rem 0 .7rem; }
.legal p, .legal li { color: #4a4050; }
.perk { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.perk i { flex: 0 0 2.8rem; height: 2.8rem; border-radius: 14px; background: var(--plum); color: var(--lime); display: grid; place-items: center; font-size: 1.15rem; }
.perk h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.perk p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 5rem 0 2rem; }
.site-footer .brand { color: var(--white); }
.site-footer .brand b { color: var(--lime); }
.site-footer p { color: rgba(255, 255, 255, .65); }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer .contact-line i { color: var(--lime); margin-right: .55rem; }
.news-box { background: rgba(255, 255, 255, .06); border-radius: var(--r-md); padding: 1.5rem; }
.news-box h4 { margin-bottom: .4rem; }
.news-box .d-flex a { font-size: .95rem; padding: .6rem 1.2rem; }
.news-box .btn-ghost { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3.5rem; padding-top: 1.6rem; font-size: .93rem; }

@media (max-width: 991.98px) {
  .section { padding: 4.5rem 0; }
  .hero { padding: 3rem 0 4.5rem; }
  .hero-art { margin: 3rem auto 0; max-width: 440px; }
  .hero-art .inset { left: -.5rem; }
  .hero-art .note { right: -.3rem; }
  .ribbon .item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 1.6rem .5rem; }
  .ribbon .col-md-4:last-child .item { border-bottom: 0; }
  .nav-call { display: none; }
  .site-nav .navbar-collapse { padding: 1rem 0; }
  .site-nav .btn-lime { margin-top: .6rem; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .ribbon .item { border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, .12); padding: 1.8rem 1rem; }
}
@media (max-width: 575.98px) {
  .g-5, .gx-5 { --bs-gutter-x: 1.5rem; }
}
