/* Core Nutri Fit — main stylesheet */
:root {
  --emerald: #047857;
  --emerald-dark: #065F46;
  --violet: #6D28D9;
  --violet-dark: #5B21B6;
  --ink: #111827;
  --light: #F5F7F4;
  --mintbg: #ECFDF5;
  --lilac: #F3EEFF;
  --text: #374151;
  --muted: #6B7280;
  --line: #E5E7EB;
}
html, body { overflow-x: hidden; }
body { font-family: "Manrope", Arial, sans-serif; color: var(--text); line-height: 1.75; background: #fff; }
h1, h2, h3, h4, h5 { font-family: "Outfit", Arial, sans-serif; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
a { color: var(--emerald); text-decoration: none; }
a:hover { color: var(--violet); }
img { max-width: 100%; }

/* Buttons */
.btn { border-radius: 14px; font-weight: 700; padding: .72rem 1.6rem; }
.btn-sm { padding: .45rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: .9rem 2rem; }
.btn-emerald { background: var(--emerald); color: #fff; border: 2px solid var(--emerald); }
.btn-emerald:hover { background: var(--emerald-dark); border-color: var(--emerald-dark); color: #fff; }
.btn-violet { background: var(--violet); color: #fff; border: 2px solid var(--violet); }
.btn-violet:hover { background: var(--violet-dark); border-color: var(--violet-dark); color: #fff; }
.btn-line { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light-cta { background: #fff; color: var(--violet); border: 2px solid #fff; }
.btn-light-cta:hover { background: var(--mintbg); color: var(--emerald-dark); }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--line); }
.site-header .navbar { padding: .85rem 0; }
.navbar-brand { padding: 0; margin: 0; display: flex; align-items: center; }
.navbar-brand img { height: 44px; width: auto; display: block; }
.site-header .nav-link { color: var(--ink); font-weight: 700; padding: .5rem .95rem !important; position: relative; }
.site-header .nav-link::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); transform: translateX(-50%) scale(0); transition: transform .2s; }
.site-header .nav-link.active, .site-header .nav-link:hover { color: var(--emerald); }
.site-header .nav-link.active::after { transform: translateX(-50%) scale(1); }
.navbar-toggler { border: 0; font-size: 1.6rem; color: var(--emerald); padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* Common */
.section { padding: 92px 0; }
.light { background: var(--light); }
.label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: .8rem; }
.label::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--emerald); }
.label.light { color: #D8C8FF; background: none; }
.label.light::before { background: #6EE7B7; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.7rem); line-height: 1.15; margin-bottom: 1rem; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 3.2rem; }
.sec-head.left { text-align: left; margin: 0 0 1.6rem; }
.sec-head p { color: var(--muted); margin: 0; }
.img-main { width: 100%; border-radius: 22px; object-fit: cover; aspect-ratio: 4 / 3; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.check-list li { display: flex; gap: .7rem; align-items: center; margin-bottom: .65rem; font-weight: 600; }
.check-list i { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px; background: var(--mintbg); color: var(--emerald); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }

/* Hero bento */
.hero { padding: 40px 0 70px; background: linear-gradient(180deg, var(--light), #fff); }
.bento { display: grid; grid-template-columns: 1.25fr 1fr .7fr; grid-template-rows: 1fr 1fr; gap: 18px; min-height: 560px; }
.bento > div { border-radius: 26px; overflow: hidden; }
.bento img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b-text { grid-row: 1 / 3; background: #fff; border: 1px solid var(--line); padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.b-text h1 { font-size: clamp(2.4rem, 4.4vw, 3.7rem); line-height: 1.06; margin-bottom: 1.2rem; }
.b-text h1 span { background: linear-gradient(90deg, var(--emerald), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b-text p { color: var(--muted); font-size: 1.07rem; margin-bottom: 1.8rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .9rem; }
.b-main { grid-row: 1 / 3; }
.b-sm.one { background: var(--mintbg); }
.b-sm.two { background: var(--lilac); }
.b-tag { display: none; }
.bento { position: relative; }
.bento .b-tag { display: flex; position: absolute; left: calc(55.5% - 20px); bottom: 26px; align-items: center; gap: .6rem; background: var(--violet); color: #fff; font-weight: 700; padding: .7rem 1.1rem; border-radius: 14px; box-shadow: 0 14px 30px rgba(109,40,217,.3); overflow: visible; }
.b-tag i { font-size: 1.2rem; }

/* About */
.about-stack { position: relative; padding-bottom: 60px; }
.about-stack .s1 { width: 80%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; display: block; }
.about-stack .s2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 24px; border: 8px solid #fff; box-shadow: 0 20px 40px rgba(17,24,39,.15); }
.value-box { background: #fff; border-radius: 22px; padding: 2.2rem 1.8rem; height: 100%; border: 1px solid var(--line); }
.value-box i { font-size: 1.6rem; width: 58px; height: 58px; border-radius: 16px; background: var(--emerald); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.value-box.v i { background: var(--violet); }
.value-box h4 { margin: 1rem 0 .5rem; }
.value-box p { margin: 0; color: var(--muted); }

/* Why */
.why { background: var(--mintbg); }
.why-card { background: #fff; border-radius: 22px; padding: 1.9rem; height: 100%; transition: transform .25s, box-shadow .25s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(4,120,87,.12); }
.why-card span { width: 54px; height: 54px; border-radius: 16px; background: var(--lilac); color: var(--violet); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }
.why-card h4 { font-size: 1.18rem; margin-bottom: .35rem; }
.why-card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Services */
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc-card:hover { transform: translateY(-5px); border-color: var(--emerald); box-shadow: 0 18px 38px rgba(17,24,39,.1); }
.svc-img { padding: 10px 10px 0; }
.svc-img img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; display: block; }
.svc-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.svc-top { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.svc-icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: var(--mintbg); color: var(--emerald); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.svc-body h3 { font-size: 1.1rem; margin: 0; line-height: 1.3; }
.svc-body p { color: var(--muted); font-size: .93rem; flex: 1; }
.svc-btn { font-weight: 700; color: var(--violet); display: inline-flex; align-items: center; gap: .45rem; }
.svc-btn i { font-size: 1.2rem; }
.svc-btn:hover { color: var(--emerald); }

/* Testimonials */
.testi { background: var(--ink); }
.testi .sec-head h2 { color: #fff; }
.testi .label { color: #C4B5FD; }
.quote-card { background: #1F2937; border-radius: 22px; padding: 2rem; height: 100%; color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.06); }
.qhead { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.qhead span { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--emerald), var(--violet)); color: #fff; font-family: "Outfit", sans-serif; font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.qhead h5 { color: #fff; margin: 0; font-size: 1.08rem; flex: 1; }
.qhead i { color: #6EE7B7; font-size: 1.6rem; }
.quote-card p { margin: 0; }

/* Blog */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.post-img { padding: 10px 10px 0; display: block; }
.post-img img { width: 100%; height: 230px; object-fit: cover; border-radius: 16px; display: block; }
.post-body { padding: 1.3rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.tag { background: var(--lilac); color: var(--violet); font-weight: 700; font-size: .76rem; padding: .25rem .75rem; border-radius: 8px; }
.post-body h3 { font-size: 1.25rem; margin: .8rem 0 .5rem; line-height: 1.3; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--emerald); }
.post-body p { color: var(--muted); flex: 1; }
.read-more { font-weight: 700; }

/* FAQ */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.accordion-item { border: 1px solid var(--line); border-radius: 18px !important; margin-bottom: .9rem; overflow: hidden; background: #fff; }
.accordion-button { font-family: "Outfit", sans-serif; font-weight: 600; color: var(--ink); font-size: 1.05rem; padding: 1.15rem 1.4rem; }
.accordion-button i { color: var(--emerald); }
.accordion-button:not(.collapsed) { background: var(--mintbg); color: var(--emerald-dark); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-body { color: var(--muted); padding: 1rem 1.4rem 1.3rem; }

/* CTA */
.cta { padding: 0 0 92px; }
.light + .cta { padding-top: 92px; }
.cta-box { background: linear-gradient(120deg, var(--violet-dark), var(--violet) 45%, var(--emerald)); border-radius: 30px; padding: 3.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem; }
.cta-box h2 { color: #fff; margin-bottom: .4rem; max-width: 620px; }
.cta-box p { color: rgba(255,255,255,.88); margin: 0; }

/* Page banner */
.page-banner { padding: 32px 0 0; }
.banner-card { background: linear-gradient(120deg, var(--emerald-dark), var(--emerald) 55%, var(--violet)); border-radius: 28px; padding: 3.6rem 3rem; color: rgba(255,255,255,.88); }
.banner-card h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); margin: .6rem 0 .5rem; }
.banner-card p { margin: 0; max-width: 680px; }
.crumbs { font-weight: 700; font-size: .9rem; }
.crumbs a { color: #fff; }
.crumbs i.bi-chevron-right { font-size: .7rem; margin: 0 .35rem; }

/* Article */
.article h2 { font-size: 1.6rem; margin-top: 1.8rem; }
.article blockquote { background: var(--lilac); border-left: 4px solid var(--violet); border-radius: 12px; padding: 1.1rem 1.4rem; font-style: italic; color: var(--ink); }
.article .note { background: var(--mintbg); border-radius: 12px; padding: 1rem 1.2rem; font-size: .92rem; }
.legal { max-width: 860px; margin: 0 auto; }
.side-box { background: var(--light); border-radius: 22px; padding: 1.6rem; margin-bottom: 1.5rem; }
.side-posts { list-style: none; padding: 0; margin: 0; }
.side-posts li { margin-bottom: 1rem; }
.side-posts a { display: flex; gap: .8rem; align-items: center; font-weight: 700; color: var(--ink); line-height: 1.4; }
.side-posts img { width: 74px; height: 62px; object-fit: cover; border-radius: 12px; flex: 0 0 74px; }
.side-box.dark { background: var(--ink); color: rgba(255,255,255,.82); }
.side-box.dark h5 { color: #fff; }

/* Contact bento */
.contact-bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-areas: "form a b" "form c c" "map map map"; gap: 18px; }
.cb-form { grid-area: form; background: var(--light); border-radius: 24px; padding: 2.4rem; }
.cb-info { border-radius: 24px; padding: 1.8rem; }
.cb-info.a { grid-area: a; background: var(--emerald); color: rgba(255,255,255,.9); }
.cb-info.b { grid-area: b; background: var(--violet); color: rgba(255,255,255,.9); }
.cb-info.c { grid-area: c; background: var(--ink); color: rgba(255,255,255,.85); }
.cb-info i { font-size: 1.6rem; }
.cb-info h4 { color: #fff; font-size: 1.15rem; margin: .7rem 0 .3rem; }
.cb-info p { margin: 0; overflow-wrap: anywhere; }
.cb-info a { color: #fff; }
.cb-map { grid-area: map; border-radius: 24px; overflow: hidden; }
.cb-map iframe { width: 100%; height: 380px; border: 0; display: block; }
.form-control, .form-select { border-radius: 12px; padding: .8rem 1rem; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(4,120,87,.14); }
.form-msg { margin-top: 1rem; font-weight: 700; color: var(--emerald); }

/* Newsletter */
.news-box { max-width: 1000px; margin: 0 auto; background: var(--light); border-radius: 26px; overflow: hidden; }
.news-box img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.news-form { padding: 3rem; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 60px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 18px; }
.foot-card { background: #1F2937; border-radius: 22px; padding: 1.8rem; }
.foot-card.brand { background: linear-gradient(140deg, var(--emerald-dark), #0B3B2F); }
.foot-card.news { background: linear-gradient(140deg, var(--violet-dark), #3B1A86); }
.foot-logo { display: inline-block; margin-bottom: 1rem; }
.foot-logo img { height: 40px; width: auto; display: block; }
.site-footer h5 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer p { margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a:not(.btn):not(.foot-logo) { color: rgba(255,255,255,.78); overflow-wrap: anywhere; }
.site-footer a:not(.btn):not(.foot-logo):hover { color: #6EE7B7; }
.foot-mail i { margin-right: .3rem; }
.foot-unsub { margin-left: .9rem; font-weight: 700; font-size: .9rem; }
.footer-bottom { margin-top: 2.2rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; font-size: .9rem; }
.footer-bottom .sep { margin: 0 .6rem; opacity: .5; }

@media (max-width: 991px) {
  .site-header .navbar-collapse { padding: 1rem 0 .5rem; }
  .site-header .nav-link { padding: .5rem 0 !important; }
  .site-header .nav-link::after { display: none; }
  .site-header .btn-violet { margin-top: .5rem; }
  .section { padding: 66px 0; }
  .cta { padding-bottom: 66px; }
  .light + .cta { padding-top: 66px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto 300px 200px; min-height: 0; }
  .b-text { grid-column: 1 / 3; grid-row: auto; }
  .b-main { grid-column: 1 / 3; grid-row: auto; }
  .bento .b-tag { left: 20px; bottom: 220px; }
  .contact-bento { grid-template-columns: 1fr 1fr; grid-template-areas: "form form" "a b" "c c" "map map"; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .navbar-brand img { height: 36px; }
  .b-text { padding: 2rem 1.5rem; }
  .bento { grid-template-rows: auto 260px 160px; gap: 12px; }
  .bento .b-tag { bottom: 172px; font-size: .88rem; }
  .about-stack { padding-bottom: 40px; }
  .cta-box, .banner-card { padding: 2.2rem 1.6rem; }
  .cb-form, .news-form { padding: 1.8rem; }
  .contact-bento { grid-template-columns: 1fr; grid-template-areas: "form" "a" "b" "c" "map"; }
  .foot-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
