/* ============================================================
   PortionSz — Every Bite Counts
   Theme inspired by health-hatch.com, branded to PortionSz green
   ============================================================ */

:root {
  /* Brand greens (from logo) */
  --green:        #3e9b47;
  --green-600:    #2f8038;
  --green-700:    #1e5c2a;
  --green-800:    #143f1d;
  --green-bright: #5cba47;
  --green-50:     #eef7ea;
  --green-100:    #ddeed4;

  /* Warm neutrals */
  --cream:   #faf9f3;
  --sand:    #f3ede1;
  --ink:     #18271a;
  --body:    #435042;
  --muted:   #6b766a;
  --line:    #e6e9e0;
  --white:   #ffffff;

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(30, 92, 42, .07);
  --shadow:    0 14px 40px rgba(30, 92, 42, .12);
  --shadow-lg: 0 28px 70px rgba(20, 63, 29, .18);

  --ff-head: "Poppins", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;

  --maxw: 1180px;
  --nav-h: 90px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); overflow-x: hidden; overflow-x: clip; }

body {
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--ink); line-height: 1.18; font-weight: 700; }

/* ---------- Shared section bits ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-50);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 620px; margin-top: 14px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }

section { padding: clamp(44px, 5.5vw, 78px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(62,155,71,.32); }
.btn--primary:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(62,155,71,.4); }
.btn--ghost { background: transparent; color: var(--green-700); border-color: var(--green-100); }
.btn--ghost:hover { background: var(--green-50); border-color: var(--green); transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-700); color: #eafae6; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 0; flex-wrap: wrap; text-align: center; }
.topbar__sep { opacity: .5; }
.topbar__item { font-family: var(--ff-head); font-weight: 500; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(20,63,29,.08); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 18px; }
.nav__logo { height: 70px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--ff-head); font-weight: 500; font-size: .94rem; color: var(--ink);
  padding: 9px 14px; border-radius: 100px; position: relative; transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link.active { color: var(--green-700); background: var(--green-50); }
.nav__cta { margin-left: 8px; }
.nav__cta-sm { display: none; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 6vw, 90px) 0 clamp(56px, 7vw, 100px); background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; }
.blob--1 { width: 460px; height: 460px; background: radial-gradient(circle, var(--green-100), transparent 70%); top: -120px; right: -120px; }
.blob--2 { width: 380px; height: 380px; background: radial-gradient(circle, #fbe9c9, transparent 70%); bottom: -140px; left: -100px; opacity: .45; }
.leaf { position: absolute; font-size: 2rem; opacity: .25; animation: float 6s ease-in-out infinite; }
.leaf--1 { top: 18%; left: 6%; }
.leaf--2 { bottom: 16%; right: 9%; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(8deg); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero__title { font-size: clamp(2.2rem, 5.2vw, 3.8rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.hero__title em { color: var(--green); font-style: normal; }
.hero__lead { font-size: 1.12rem; max-width: 540px; margin-bottom: 18px; }
.hero__quote { border-left: 3px solid var(--green); padding-left: 16px; color: var(--green-700); font-style: italic; font-size: 1rem; margin-bottom: 28px; max-width: 520px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .82rem; font-family: var(--ff-head); font-weight: 500; color: var(--green-700); background: #fff; border: 1px solid var(--green-100); padding: 6px 14px; border-radius: 100px; box-shadow: var(--shadow-sm); }

.hero__media { display: flex; justify-content: center; }
.hero__photo { position: relative; width: min(420px, 100%); }
.hero__photo img { width: 100%; border-radius: 30px 30px 30px 80px; box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4/5; }
.hero__badge {
  position: absolute; background: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1.1; text-align: center;
}
.hero__badge strong { font-family: var(--ff-head); font-size: 1.4rem; color: var(--green); }
.hero__badge span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hero__badge:not(.hero__badge--alt) { bottom: 15px; left: -40px; }
.hero__badge--alt { top: 15px; right: -40px; }

/* ---------- Trust strip ---------- */
.trust { background: linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 100%); padding: clamp(44px, 5vw, 68px) 0; position: relative; overflow: hidden; }
.trust::before { content: ""; position: absolute; top: -40%; right: -8%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(92,186,71,.26), transparent 70%); pointer-events: none; }
.trust::after { content: ""; position: absolute; bottom: -45%; left: -8%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(92,186,71,.16), transparent 70%); pointer-events: none; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; z-index: 1; }
.trust__item {
  position: relative; text-align: center; padding: 32px 20px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12); overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.trust__item:hover { transform: translateY(-8px); border-color: rgba(92,186,71,.5); box-shadow: 0 24px 50px rgba(0,0,0,.28); }
.trust__num {
  display: block; font-family: var(--ff-head); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(2.4rem, 4.6vw, 3.4rem); line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #9fe08f 130%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff;
}
.trust__bar { display: block; width: 40px; height: 4px; margin: 14px auto 0; border-radius: 100px; background: linear-gradient(90deg, var(--green-bright), #b6e6a6); transition: width .35s ease; }
.trust__item:hover .trust__bar { width: 64px; }
.trust__label { display: block; margin-top: 14px; font-size: .78rem; font-family: var(--ff-head); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #cfe9c8; }

/* ---------- Feature cards ---------- */
.features { padding-top: clamp(56px, 7vw, 90px); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card--accent { background: linear-gradient(160deg, var(--green-700), var(--green-600)); border-color: transparent; color: #eafaf0; }
.feature-card--accent h3 { color: #fff; }
.feature-card--accent p { color: #d7eed3; }
.feature-card__icon { font-size: 2rem; width: 60px; height: 60px; display: grid; place-items: center; background: var(--green-50); border-radius: 16px; margin-bottom: 18px; }
.feature-card--accent .feature-card__icon { background: rgba(255,255,255,.16); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-card p { font-size: .96rem; }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about__media { position: relative; }
.about__img { width: 100%; border-radius: 26px; box-shadow: var(--shadow-lg); filter: grayscale(.1); }
.about__chip { position: absolute; bottom: 22px; left: -18px; background: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow); }
.about__chip span { display: block; font-family: var(--ff-head); font-weight: 700; color: var(--green-700); }
.about__chip small { color: var(--muted); font-size: .8rem; }
.about__content p { margin-bottom: 14px; }
.about__content .eyebrow { margin-top: 0; }
.about__list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 18px 0 26px; }
.about__list li { position: relative; padding-left: 30px; font-family: var(--ff-head); font-weight: 500; color: var(--ink); }
.about__list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; background: var(--green); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; }

/* ---------- Vision / Pillars ---------- */
.vision__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 44px; }
.pillar { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px 30px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--green-bright), var(--green-700)); }
.pillar__num { position: absolute; top: 18px; right: 22px; font-family: var(--ff-head); font-weight: 800; font-size: 2.4rem; color: var(--green-50); }
.pillar__icon { font-size: 2.2rem; width: 64px; height: 64px; display: grid; place-items: center; background: var(--green-50); border-radius: 18px; margin-bottom: 18px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 10px; }
.vision__quote { max-width: 800px; margin: 0 auto; text-align: center; font-family: var(--ff-head); font-weight: 500; font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: var(--green-700); font-style: italic; line-height: 1.5; }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, #fff, var(--cream)); }
.services__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.stab { font-family: var(--ff-head); font-weight: 500; font-size: .92rem; padding: 10px 22px; border-radius: 100px; border: 1px solid var(--line); background: #fff; color: var(--body); cursor: pointer; transition: .2s; }
.stab:hover { border-color: var(--green); color: var(--green-700); }
.stab.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.services__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-100); }
.service-card__icon { font-size: 1.5rem; width: 52px; height: 52px; display: grid; place-items: center; background: var(--green-50); border-radius: 15px; margin-bottom: 15px; transition: transform .3s ease; }
.service-card:hover .service-card__icon { transform: scale(1.07) rotate(-3deg); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.22; }
.service-card__tag { align-self: flex-start; font-family: var(--ff-head); font-size: .64rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-600); background: var(--green-50); padding: 4px 11px; border-radius: 100px; margin-bottom: 13px; }
.service-card p { font-size: .88rem; color: var(--body); margin-bottom: 16px; line-height: 1.5; }
.service-card__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.service-card__chips span { font-family: var(--ff-head); font-size: .73rem; font-weight: 600; color: var(--green-700); background: var(--green-50); border: 1px solid var(--green-100); padding: 5px 11px; border-radius: 100px; transition: background .2s, color .2s; }
.service-card:hover .service-card__chips span { background: #fff; }
.service-card--featured { background: linear-gradient(160deg, #fff, var(--green-50)); border-color: var(--green-100); }
.service-card--featured .service-card__chips span { background: #fff; }
.service-card.is-hidden { display: none; }
@media (max-width: 1080px) { .services__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (max-width: 680px)  { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .services__grid { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why { background: var(--green-800); color: #d9ead4; }
.why .section-title { color: #fff; }
.why .section-sub { color: #b9d4b2; }
.why .eyebrow { background: rgba(255,255,255,.1); color: #bfe6b6; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 26px 22px; transition: transform .25s, background .25s; }
.why-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.09); }
.why-card__num { font-family: var(--ff-head); font-weight: 800; font-size: 1.6rem; color: var(--green-bright); display: block; margin-bottom: 10px; }
.why-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { font-size: .9rem; color: #c2d8bd; }

/* ---------- Reviews / Carousel ---------- */
.reviews { background: var(--cream); padding-top: clamp(38px, 4vw, 58px); padding-bottom: clamp(38px, 4vw, 58px); }
.reviews .section-head { margin-bottom: 26px; }
.carousel { overflow: hidden; max-width: 1120px; margin: 0 auto; }
.carousel__track { display: flex; gap: 22px; position: relative; transition: transform .5s cubic-bezier(.5,.05,.2,1); }
.review-card { flex: 0 0 calc((100% - 44px) / 3); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow); text-align: center; }
.review-card__top { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.review-card__cond { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-head); font-weight: 600; font-size: .8rem; color: #fff; background: linear-gradient(135deg, var(--green), var(--green-600)); padding: 8px 14px; border-radius: 100px; box-shadow: 0 6px 16px rgba(62,155,71,.28); }
.review-card__cond::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .9; }
.stars { color: #f5b840; letter-spacing: 2px; font-size: 1.05rem; white-space: nowrap; }
.review-card blockquote { font-family: var(--ff-head); font-weight: 500; font-size: .95rem; color: var(--ink); line-height: 1.5; margin: 0 0 18px; }
.review-card figcaption { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 16px; margin-top: auto; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; }
.review-card figcaption strong { font-family: var(--ff-head); color: var(--ink); }
.review-card figcaption small { color: var(--muted); }
.review-card__who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.review-card__who .stars { font-size: 1rem; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; }
@media (max-width: 980px) { .review-card { flex: 0 0 calc((100% - 22px) / 2); } }
@media (max-width: 600px) { .review-card { flex: 0 0 100%; } .carousel { max-width: 460px; } }
.carousel__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--green-700); font-size: 1.5rem; cursor: pointer; transition: .2s; box-shadow: var(--shadow-sm); }
.carousel__btn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.carousel__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 340px; }
.carousel__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--green-100); cursor: pointer; transition: .25s; padding: 0; }
.carousel__dots button.is-active { background: var(--green); width: 26px; border-radius: 100px; }

/* ---------- Tools / Calculators ---------- */
.calc { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.calc__tabs { display: flex; background: var(--green-50); }
.calc-tab { flex: 1; font-family: var(--ff-head); font-weight: 600; font-size: .95rem; padding: 16px 10px; border: 0; background: transparent; color: var(--green-700); cursor: pointer; transition: .2s; border-bottom: 3px solid transparent; }
.calc-tab.is-active { background: #fff; border-bottom-color: var(--green); color: var(--green); }
.calc-panel { display: none; padding: clamp(24px, 4vw, 40px); }
.calc-panel.is-active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.calc-panel__desc { color: var(--muted); margin-bottom: 22px; }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--ff-head); font-weight: 500; font-size: .88rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: .98rem; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(62,155,71,.12); background: #fff; }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 11px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-family: var(--ff-head); font-weight: 500; background: var(--cream); transition: .2s; }
.seg input:checked + span { background: var(--green); color: #fff; border-color: var(--green); }
.calc-form__submit { grid-column: 1 / -1; margin-top: 4px; }
.calc-result { grid-column: 1/-1; margin-top: 24px; text-align: center; background: var(--green-50); border-radius: var(--radius); padding: 26px; animation: fade .4s ease; }
.calc-result__label { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-600); font-family: var(--ff-head); font-weight: 600; }
.calc-result__value { display: block; font-family: var(--ff-head); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--green-700); margin: 4px 0; }
.calc-result__note { display: block; color: var(--body); font-size: .95rem; }
.bmi-bar { position: relative; height: 12px; border-radius: 100px; margin: 22px 0 8px; background: linear-gradient(90deg, #6db4e2 0 25%, var(--green) 25% 55%, #f1b54a 55% 80%, #e2664f 80%); }
.bmi-bar__marker { position: absolute; top: -5px; width: 4px; height: 22px; background: var(--ink); border-radius: 4px; transform: translateX(-50%); transition: left .5s ease; box-shadow: 0 0 0 3px #fff; }
.bmi-bar__legend { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq__head .btn { margin-top: 20px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { font-family: var(--ff-head); font-weight: 600; color: var(--ink); padding: 16px 32px 16px 0; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green); font-weight: 400; transition: transform .25s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 0 18px; color: var(--muted); font-size: .96rem; }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: stretch; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.contact__list li { display: flex; gap: 16px; }
.contact__ic { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; background: var(--green-50); border-radius: 14px; font-size: 1.3rem; }
.contact__list strong { font-family: var(--ff-head); color: var(--ink); display: block; margin-bottom: 2px; }
.contact__list p { color: var(--muted); font-size: .96rem; }
.contact__list a { color: var(--green-700); }
.contact__form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.contact__form h3 { font-size: 1.4rem; margin-bottom: 20px; }
.contact__form .field { margin-bottom: 16px; }
.contact__form-note { margin-top: 16px; text-align: center; color: var(--green-700); font-family: var(--ff-head); font-weight: 500; background: var(--green-50); padding: 12px; border-radius: var(--radius-sm); }

/* ---------- Footer ---------- */
.footer { background: var(--green-800); color: #b9d4b2; padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer__logo { height: 104px; width: auto; background: #fff; padding: 14px 26px; border-radius: 18px; margin-bottom: 20px; }
.footer__brand p { font-size: .95rem; max-width: 320px; margin-bottom: 20px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: #d7ecd0; transition: transform .2s ease, background .2s ease, color .2s ease; }
.footer__social a svg { width: 19px; height: 19px; fill: currentColor; display: block; }
.footer__social a:hover { background: var(--green); color: #fff; border-color: var(--green); transform: translateY(-3px); }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__col a { display: block; color: #b9d4b2; font-size: .94rem; padding: 5px 0; transition: color .2s, padding .2s; }
.footer__col a:hover { color: #fff; padding-left: 5px; }
.footer__addr { font-size: .9rem; margin-top: 8px; line-height: 1.5; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .85rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__disclaimer a { color: var(--green-bright); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45); transition: transform .2s; animation: pulse 2.4s infinite; }
.wa-float svg { width: 34px; height: 34px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 10px 28px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 10px 28px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 10px 28px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero__lead, .hero__quote { margin-left: auto; margin-right: auto; }
  .hero__quote { text-align: left; }
  .hero__actions, .hero__chips { justify-content: center; }
  .hero__media { order: -1; }
  .about__inner, .faq__inner, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .faq__head { position: static; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 18px 22px 28px; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .35s cubic-bezier(.5,.05,.2,1);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__link { padding: 13px 14px; font-size: 1rem; }
  .nav__inner { gap: 8px; }
  /* CTA pushed to the right, sitting next to the hamburger */
  .nav__cta { display: inline-flex; margin-left: auto; padding: 11px 22px; font-size: .95rem; }
  .nav__cta-lg { display: none; }
  .nav__cta-sm { display: inline; }
  .nav__toggle { display: flex; padding: 6px; }
  .nav__logo { height: 44px; }

  .features__grid, .vision__grid, .why__grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .calc-form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .topbar__inner { font-size: .76rem; }
  .hero__badge--alt { right: 0; }
  .hero__badge:not(.hero__badge--alt) { left: 0; }
  section { padding: 46px 0; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .topbar__sep, .topbar__item:last-child { display: none; }
  .btn--lg { width: 100%; }
  .hero__actions { flex-direction: column; }
  .nav__logo { height: 42px; }
}

@media (max-width: 360px) {
  .nav__logo { height: 36px; }
  .nav__cta { padding: 9px 16px; font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   ADDITIONS — preloader, animations, why redesign, contact media, gallery
   ============================================================ */

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, var(--cream) 70%);
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.preloader__logo { width: min(260px, 64vw); height: auto; animation: pl-pulse 1.7s ease-in-out infinite; }
.preloader__dots { display: flex; gap: 10px; }
.preloader__dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--green); animation: pl-bounce 1s ease-in-out infinite; }
.preloader__dots span:nth-child(2) { background: var(--green-bright); animation-delay: .16s; }
.preloader__dots span:nth-child(3) { background: var(--green-700); animation-delay: .32s; }
@keyframes pl-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .82; } }
@keyframes pl-bounce { 0%,100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(-13px); opacity: 1; } }

/* ---------- Staggered reveal for grids ---------- */
.features__grid .reveal:nth-child(2),
.vision__grid .reveal:nth-child(2) { transition-delay: .12s; }
.features__grid .reveal:nth-child(3),
.vision__grid .reveal:nth-child(3) { transition-delay: .24s; }

/* ---------- Floating + hover-pop icons (feature tiles & pillars) ---------- */
.feature-card__icon, .pillar__icon { animation: icon-float 3.6s ease-in-out infinite; will-change: transform; }
.feature-card:nth-child(2) .feature-card__icon, .pillar:nth-child(2) .pillar__icon { animation-delay: .5s; }
.feature-card:nth-child(3) .feature-card__icon, .pillar:nth-child(3) .pillar__icon { animation-delay: 1s; }
.feature-card:hover .feature-card__icon, .pillar:hover .pillar__icon { animation-play-state: paused; }
@keyframes icon-float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-4deg); } }

/* Soft glow sweep on the feature tiles */
.feature-card { position: relative; overflow: hidden; }
.feature-card::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .7s ease; pointer-events: none;
}
.feature-card:hover::after { left: 160%; }
.feature-card--accent::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent); }

/* ---------- Why-Choose: modern expandable cards ---------- */
.why__grid { align-items: start; }
.why-card {
  position: relative; display: flex; flex-direction: column; cursor: pointer; user-select: none;
  padding: 20px 22px; transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.why-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.why-card:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 3px; }
.why-card.is-open { background: rgba(92,186,71,.13); border-color: rgba(92,186,71,.38); }
.why-card__head { display: flex; align-items: center; gap: 13px; }
.why-card__icon {
  flex: 0 0 auto; font-size: 1.35rem; width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px; transition: transform .3s ease, background .3s ease;
}
.why-card:hover .why-card__icon, .why-card.is-open .why-card__icon { background: rgba(92,186,71,.28); transform: scale(1.06); }
.why-card__head h3 { flex: 1; font-size: 1rem; margin: 0; line-height: 1.25; color: #fff; }
.why-card__chev {
  flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.08); color: var(--green-bright); font-size: 1.35rem; line-height: 1;
  transition: transform .35s ease, background .3s ease, color .3s ease;
}
.why-card.is-open .why-card__chev { transform: rotate(135deg); background: var(--green); color: #fff; }
.why-card__body {
  display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: 0;
  transition: grid-template-rows .4s ease, opacity .35s ease, margin-top .35s ease;
}
.why-card__body > div { overflow: hidden; min-height: 0; }
.why-card.is-open .why-card__body { grid-template-rows: 1fr; opacity: 1; margin-top: 12px; }
.why-card__body p { font-size: .9rem; color: #c2d8bd; margin: 0; padding-left: 59px; }
@media (max-width: 480px) { .why-card__body p { padding-left: 0; } }

/* ---------- Contact media (replaces form) ---------- */
.contact__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact__media { position: relative; height: 100%; min-height: 460px; }
.contact__map { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact__media-badge {
  position: absolute; left: 18px; bottom: 18px; background: #fff; pointer-events: none;
  padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow); max-width: 78%;
}
.contact__media-badge strong { display: block; font-family: var(--ff-head); color: var(--green-700); }
.contact__media-badge span { font-size: .8rem; color: var(--muted); }

/* ---------- Reviews: real client graphics gallery ---------- */
.reviews__gallery-label {
  text-align: center; margin: 48px 0 18px; font-family: var(--ff-head); font-weight: 600;
  color: var(--green-700); letter-spacing: .04em; text-transform: uppercase; font-size: .85rem;
}
.reviews__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 760px; margin: 0 auto; }
.reviews__gallery figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.reviews__gallery img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.reviews__gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 560px) { .reviews__gallery { grid-template-columns: 1fr; max-width: 440px; } }

/* ---------- Meet Our Team (circular pie wheel) ---------- */
.team { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.team-stage { display: flex; flex-direction: column; align-items: center; padding-top: 24px; }
.team-wheel { position: relative; width: min(560px, 92vw); aspect-ratio: 1 / 1; margin: 46px auto 8px; }

.team-wheel__pie {
  position: absolute; inset: 0; border-radius: 50%; box-shadow: var(--shadow);
  background: conic-gradient(
    from 0deg,
    var(--green-100) 0 58deg,
    #ffffff 58deg 62deg,
    #eaf4e2 62deg 178deg,
    #ffffff 178deg 182deg,
    var(--green-50) 182deg 298deg,
    #ffffff 298deg 302deg,
    var(--green-100) 302deg 360deg
  );
}
.team-wheel__ring { position: absolute; inset: -12px; border-radius: 50%; border: 1.5px dashed var(--green-100); }

.team-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 39%; aspect-ratio: 1 / 1; border-radius: 50%; background: #fff; z-index: 3;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 10px;
}
.team-hub strong { font-family: var(--ff-head); color: var(--green-700); font-size: clamp(.95rem, 2.3vw, 1.2rem); line-height: 1; }
.team-hub span { font-size: clamp(.52rem, 1.35vw, .68rem); color: var(--muted); line-height: 1.7; margin-top: 6px; letter-spacing: .07em; text-transform: uppercase; font-family: var(--ff-head); }

.team-node {
  --node: clamp(100px, 17vw, 152px);
  position: absolute; width: var(--node); height: var(--node);
  transform: translate(-50%, -50%); z-index: 4; cursor: pointer;
}
.team-node--top { left: 50%; top: 14%; }
.team-node--br  { left: 81%; top: 69%; }
.team-node--bl  { left: 19%; top: 69%; }

.team-node__avatar {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top center;
  border: 5px solid #fff; box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.team-node__name {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: -24px; white-space: nowrap;
  font-family: var(--ff-head); font-weight: 600; font-size: .78rem; color: var(--green-700);
  background: #fff; padding: 3px 12px; border-radius: 100px; box-shadow: var(--shadow-sm);
  transition: opacity .25s ease;
}
.team-node:hover .team-node__avatar,
.team-node:focus-visible .team-node__avatar,
.team-node.is-active .team-node__avatar {
  transform: scale(1.07); box-shadow: var(--shadow-lg); border-color: var(--green-100);
}
.team-node:hover .team-node__name,
.team-node.is-active .team-node__name { opacity: 0; }

.team-card {
  position: absolute; width: 240px; background: #fff; border-radius: 18px; z-index: 9;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 14px;
  display: flex; gap: 12px; align-items: center; text-align: left;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.team-card__photo { width: 66px; height: 66px; border-radius: 14px; object-fit: cover; object-position: top center; flex: none; }
.team-card__body h3 { font-size: .98rem; color: var(--ink); }
.team-card__role { display: block; font-size: .72rem; color: var(--green-600); font-weight: 600; font-family: var(--ff-head); margin: 3px 0 6px; }
.team-card__body p { font-size: .8rem; color: var(--body); line-height: 1.45; margin: 0; }

.team-card--top { bottom: calc(100% + 16px); left: 50%; transform: translateX(-50%) scale(.9); }
.team-card--br  { top: 50%; left: calc(100% + 16px); transform: translateY(-50%) scale(.9); }
.team-card--bl  { top: 50%; right: calc(100% + 16px); transform: translateY(-50%) scale(.9); }

.team-node:hover .team-card--top,
.team-node:focus-visible .team-card--top,
.team-node.is-active .team-card--top { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }
.team-node:hover .team-card--br,
.team-node:focus-visible .team-card--br,
.team-node.is-active .team-card--br { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); }
.team-node:hover .team-card--bl,
.team-node:focus-visible .team-card--bl,
.team-node.is-active .team-card--bl { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); }

.team-equation {
  text-align: center; margin-top: 56px; font-family: var(--ff-head); font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.35rem); color: var(--green-700); letter-spacing: .01em;
}
.team-equation span { color: var(--green); }
.team-equation em { color: var(--green); font-style: normal; margin: 0 5px; font-weight: 700; }

/* Static stacked cards for touch / small screens */
.team-list { display: none; }
.team-list__card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: var(--shadow-sm); }
.team-list__card img { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; object-position: top center; flex: none; }
.team-list__card h3 { font-size: 1.02rem; color: var(--ink); }
.team-list__card p { font-size: .85rem; color: var(--body); line-height: 1.45; margin: 0; }

@media (max-width: 1023px) {
  .team-wheel { display: none; }
  .team-list { display: grid; gap: 16px; width: 100%; max-width: 560px; }
  .team-equation { margin-top: 36px; }
}

/* ---------- Reduced motion (covers the new animations too) ---------- */
@media (prefers-reduced-motion: reduce) {
  .preloader__logo, .preloader__dots span,
  .feature-card__icon, .pillar__icon { animation: none !important; }
  .features__grid .reveal, .vision__grid .reveal { transition-delay: 0s !important; }
  .feature-card::after { display: none; }
  .team-node__avatar, .team-card { transition: none !important; }
}
