/* loseweight.com.my — modern wellness studio */
:root {
  --ink: #10271f;
  --ink-deep: #091913;
  --ink-soft: #19372c;
  --accent: #c9f45b;
  --accent-strong: #b5e63d;
  --cream: #f6f3ea;
  --paper: #fffdf8;
  --white: #ffffff;
  --coral: #ff735c;
  --sky: #aee5e2;
  --line: rgba(16, 39, 31, .14);
  --line-light: rgba(255, 255, 255, .14);
  --muted: #596861;
  --on-dark: #c9d5cf;
  --font: 'Poppins', 'Noto Sans SC', system-ui, sans-serif;
  --page: min(1360px, calc(100% - 72px));
  --section-y: clamp(76px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.55; font-size: 16px; overflow-x: hidden; }
h1, h2, h3, h4, p, ul { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
::selection { color: var(--ink); background: var(--accent); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
mark { color: inherit; background: linear-gradient(transparent 63%, var(--accent) 63%); padding: 0 .04em; }
.accent-text { color: var(--accent); }

/* Scroll reveal: applied progressively by app.js so content stays visible without JavaScript. */
.reveal-item { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 0 24px; border: 0; border-radius: 999px; font-family: var(--font); font-size: 14px; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-accent, .btn-accent:hover, .btn-accent:focus { color: var(--ink); background: var(--accent); }
.btn-accent:hover { background: var(--accent-strong); box-shadow: 0 12px 30px rgba(201, 244, 91, .2); }
.btn-outline, .btn-outline:hover { color: #fff; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.38); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.65); }
.btn-light, .btn-light:hover { color: var(--ink); background: var(--paper); }
.btn-light:hover { box-shadow: 0 14px 34px rgba(4,20,13,.2); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 15px; }
.btn-xl { min-height: 62px; padding: 0 34px; font-size: 17px; }

/* Header and hero */
.hero { position: relative; min-height: 760px; color: #fff; background: var(--ink); overflow: hidden; background: radial-gradient(at 66.79930108557978% 69.68989628152042%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 1) 0%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 0) 100%), radial-gradient(at 61.82304258253861% 11.107588565646475%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%), radial-gradient(at 50.33818035811639% 84.1043193735713%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%), radial-gradient(at 0.593571949142957% 24.726571559549683%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 1) 0%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 0) 100%), radial-gradient(at 3.8331390403426924% 97.04197006628675%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%), radial-gradient(at 1.0416986949128848% 71.76811948262599%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%), radial-gradient(at 86.51506261108214% 25.23254058709339%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 1) 0%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 0) 100%), radial-gradient(at 62.251542569870665% 3.3187504594227812%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%), radial-gradient(at 43.37962605487638% 67.46464616400523%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%), radial-gradient(at 77.56845020837169% 95.87430164988038%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 1) 0%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 0) 100%), radial-gradient(at 85.38713153789249% 45.887599553646005%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%);             }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to bottom, #000 0%, transparent 82%); }
.hero::after { content: ''; position: absolute; z-index: -1; width: 560px; height: 560px; left: 40%; bottom: -420px; border-radius: 50%; background: var(--accent); filter: blur(90px); opacity: .13; }
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero-orb-one { width: 360px; height: 360px; top: 110px; right: -190px; border: 1px solid rgba(201,244,91,.3); box-shadow: 0 0 0 58px rgba(201,244,91,.025), 0 0 0 116px rgba(201,244,91,.02); }
.hero-orb-two { width: 120px; height: 120px; left: -55px; bottom: 100px; background: var(--coral); filter: blur(50px); opacity: .16; }
.topbar { width: var(--page); margin: 0 auto; min-height: 92px; padding: 18px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; border-bottom: 1px solid var(--line-light); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; text-decoration: none; }
.brand-name { display: inline; white-space: nowrap; font-size: 18px; letter-spacing: -.025em; }
.brand-name span { color: var(--accent); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 4px 5px; color: var(--on-dark); background: rgba(255,255,255,.045); border: 1px solid var(--line-light); border-radius: 999px; }
.lang button { min-width: 42px; min-height: 38px; padding: 0 10px; color: #fff; background: transparent; border: 0; border-radius: 999px; font-size: 12px; font-weight: 600; cursor: pointer; }
.lang button[aria-pressed='true'] { color: var(--ink); background: var(--accent); }
.topbar-cta { min-height: 46px; }
.hero-grid { width: var(--page); margin: 0 auto; padding: clamp(64px, 8vw, 112px) 0 clamp(84px, 10vw, 132px); display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: clamp(52px, 6vw, 82px); }
.hero-copy { width: 100%; max-width: 940px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-top: 18px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 13px; border-radius: 999px; color: var(--ink); background: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.chip-dark { color: var(--accent); background: var(--ink); margin-bottom: 18px; }
.hero h1 { max-width: 740px; font-size: clamp(48px, 5.25vw, 78px); font-weight: 600; line-height: .99; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 .accent-text { color: var(--accent); }
.lead { max-width: 590px; color: var(--on-dark); font-size: clamp(19px, 2vw, 25px); font-weight: 300; line-height: 1.42; letter-spacing: -.015em; }
.lead b { color: #fff; font-weight: 600; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { width: min(100%, 760px); padding-top: 27px; margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: 1px solid var(--line-light); }
.stats div { min-width: 0; }
.stats strong { display: block; color: var(--accent); font-size: clamp(26px, 3vw, 40px); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.stats span { display: block; margin-top: 8px; color: #9eafa7; font-size: 11px; line-height: 1.35; text-transform: uppercase; letter-spacing: .07em; }

/* Checker */
.checker { width: 100%; min-width: 0; padding: clamp(24px, 3vw, 42px); display: flex; flex-direction: column; gap: 15px; color: var(--ink); background: rgba(255,253,248,.98); border-radius: 20px; box-shadow: 0 34px 80px rgba(3, 15, 10, .38); }
.checker-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.mini-label, .section-index, .band-label, .form-intro { color: #6b7a73; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.checker-title { margin-top: 5px; color: var(--ink); font-size: clamp(23px, 2.4vw, 31px); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; }
.live-dot { width: 12px; height: 12px; margin-top: 4px; flex: 0 0 auto; border-radius: 50%; background: var(--accent-strong); box-shadow: 0 0 0 7px rgba(181,230,61,.18); }
.seg { padding: 5px; display: flex; gap: 5px; background: #e9ece3; border-radius: 13px; }
.seg button { flex: 1 1 0; min-height: 43px; color: var(--ink); background: transparent; border: 0; border-radius: 9px; font-size: 14px; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed='true'] { background: var(--white); box-shadow: 0 3px 12px rgba(16,39,31,.09); }
.fields { display: flex; flex-wrap: wrap; gap: 12px; }
.field { min-width: 0; flex: 1 1 110px; display: flex; flex-direction: column; gap: 7px; }
.fields-2 .field { flex-basis: 170px; }
/* Temporarily hide body-fat and visceral-fat inputs while retaining their default calculation values. */
.checker > .body-metrics-fields { display: none; }
.field label, .field .label, .form-label { margin: 0; color: var(--ink); font-size: 11px; font-weight: 650; letter-spacing: .02em; }
.field input, .field input.form-control { width: 100%; height: 48px; padding: 0 13px; color: var(--ink); background: var(--white); border: 1px solid #c7cec7; border-radius: 10px; box-shadow: none; font-size: 16px; font-weight: 600; }
.field input.form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201,244,91,.55); }
.note { color: #68756e; font-size: 11px; line-height: 1.55; }
.invalid { padding: 18px; color: var(--ink); background: #e8f7bc; border-radius: 14px; font-size: 13px; font-weight: 500; }

/* Prominent body-composition dashboard */
.results-dashboard { padding: 4px 0 0; display: flex; flex-direction: column; gap: 24px; color: var(--ink); background: transparent; border-radius: 0; }
.results-dashboard section { min-width: 0; }
/* Temporarily hidden; remove this rule to restore these result sections. */
.results-dashboard .visceral-block,
.results-dashboard .fat-block,
.results-dashboard .calorie-block { display: none; }
.result-block { display: flex; flex-direction: column; gap: 9px; }
.result-label { color: #53625b; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.goal-card, .weight-card, .ideal-card, .visceral-hero, .fat-hero { border-radius: 16px; }
.goal-card { padding: 26px 24px 22px; text-align: center; background: #f4fadf; border: 1.5px solid var(--accent-strong); }
.goal-card.status-gain { background: #edf8f7; border-color: var(--sky); }
.goal-card.status-ok { background: #f4fadf; border-color: var(--accent-strong); }
.goal-program { color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.status-gain .goal-program { color: var(--ink-soft); }
.status-ok .goal-program { color: var(--ink-soft); }
.goal-value { margin-top: 7px; color: var(--ink); font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.1; letter-spacing: -.05em; }
.status-gain .goal-value { color: var(--ink); }
.status-ok .goal-value { color: var(--ink); }
.program-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.program-grid > div { padding-top: 15px; display: flex; flex-direction: column; gap: 3px; border-top: 1px solid rgba(16,39,31,.15); }
.program-grid span { color: var(--ink-soft); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.program-grid strong { color: var(--ink); font-size: 17px; font-weight: 700; }
.program-grid small { color: var(--muted); font-size: 9px; }
.goal-state { margin-top: 15px; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.weight-card { padding: 20px; background: #f5f7f2; border: 1px solid rgba(16,39,31,.14); }
.weight-meta { margin-bottom: 17px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.weight-meta span { color: #84928c; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.weight-meta strong { color: #34423b; font-size: 20px; font-weight: 700; }
.weight-track { position: relative; height: 13px; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 999px; }
.weight-track i:nth-child(1) { background: var(--sky); border-radius: 999px 0 0 999px; }
.weight-track i:nth-child(2) { background: var(--accent); }
.weight-track i:nth-child(3) { background: var(--coral); border-radius: 0 999px 999px 0; }
.weight-track b { position: absolute; z-index: 1; top: 50%; left: clamp(1%, var(--marker), 99%); width: 23px; height: 23px; background: var(--ink); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(16,39,31,.28); transform: translate(-50%, -50%); }
.weight-labels { margin-top: 13px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; color: #46544d; font-size: 9px; font-weight: 650; }
.weight-labels span:nth-child(2) { text-align: center; }
.weight-labels span:last-child { text-align: right; }
.summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.summary-grid > div { min-height: 112px; padding: 17px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; background: #f7f7f5; border: 1px solid #d7ddd8; border-radius: 14px; }
.summary-grid > div:last-child { border-color: var(--accent-strong); }
.summary-grid span, .metric-grid span, .calorie-grid span { color: #5c6963; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.summary-grid strong { color: #34423b; font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.summary-grid small { color: #8c9892; font-size: 10px; font-weight: 600; }
.summary-grid .bmi-0 { border-color: var(--sky); }
.summary-grid .bmi-1 { border-color: var(--accent-strong); }
.summary-grid .bmi-2 { border-color: var(--coral); }
.summary-grid .bmi-3 { border-color: var(--coral); }
.ideal-card { padding: 25px 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; background: #f4fadf; border: 1.5px solid var(--accent-strong); }
.ideal-card strong { color: var(--ink); font-size: clamp(27px, 3.5vw, 38px); font-weight: 700; line-height: 1.1; letter-spacing: -.05em; }
.ideal-card span { color: #34423b; font-size: 12px; font-weight: 650; }
.metric-grid, .calorie-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.metric-grid > div, .calorie-grid > div { min-width: 0; min-height: 84px; padding: 13px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; background: #f7f8f6; border: 1px solid #dde2de; border-radius: 12px; }
.metric-grid strong, .calorie-grid strong { color: #48554f; font-size: 16px; font-weight: 700; }
.metric-grid span, .calorie-grid span { overflow-wrap: anywhere; }
.visceral-hero { padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; background: #f4fadf; border: 1.5px solid var(--accent-strong); }
.visceral-hero > span { color: var(--ink-soft); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.visceral-hero > strong { color: var(--ink); font-size: 39px; font-weight: 700; line-height: 1.1; }
.visceral-hero > small { margin-top: 7px; color: #617069; font-size: 10px; font-weight: 600; }
.visceral-hero.visceral-1 { background: #edf8f7; border-color: var(--sky); }
.visceral-hero.visceral-1 > strong, .visceral-hero.visceral-1 > span { color: var(--ink-soft); }
.visceral-hero.visceral-2, .visceral-hero.visceral-3 { background: #fff3ef; border-color: var(--coral); }
.visceral-hero.visceral-2 > strong, .visceral-hero.visceral-2 > span, .visceral-hero.visceral-3 > strong, .visceral-hero.visceral-3 > span { color: var(--coral); }
.range-grid, .fat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.range-grid > div, .fat-grid > div { min-width: 0; min-height: 67px; padding: 10px 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; background: #f8f9f7; border: 1px solid #dfe4e0; border-radius: 10px; }
.range-grid strong, .fat-grid strong { color: #53615a; font-size: 14px; font-weight: 700; }
.range-grid span, .fat-grid span { color: #7c8983; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.range-grid .active, .fat-grid .active { border-width: 1.5px; box-shadow: inset 0 0 0 1px currentColor; }
.range-grid .range-0.active { color: var(--ink-soft); background: #f4fadf; }
.range-grid .range-1.active { color: var(--ink-soft); background: #edf8f7; }
.range-grid .range-2.active, .range-grid .range-3.active { color: var(--coral); background: #fff3ef; }
.range-grid .active strong, .range-grid .active span, .fat-grid .active strong, .fat-grid .active span { color: inherit; }
.fat-hero { padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; border: 1.5px solid; }
.fat-hero > span { font-size: 9px; font-weight: 650; text-transform: uppercase; }
.fat-hero > strong { font-size: 26px; font-weight: 700; text-transform: uppercase; }
.fat-hero > small { color: #45534c; font-size: 10px; font-weight: 650; }
.fat-0 { color: var(--ink-soft); background: #edf8f7; border-color: var(--sky) !important; }
.fat-1 { color: var(--ink); background: #f4fadf; border-color: var(--accent-strong) !important; }
.fat-2 { color: var(--ink); background: #f8f4e9; border-color: #cbbf9d !important; }
.fat-3 { color: var(--coral); background: #fff3ef; border-color: var(--coral) !important; }
.fat-grid > div:not(.active) { background: #f8f9f7; }
.calorie-grid strong small { font-size: 9px; font-weight: 500; }
.cal-note { color: #7b8882; font-size: 9px; line-height: 1.5; }
.actions { padding: 20px; display: flex; flex-direction: column; gap: 11px !important; color: #fff; background: var(--ink); border-radius: 16px; }
.actions > .btn { width: 100%; }
.actions .row { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
/* Temporarily hide the calendar reminder action. */
.actions a[href^="https://calendar.google.com"] { display: none; }
.btn-ghost { min-height: 39px; padding: 0 14px; display: inline-flex; align-items: center; color: #fff; background: transparent; border: 1px solid rgba(201,244,91,.55); border-radius: 999px; font-size: 10px; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn-ghost:hover { color: var(--ink); background: var(--accent); }
.saved-ok { color: var(--accent); font-size: 10px; }
.saved-box { padding: 11px 13px; background: var(--ink-soft); border-radius: 10px; font-size: 10px; line-height: 1.55; }
.saved-box .d { color: var(--on-dark); }
.saved-box .c { color: var(--accent); font-weight: 650; }

/* Marquee */
.ticker { width: 100%; overflow: hidden; color: var(--ink); background: var(--accent); border: 0; border-radius: 0; padding: 17px 0; }
.ticker-track { width: max-content; display: flex; will-change: transform; animation: marquee 28s linear infinite; }
.ticker-group { min-width: 100vw; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-around; gap: 42px; padding-right: 42px; }
.ticker-track span { flex: 0 0 auto; white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: .15em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Shared sections */
.section { width: 100%; padding: var(--section-y) max(36px, calc((100% - 1360px) / 2)); display: flex; flex-direction: column; gap: clamp(38px, 5vw, 66px); }
.h2 { max-width: 900px; color: inherit; font-family: var(--font); font-size: clamp(37px, 4.5vw, 64px); font-weight: 550; line-height: 1.03; letter-spacing: -.05em; text-wrap: balance; }
.section-sub { max-width: 650px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); font-weight: 350; line-height: 1.62; }
.section-index { margin-bottom: 20px; color: #6b7a73; }
.section-header-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(32px, 6vw, 100px); align-items: end; }
.dark { color: #fff; background: var(--ink); }
.dark .section-index { color: var(--accent); }
.dark .section-sub { color: var(--on-dark); }
.dark .h2 .accent-text { color: var(--accent); }
.section > .row { width: auto; margin: 0 calc(var(--bs-gutter-x) * -.5); }
.text-link { margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 650; text-underline-offset: 5px; }
.text-link span:last-child { font-size: 20px; }

/* Analysis */
.analysis-section { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(480px, 1.28fr); align-items: center; gap: clamp(50px, 8vw, 130px); background: var(--cream); }
.section-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 21px; }
.section-intro .section-index { margin-bottom: 2px; }
.analysis-content { padding: clamp(24px, 3.4vw, 42px); overflow: hidden; background: var(--ink); border: 1px solid rgba(16,39,31,.12); border-radius: 34px; }
.insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.insight-card { min-width: 0; min-height: 220px; padding: clamp(22px, 2.5vw, 30px); display: flex; flex-direction: column; align-items: flex-start; color: var(--ink); background: #edf0e9; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; transition: transform .22s ease, box-shadow .22s ease; }
.insight-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,39,31,.09); }
.insight-card.featured { min-height: 250px; grid-column: 1 / -1; color: #fff; background: var(--ink-deep); border-color: rgba(255,255,255,.06); }
.insight-top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.insight-code { width: 62px; height: 62px; flex: 0 0 62px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: var(--accent); border-radius: 50%; }
.insight-code i { font-size: 30px; line-height: 1; }
.insight-number { color: rgba(16,39,31,.42); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.insight-card.featured .insight-number { color: rgba(255,255,255,.48); }
.insight-card h3 { margin-top: auto; color: inherit; font-size: clamp(21px, 2.2vw, 29px); font-weight: 600; line-height: 1.18; letter-spacing: -.035em; }
.insight-card p { margin-top: 9px; color: #58665f; font-size: 12px; line-height: 1.6; }
.insight-card.featured h3 { max-width: 520px; font-size: clamp(30px, 3.4vw, 43px); }
.insight-card.featured p { max-width: 580px; color: var(--on-dark); font-size: 13px; }

/* Process */
.process-section { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(at 66.79930108557978% 69.68989628152042%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 1) 0%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 0) 100%), radial-gradient(at 61.82304258253861% 11.107588565646475%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%), radial-gradient(at 50.33818035811639% 84.1043193735713%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%), radial-gradient(at 0.593571949142957% 24.726571559549683%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 1) 0%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 0) 100%), radial-gradient(at 3.8331390403426924% 97.04197006628675%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%), radial-gradient(at 1.0416986949128848% 71.76811948262599%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%), radial-gradient(at 86.51506261108214% 25.23254058709339%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 1) 0%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 0) 100%), radial-gradient(at 62.251542569870665% 3.3187504594227812%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%), radial-gradient(at 43.37962605487638% 67.46464616400523%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%), radial-gradient(at 77.56845020837169% 95.87430164988038%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 1) 0%, hsla(153.97590361445782, 72.17391304347827%, 22.54901960784314%, 0) 100%), radial-gradient(at 85.38713153789249% 45.887599553646005%, hsla(0, 0%, 0%, 1) 0%, hsla(0, 0%, 0%, 0) 100%); }
.process-section::after { content: ''; position: absolute; z-index: -1; right: -180px; bottom: -310px; width: 620px; height: 620px; border: 1px solid rgba(201,244,91,.16); border-radius: 50%; box-shadow: 0 0 0 72px rgba(201,244,91,.02), 0 0 0 144px rgba(201,244,91,.016); }
.card-dark { position: relative; height: 100%; padding: 28px; display: flex; flex-direction: column; gap: 14px; color: #fff; background: rgba(255,255,255,.045); border: 1px solid var(--line-light); border-radius: 15px; transition: transform .25s ease, background-color .25s ease, border-color .25s ease; }
.card-dark:hover { transform: translateY(-5px); background: rgba(255,255,255,.07); border-color: rgba(201,244,91,.42); }
.card-dark h3 { color: #fff; font-family: var(--font); font-size: 16px; font-weight: 600; line-height: 1.35; }
.card-dark p, .card-dark li { color: var(--on-dark); font-size: 13px; line-height: 1.65; }
.card-dark ul { padding-left: 18px; display: flex; flex-direction: column; gap: 7px; }
.card-dark .btn { margin-top: auto; align-self: flex-start; }
.well-num { padding-bottom: 24px; margin-bottom: 6px; color: var(--accent); border-bottom: 1px solid var(--line-light); font-size: 31px; font-weight: 350; line-height: 1; letter-spacing: -.04em; }
.card-label { align-self: flex-end; color: var(--accent); font-size: 11px; letter-spacing: .15em; }

/* Benefits */
.benefits-section { color: var(--ink); background: var(--accent); }
.benefits-section .section-index, .benefits-section .section-sub { color: rgba(16,39,31,.7); }
.benefit { min-height: 148px; height: 100%; padding: 24px; display: flex; align-items: center; gap: 17px; color: var(--ink); background: rgba(255,253,248,.88); border: 1px solid rgba(16,39,31,.12); border-radius: 16px; font-size: 14px; font-weight: 550; line-height: 1.45; }
.benefit-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: var(--accent); background: var(--ink); border-radius: 50%; }
.benefit-icon i { font-size: 20px; line-height: 1; }
.benefit-text { min-width: 0; }

/* CTA band */
.band { position: relative; isolation: isolate; padding: clamp(90px, 12vw, 164px) max(36px, calc((100% - 1360px) / 2)); display: flex; flex-direction: column; align-items: center; gap: 25px; overflow: hidden; color: #fff; text-align: center; background: var(--coral); }
.band::before, .band::after { content: ''; position: absolute; z-index: -1; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.band::before { top: -270px; left: -100px; box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.025); }
.band::after { right: -175px; bottom: -300px; box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.025); }
.band-label { color: #fff; }
.band-title { max-width: 1120px; font-size: clamp(43px, 6.4vw, 88px); font-weight: 600; line-height: .98; letter-spacing: -.06em; text-wrap: balance; }
.band-title .accent-text { color: var(--ink); }
.band-sub { font-size: clamp(18px, 2vw, 24px); font-weight: 350; }
.band-sub b { color: var(--ink); font-weight: 650; }

/* Tips */
.tips-section { background: var(--paper); }
.card { height: 100%; padding: 26px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 19px; box-shadow: none; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(16,39,31,.08); }
.card h3 { color: var(--ink); font-family: var(--font); font-size: 17px; font-weight: 600; line-height: 1.38; }
.card p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.card .num { width: 38px; height: 38px; margin-bottom: 14px; display: grid; place-items: center; color: var(--ink); background: var(--accent); border-radius: 50%; font-size: 12px; font-weight: 700; }
.card a.share { min-height: 42px; margin-top: auto; display: inline-flex; align-items: flex-end; color: var(--ink); font-size: 11px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }

/* Booking */
.book { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(490px, 1.2fr); align-items: start; gap: clamp(52px, 9vw, 150px); color: #fff; background: var(--ink); }
.book-copy { position: sticky; top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.book-copy .section-index { margin: 0; color: var(--accent); }
.book-copy .section-sub { color: var(--on-dark); }
.location-card { margin-top: 18px; padding-top: 22px; width: 100%; display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line-light); }
.location-pin { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); background: var(--accent); border-radius: 50%; font-size: 20px; }
.location-card div { display: flex; flex-direction: column; }
.location-card strong { font-size: 14px; font-weight: 600; }
.location-card div span { color: #9eafa7; font-size: 12px; }
.book-card { min-width: 0; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 22px; color: var(--ink); background: var(--paper); border: 0; border-radius: 26px; box-shadow: 0 28px 70px rgba(1,10,6,.28); }
.form-intro { padding-bottom: 18px; display: flex; justify-content: space-between; color: #6b7a73; border-bottom: 1px solid var(--line); }
.form-intro span:last-child { color: var(--ink); }
.book-card .field input.form-control { height: 52px; font-weight: 500; border-color: #c7cec7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 42px; padding: 0 16px; color: var(--ink); background: var(--white); border: 1px solid #b9c2bc; border-radius: 999px; font-size: 12px; font-weight: 500; cursor: pointer; }
.chips button[aria-pressed='true'] { background: var(--accent); border-color: var(--ink); }
.book-card .btn { width: 100%; }

/* Reviews */
.reviews-section { background: var(--cream); }
.reviews-heading { align-items: end; }
.review-score { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.review-score span { color: var(--coral); font-size: 22px; letter-spacing: .16em; }
.review-score small { color: #6b7a73; font-size: 9px; letter-spacing: .15em; }
.card.quote { min-height: 310px; padding: 30px; justify-content: space-between; background: var(--paper); border: 0; border-radius: 22px; box-shadow: 0 12px 34px rgba(16,39,31,.06); }
.card.quote::before { content: '“'; height: 45px; color: var(--accent-strong); font-size: 72px; font-family: Georgia, serif; line-height: 1; }
.card.quote p { color: var(--ink); font-size: 14px; line-height: 1.72; }
.card.quote b { padding-top: 18px; color: var(--ink); border-top: 1px solid var(--line); font-size: 12px; font-weight: 650; }

/* FAQ */
.faq { max-width: 1060px; margin: 0 auto; padding-left: 36px; padding-right: 36px; background: var(--cream); }
.faq .section-index { margin-bottom: -20px; }
#faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq .accordion { --bs-accordion-border-color: transparent; --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(201,244,91,.55); --bs-accordion-active-bg: var(--paper); --bs-accordion-active-color: var(--ink); }
.faq .accordion-item { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.faq .accordion-button { min-height: 70px; padding: 18px 22px; color: var(--ink); background: transparent; box-shadow: none; font-family: var(--font); font-size: 14px; font-weight: 600; }
.faq .accordion-button:not(.collapsed) { color: var(--ink); background: var(--paper); box-shadow: none; }
.faq .accordion-button::after { width: 28px; height: 28px; background: none; content: '+'; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; font-size: 18px; line-height: 1; }
.faq .accordion-button:not(.collapsed)::after { content: '−'; transform: none; }
.faq .accordion-body { padding: 0 22px 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* Business and footer */
.business-section { background: var(--ink-deep); }
.business-section .card-dark { min-height: 420px; }
.footer { padding: 70px max(36px, calc((100% - 1360px) / 2)) 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 54px 80px; color: #fff; background: #06100c; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-brand > p { max-width: 340px; color: #8fa098; font-size: 13px; }
.footer-address { justify-self: end; max-width: 440px; }
.footer h3 { margin-bottom: 10px; color: var(--accent); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.footer p { color: var(--on-dark); font-size: 13px; line-height: 1.7; }
.footer a { text-underline-offset: 3px; }
.footer .legal { grid-column: 1 / -1; width: 100%; padding-top: 23px; color: #7d8f86; border-top: 1px solid var(--line-light); font-size: 11px; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; min-height: 54px; padding: 0 20px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); background: var(--accent); border: 1px solid rgba(16,39,31,.12); border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-size: 13px; font-weight: 650; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.wa-float:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.25); }
.back-to-top { position: fixed; right: 22px; bottom: 88px; z-index: 49; width: 48px; height: 48px; display: grid; place-items: center; color: var(--accent); background: var(--ink); border: 1px solid rgba(201,244,91,.4); border-radius: 50%; box-shadow: 0 10px 26px rgba(0,0,0,.2); font-size: 22px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background-color .2s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { color: var(--ink); background: var(--accent); transform: translateY(-3px); }

/* Bootstrap coexistence */
body { font-family: var(--font); color: var(--ink); background: var(--cream); font-size: 16px; }
h1, h2, h3, h4 { margin: 0; color: inherit; font-family: var(--font); }
.row.g-4 { --bs-gutter-x: 18px; --bs-gutter-y: 18px; }
.form-control { font-family: var(--font); }

@media (max-width: 1100px) {
  :root { --page: min(100% - 44px, 980px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .checker { width: 100%; max-width: none; }
  .analysis-section { grid-template-columns: 1fr; }
  .analysis-content { min-height: 0; }
  .book { grid-template-columns: 1fr; }
  .book-copy { position: static; max-width: 720px; }
}

@media (max-width: 760px) {
  :root { --page: calc(100% - 32px); --section-y: 76px; }
  .topbar { min-height: 78px; }
  .brand-name { display: inline; font-size: clamp(14px, 4vw, 18px); }
  .topbar-cta { display: none; }
  .lang { padding-left: 5px; }
  .lang button { min-width: 38px; padding: 0 8px; }
  .hero-grid { padding-top: 54px; gap: 48px; }
  .hero-copy { gap: 23px; padding-top: 0; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .lead { font-size: 19px; }
  .btn-row { width: 100%; }
  .btn-row .btn { width: 100%; }
  .stats { gap: 8px; }
  .stats strong { font-size: 27px; }
  .stats span { font-size: 9px; }
  .checker { padding: 20px; border-radius: 22px; }
  .checker-title { font-size: 23px; }
  .goal-card { padding: 23px 16px 18px; }
  .goal-value { font-size: 29px; }
  .program-grid { gap: 8px; }
  .program-grid > div { padding-left: 4px; padding-right: 4px; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .range-grid, .fat-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding-left: 20px; padding-right: 20px; }
  .section-header-row { grid-template-columns: 1fr; gap: 24px; }
  .h2 { font-size: clamp(37px, 11vw, 51px); }
  .analysis-section { padding-left: 20px; padding-right: 20px; gap: 46px; }
  .analysis-content { padding: 14px; border-radius: 24px; }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-card.featured { grid-column: auto; }
  .insight-card, .insight-card.featured { min-height: 180px; padding: 20px; }
  .insight-code { width: 52px; height: 52px; flex-basis: 52px; }
  .insight-code i { font-size: 25px; }
  .band { padding: 90px 20px; }
  .band-title { font-size: clamp(43px, 13vw, 62px); }
  .book-card { padding: 22px; border-radius: 20px; }
  .review-score { align-items: flex-start; }
  .card.quote { min-height: auto; }
  .faq { padding-left: 20px; padding-right: 20px; }
  .business-section .card-dark { min-height: auto; }
  .footer { padding: 58px 20px 28px; grid-template-columns: 1fr; gap: 38px; }
  .footer-address { justify-self: start; }
  .footer .legal { grid-column: 1; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .back-to-top { right: 16px; bottom: 78px; width: 46px; height: 46px; }
}

@media (max-width: 520px) {
  .topbar { min-height: 72px; flex-wrap: nowrap; gap: 8px; }
  .topbar .brand { width: auto; min-width: 0; flex: 0 1 auto; }
  .topbar .brand-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    white-space: normal;
    font-size: clamp(14px, 4.6vw, 18px);
    line-height: .9;
    letter-spacing: -.045em;
  }
  .topbar .brand-name > span { display: block; margin-top: 3px; }
  .topbar-actions { width: auto; flex: 0 0 auto; margin-left: auto; justify-content: flex-end; }
  .lang { gap: 0; padding: 3px; }
  .lang button { min-width: 33px; min-height: 34px; padding: 0 6px; font-size: 10px; }
}

@media (max-width: 420px) {
  .fields .field { flex-basis: calc(50% - 6px); }
  .fields:not(.fields-2) .field:first-child { flex-basis: 100%; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .results-dashboard { margin-left: -4px; margin-right: -4px; }
  .weight-card { padding: 17px 13px; }
  .weight-labels { font-size: 8px; }
  .summary-grid { grid-template-columns: 1fr; }
  .metric-grid, .calorie-grid { grid-template-columns: 1fr; }
  .metric-grid > div, .calorie-grid > div { min-height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* First-visit claim modal */
.claim-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(9, 25, 19, .72); }
.claim-modal.open { display: flex; }
.claim-card { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 28px); overflow-y: auto; padding: clamp(22px, 4vw, 30px); display: flex; flex-direction: column; gap: 11px; color: var(--ink); background: var(--paper); border-radius: 26px; box-shadow: 0 28px 70px rgba(1, 10, 6, .4); }
.claim-card h2 { margin: 0; font-size: clamp(22px, 5vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.claim-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.claim-card .field { flex: none; display: flex; flex-direction: column; gap: 6px; }
.claim-card input.form-control { height: 48px; font-weight: 500; border-color: #c7cec7; }
.claim-card input.form-control.is-invalid { border-color: #d94b3d; background: #fff8f6; box-shadow: 0 0 0 3px rgba(217, 75, 61, .12); }
.field-error { display: none; color: #b8372c; font-size: 11px; font-weight: 600; line-height: 1.4; }
.field-error:not(:empty) { display: flex; align-items: center; gap: 6px; }
.field-error:not(:empty)::before { content: '!'; width: 16px; height: 16px; flex: 0 0 16px; display: inline-grid; place-items: center; color: #fff; background: #d94b3d; border-radius: 50%; font-size: 10px; font-weight: 700; }
.claim-card .btn { width: 100%; margin-top: 15px; }
.claim-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.claim-close:hover { background: rgba(16, 39, 31, .08); }
.claim-skip { align-self: center; border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.claim-msg { min-height: 18px; margin: 0; font-size: 13px; font-weight: 500; color: #c2412b; }
.claim-msg:empty { display: none; }
.claim-msg.ok { color: #1f7a3a; }

@media (max-width: 520px) {
  .claim-modal { padding: 12px; }
  .claim-card { padding: 24px 20px 22px; gap: 10px; border-radius: 22px; }
  .claim-card h2 { font-size: 24px; }
  .claim-card .btn-lg { min-height: 52px; }
}
