:root {
  --red: #d93a35;
  --red-dark: #b82723;
  --green: #4f7f59;
  --green-soft: #e9f0df;
  --ink: #1b1b19;
  --muted: #6f706b;
  --line: #e7e7e1;
  --paper: #fffefb;
  --cream: #f6f7ee;
  --yellow: #f4c84a;
  --shadow: 0 22px 60px rgba(33, 36, 29, .10);
  --radius: 28px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
[dir="rtl"] .display,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 { font-family: Tahoma, "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
.soft-section { background: var(--cream); }
.dark-section { background: var(--ink); color: white; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.display, h1, h2, h3 { font-family: "Manrope", "Segoe UI", Arial, sans-serif; letter-spacing: -.045em; line-height: 1.05; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); margin-bottom: 26px; }
h2 { font-size: clamp(2.3rem, 4.4vw, 4.6rem); margin-bottom: 20px; }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); margin-bottom: 12px; }
.lede { max-width: 700px; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.3rem); }
.red { color: var(--red); }
.green { color: var(--green); }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 44px; }
.section-head > div:first-child { max-width: 760px; }
.section-head p { margin-bottom: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 251, .94);
  border-bottom: 1px solid rgba(25, 25, 24, .08);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 84px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 8px; margin-inline-end: auto; }
.site-header .brand,
.site-footer .brand {
  position: relative;
  flex: 0 0 200px;
  width: 200px;
  height: 44px;
  gap: 0;
  overflow: hidden;
  background: url("images/calories-logo.png") center / 200px auto no-repeat;
}
.site-header .brand .logo-mark,
.site-header .brand .logo-copy,
.site-footer .brand .logo-mark,
.site-footer .brand .logo-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.site-footer .brand {
  width: 214px;
  height: 58px;
  flex-basis: 214px;
  margin-bottom: 18px;
  border-radius: 12px;
  background-color: #fff;
  background-size: 190px auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}
.logo-mark { position: relative; color: var(--red); font: 800 2.65rem/1 "Manrope", sans-serif; letter-spacing: -.14em; }
.logo-mark::after { content: ""; position: absolute; right: -6px; top: -1px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.logo-copy { display: grid; line-height: 1; }
.logo-copy strong { color: var(--red); font: 800 1.12rem/1.1 "Manrope", sans-serif; }
.logo-copy small { margin-top: 4px; color: var(--green); font-size: .52rem; font-weight: 800; letter-spacing: .14em; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: .92rem; font-weight: 700; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--red); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; padding: 8px; cursor: pointer; }
.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.language-button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.language-button:hover { transform: translateY(-1px); }
.language-button.is-active { background: var(--ink); color: #fff; }

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: white; box-shadow: 0 12px 28px rgba(217, 58, 53, .22); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: #d4d4cf; background: white; }
.btn-outline:hover { box-shadow: 0 10px 28px rgba(30, 30, 27, .08); }
.btn-light { background: white; color: var(--ink); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero { min-height: calc(100vh - 84px); display: grid; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(40px, 7vw, 100px); align-items: center; padding: 70px 0 74px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lede { max-width: 600px; }
.kinetic-headline { display: grid; justify-items: start; gap: .035em; font-size: clamp(3.35rem, 6.6vw, 5.75rem); line-height: .88; letter-spacing: -.07em; }
.kinetic-line { display: block; position: relative; white-space: nowrap; }
.kinetic-word { display: inline-flex; position: relative; z-index: 1; }
.kinetic-letter { display: inline-block; opacity: 0; transform: translate3d(0,.72em,0) rotate(3deg); transform-origin: 50% 100%; }
.kinetic-space { width: .27em; }
.kinetic-line:nth-child(2) { font-size: .9em; }
.kinetic-accent { padding: .02em .12em .08em .06em; color: var(--red); }
.kinetic-accent::before {
  content: "";
  position: absolute;
  inset: .12em -.02em -.02em -.03em;
  z-index: 0;
  border-radius: .12em;
  background: linear-gradient(105deg, rgba(228,57,52,.08), rgba(228,57,52,.2) 48%, rgba(255,199,74,.19));
  transform: scaleX(0) skewX(-4deg);
  transform-origin: left center;
}
.kinetic-accent::after {
  content: "";
  position: absolute;
  left: .05em;
  right: .02em;
  bottom: -.02em;
  height: .065em;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), #ff785f, var(--red));
  background-size: 220% 100%;
  transform: scaleX(0);
  transform-origin: left center;
}
.page-ready .kinetic-letter { animation: kineticLetterIn .68s cubic-bezier(.16,1,.3,1) forwards; animation-delay: var(--char-delay, .14s); }
.page-ready .kinetic-accent::before { animation: kineticHighlightIn .8s .82s cubic-bezier(.16,1,.3,1) forwards; }
.page-ready .kinetic-accent::after { animation: kineticUnderlineIn .72s 1.02s cubic-bezier(.16,1,.3,1) forwards, kineticUnderlineGlow 4.8s 2.1s ease-in-out infinite; }
html[dir="rtl"] .kinetic-headline { justify-items: start; font-family: "Cairo", Tahoma, sans-serif; font-size: clamp(2.75rem, 5.4vw, 4.8rem); line-height: 1.04; letter-spacing: 0; }
html[dir="rtl"] .kinetic-line:nth-child(2) { font-size: .86em; }
html[dir="rtl"] .kinetic-phrase { direction: rtl; }
.kinetic-headline:hover .kinetic-accent::before { filter: saturate(1.25); }
.hero-media { position: relative; min-height: 620px; }
.hero-photo-wrap { position: absolute; inset: 10px 10px 20px 0; border-radius: 48% 48% 42% 42% / 36% 36% 48% 48%; overflow: hidden; background: var(--green-soft); }
.hero-photo { height: 100%; object-fit: cover; }
.hero-halo { position: absolute; inset: 80px -28px -18px 60px; border-radius: 50%; background: var(--green-soft); z-index: -1; }
.nutrition-card { position: absolute; left: -10px; bottom: 22px; width: min(320px, 75%); background: white; padding: 22px 24px; border-radius: 18px; box-shadow: var(--shadow); }
.nutrition-card small { color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.nutrition-card strong { display: block; margin: 8px 0 2px; font: 800 1.16rem "Manrope", sans-serif; }
.nutrition-card span { color: var(--green); font-size: .9rem; font-weight: 700; }
.spark { position: absolute; right: -6px; top: 80px; color: var(--red); font-size: 5rem; font-weight: 200; }
.page-ready .hero-photo { animation: heroFloat 8s ease-in-out infinite alternate; }
.page-ready .hero-halo { animation: haloPulse 5s ease-in-out infinite; }
.page-ready .spark { animation: sparkSpin 9s linear infinite; transform-origin: center; }
.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -55%;
  width: 34%;
  transform: rotate(16deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  animation: heroShine 7s 1.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroFloat { to { transform: scale(1.035) translate3d(0,-7px,0); } }
@keyframes kineticLetterIn { to { opacity: 1; transform: translate3d(0,0,0) rotate(0); } }
@keyframes kineticHighlightIn { to { transform: scaleX(1) skewX(-4deg); } }
@keyframes kineticUnderlineIn { to { transform: scaleX(1); } }
@keyframes kineticUnderlineGlow { 0%, 100% { background-position: 0 0; opacity: .82; } 50% { background-position: 100% 0; opacity: 1; } }
@keyframes haloPulse { 50% { transform: scale(1.035); opacity: .72; } }
@keyframes sparkSpin { to { transform: rotate(360deg); } }
@keyframes heroShine { 0%, 58% { transform: translateX(0) rotate(16deg); opacity: 0; } 68% { opacity: 1; } 82%, 100% { transform: translateX(520%) rotate(16deg); opacity: 0; } }

.trust-bar { border-block: 1px solid var(--line); }
.trust-grid { min-height: 104px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; color: #45463f; font-weight: 700; }
.trust-icon { color: var(--green); font-size: 1.35rem; }

.food-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.food-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 22px; transition: transform .25s ease, box-shadow .25s ease; }
.food-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.food-card-media { aspect-ratio: 1.08; overflow: hidden; background: #eef0e8; }
.food-card-media img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.food-card:hover img { transform: scale(1.05); }
.food-card-body { padding: 22px; }
.tag { display: inline-flex; color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.food-card h3 { margin: 10px 0; font-size: 1.25rem; }
.nutrition { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.chip { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--green-soft); color: #36593d; font-size: .77rem; font-weight: 800; }
.text-link { display: inline-flex; gap: 8px; color: var(--red); font-size: .84rem; font-weight: 800; text-transform: uppercase; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { position: relative; min-height: 270px; overflow: hidden; border-radius: 20px; color: white; isolation: isolate; }
.category-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.78)); }
.category-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; z-index: -2; transition: transform .45s ease; }
.category-card:hover img { transform: scale(1.06); }
.category-card-content { position: absolute; inset: auto 22px 22px; }
.category-card small { opacity: .8; font-weight: 800; letter-spacing: .12em; }
.category-card h3 { margin: 5px 0 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 100px); align-items: center; }
.split-media { min-height: 560px; border-radius: var(--radius); overflow: hidden; background: var(--green-soft); }
.split-media img { height: 100%; min-height: 560px; object-fit: cover; }
.steps { display: grid; gap: 0; margin-top: 30px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.step b { color: var(--red); font: 800 1rem "Manrope", sans-serif; }

.plan-panel { position: relative; overflow: hidden; border-radius: 34px; padding: clamp(42px, 7vw, 80px); background: var(--green); color: white; }
.plan-panel::after { content: "30"; position: absolute; right: -10px; bottom: -90px; color: rgba(255,255,255,.08); font: 800 clamp(12rem, 25vw, 25rem)/1 "Manrope", sans-serif; }
.plan-panel > * { position: relative; z-index: 1; }
.plan-panel p { max-width: 650px; color: rgba(255,255,255,.8); }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: white; transition: transform .22s ease, box-shadow .22s ease; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-card .meta { color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.article-card h3 { margin-top: 20px; }
.article-card p { color: var(--muted); }

.cta-band { overflow: hidden; border-radius: 30px; background: var(--red); color: white; padding: clamp(42px, 7vw, 78px); }
.cta-band p { max-width: 660px; color: rgba(255,255,255,.82); }

.page-hero { padding: 95px 0 72px; background: linear-gradient(135deg, #fff 55%, var(--cream)); }
.page-hero h1 { max-width: 970px; font-size: clamp(3.4rem, 7vw, 6.7rem); }
.page-hero .lede { max-width: 780px; }

.filter-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 26px; margin-bottom: 18px; scrollbar-width: thin; }
.filter-button { flex: 0 0 auto; border: 1px solid var(--line); background: white; border-radius: 999px; padding: 10px 17px; font-size: .82rem; font-weight: 800; cursor: pointer; }
.filter-button.is-active, .filter-button:hover { background: var(--ink); color: white; border-color: var(--ink); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.menu-grid .food-card[hidden] { display: none; }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program-card { min-height: 330px; display: flex; flex-direction: column; padding: 34px; border-radius: 24px; background: white; border: 1px solid var(--line); }
.program-card .number { color: var(--red); font: 800 3.5rem/1 "Manrope", sans-serif; opacity: .28; }
.program-card h3 { margin-top: 58px; }
.program-card p { color: var(--muted); }
.program-card .text-link { margin-top: auto; }

.location-card, .contact-card, .calculator-card { border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 5vw, 52px); background: white; box-shadow: 0 20px 60px rgba(30, 30, 27, .05); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card p { color: var(--muted); }
.contact-card strong { display: block; font: 800 1.25rem "Manrope", sans-serif; }

.calculator-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d7d8d1; border-radius: 12px; padding: 14px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(217,58,53,.14); border-color: var(--red); }
.result-box { display: grid; align-content: center; min-height: 100%; padding: 40px; border-radius: 24px; background: var(--ink); color: white; }
.result-number { color: var(--yellow); font: 800 clamp(3rem, 6vw, 5.5rem)/1 "Manrope", sans-serif; }
.result-box p { color: rgba(255,255,255,.7); }
.notice { padding: 18px 20px; border-left: 4px solid var(--green); background: var(--green-soft); color: #37503d; border-radius: 0 12px 12px 0; }

.article-shell { width: min(calc(100% - 40px), 850px); margin-inline: auto; }
.article-hero { padding: 92px 0 54px; }
.article-hero h1 { font-size: clamp(3rem, 6vw, 5.7rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--green); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.article-content { padding-bottom: 100px; font-size: 1.08rem; }
.article-content h2 { font-size: clamp(2rem, 3.7vw, 3.3rem); margin-top: 54px; }
.article-content p, .article-content li { color: #55564f; }

.site-footer { background: #171817; color: white; padding: 74px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-grid h3 { font-size: 1rem; letter-spacing: 0; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.66); }
.footer-links { display: grid; gap: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.54); font-size: .82rem; }
.site-footer .logo-copy strong { color: white; }
.site-footer .logo-copy small { color: rgba(255,255,255,.6); }

[dir="rtl"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .eyebrow::before { order: 2; }
[dir="rtl"] .text-link,
[dir="rtl"] .btn { letter-spacing: 0; }
[dir="rtl"] .notice { border-left: 0; border-right: 4px solid var(--green); border-radius: 12px 0 0 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .main-nav { position: fixed; inset: 84px 0 auto; display: none; padding: 24px 20px 30px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .main-nav.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .desktop-order { display: none; }
  .language-switcher { margin-inline-start: auto; }
  .hero-grid, .split, .calculator-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-media { min-height: 560px; max-width: 700px; }
  .food-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid, .program-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 78px 0; }
  .section-sm { padding: 54px 0; }
  .nav-wrap { min-height: 72px; gap: 10px; }
  .site-header .brand { flex-basis: 145px; width: 145px; height: 36px; background-size: 145px auto; }
  .language-switcher { padding: 2px; }
  .language-button { min-width: 34px; min-height: 30px; }
  .main-nav { inset-block-start: 72px; }
  .hero-grid { padding: 54px 0; }
  .hero-media { min-height: 430px; }
  .hero-photo-wrap { inset: 0 0 16px; }
  .nutrition-card { left: 10px; }
  .spark { right: 0; top: 18px; font-size: 3.6rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding: 20px 0; gap: 20px; }
  .trust-item { justify-content: flex-start; font-size: .86rem; }
  .food-grid, .category-grid, .menu-grid, .program-grid, .article-grid, .contact-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 240px; }
  .section-head { display: block; }
  .section-head .text-link { margin-top: 18px; }
  .split-media, .split-media img { min-height: 400px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .button-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .kinetic-letter { opacity: 1; transform: none; }
  .kinetic-accent::before { transform: scaleX(1) skewX(-4deg); }
  .kinetic-accent::after { transform: scaleX(1); }
}
