/* ============================================================
   WINTER VALLEY FARM — MAIN STYLESHEET
   1. Design Tokens & System Variables
   2. Base Reset & Typography
   3. Animations & Reveal Utilities
   4. Shared Section Headers & Eyebrows
   5. Farm Crest (Identity & SVG Divider)
   6. Glassmorphism Sticky Navbar
   7. Sticky Floating WhatsApp Button (FAB)
   8. Hero Section & Atmosphere
   9. Freshness Guarantee & Gauge Meter
   10. Health Benefits (6 Cards Grid)
   11. Recipes & Sweets Grid
   12. Trust & Farm Pillars Grid
   13. Interactive Recipe Modal Dialog
   14. Footer & Legal
   15. Accessibility & Reduced Motion
============================================================ */

/* ------------------------------------------------------------
   1. DESIGN TOKENS & SYSTEM VARIABLES
------------------------------------------------------------ */
:root {
  --plum:       #3B1E4E;
  --plum-deep:  #241330;
  --plum-ink:   #1a0e24;
  --olive:      #4C7A3F;
  --olive-soft: #6a9b5b;
  --berry:      #8E3B7A;
  --berry-lit:  #b8579f;
  --cream:      #F7F4F1;
  --cream-2:    #efe9e3;
  --gold:       #C9A84C;
  --ink:        #2a1e30;
  --muted:      #6f6478;

  --shadow-sm: 0 4px 12px -2px rgba(37, 19, 48, 0.12);
  --shadow-md: 0 12px 34px -14px rgba(37, 19, 48, 0.35);
  --shadow-lg: 0 24px 60px -18px rgba(37, 19, 48, 0.45);

  --maxw: 1120px;
  --ease: cubic-bezier(.22, 1, .36, .58);

  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Inter", system-ui, -apple-system, sans-serif;
  --font-ar: "Tajawal", "Inter", system-ui, sans-serif;
}

/* ------------------------------------------------------------
   2. BASE RESET & TYPOGRAPHY
------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-ar);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.en { font-family: var(--font-display); direction: ltr; unicode-bidi: isolate; }
.ar { font-family: var(--font-ar); direction: rtl; unicode-bidi: isolate; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
section { position: relative; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--berry); color: #fff; }

/* ------------------------------------------------------------
   3. ANIMATIONS & REVEAL UTILITIES
------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------
   4. SHARED SECTION HEADERS & EYEBROWS
------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--berry);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 6.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--plum);
}
.section-title .ar {
  display: block;
  font-size: 0.52em;
  font-weight: 500;
  color: var(--olive);
  margin-top: 0.35em;
  letter-spacing: 0;
}

/* ------------------------------------------------------------
   5. FARM CREST (Identity & Valley Graphic)
------------------------------------------------------------ */
.crest {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.crest .en {
  font-weight: 600;
  font-size: clamp(0.84rem, 3.1vw, 1.02rem);
  letter-spacing: 0.34em;
  text-indent: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
}
.crest .valley {
  display: block;
  width: min(360px, 76vw);
  height: auto;
  margin: 12px 0 8px;
}
.crest .valley .line {
  fill: none;
  stroke: url(#crestRule);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  transition: stroke-dashoffset 1.25s var(--ease) 100ms;
}
.crest.in .valley .line { stroke-dashoffset: 0; }
.crest .valley .berry {
  transform: scale(0);
  transform-box: view-box;
  transform-origin: 180px 42px;
  transition: transform 0.5s var(--ease) 1.3s;
}
.crest.in .valley .berry { transform: scale(1); }
.crest .ar {
  font-weight: 700;
  font-size: clamp(1.5rem, 6.6vw, 2.15rem);
  line-height: 1.3;
  color: #fff;
}
.crest .origin {
  margin-top: 14px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b09dbd;
}
.crest .origin .ar { font-size: 0.86em; font-weight: 500; color: inherit; letter-spacing: 0; }
.crest .origin .sep { color: var(--gold); margin-inline: 0.3em; }

/* ------------------------------------------------------------
   6. GLASSMORPHISM STICKY NAVBAR
------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(36, 19, 48, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
  padding-top: max(10px, env(safe-area-inset-top));
  padding-bottom: 10px;
}
.navbar.scrolled {
  background: rgba(26, 14, 36, 0.95);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  padding-top: max(8px, env(safe-area-inset-top));
  padding-bottom: 8px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-brand-text .en {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}
.nav-brand-text .ar {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e6d7ef;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  text-decoration: none;
  color: #dfd2e8;
  font-size: 0.84rem;
  font-weight: 500;
  transition: color 0.25s var(--ease);
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-links a .ar { font-size: 0.88em; opacity: 0.8; }
.nav-links a:hover { color: var(--gold); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), #e0be6c);
  color: var(--plum-ink);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 14px -3px rgba(201, 168, 76, 0.5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(201, 168, 76, 0.7);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(26, 14, 36, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.3s ease;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 1rem;
    width: 100%;
    justify-content: center;
    padding: 6px 0;
  }
}

/* ------------------------------------------------------------
   7. STICKY FLOATING WHATSAPP CTA (FAB)
------------------------------------------------------------ */
.fab-container {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  inset-inline-end: 22px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  animation: fabEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
@keyframes fabEntrance {
  0% { opacity: 0; transform: translateY(30px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.fab-badge {
  background: rgba(26, 14, 36, 0.92);
  border: 1px solid rgba(76, 122, 63, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #e6d7ef;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,0.5);
  pointer-events: none;
  transition: transform 0.3s var(--ease);
}
.fab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fbe5c;
  box-shadow: 0 0 10px #2fbe5c;
  animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}
.fab-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.fab-badge-text strong {
  color: #2fbe5c;
  font-weight: 600;
}
.fab-badge-text span {
  font-size: 0.65rem;
  color: #cbb6da;
}
.fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2fbe5c 0%, #159c46 100%);
  color: #fff;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 14px 34px -10px rgba(21,156,70,0.85), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.fab-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: none;
}
.fab-btn .fab-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: start;
}
.fab-btn .fab-text .ar { font-size: 0.8em; opacity: 0.9; }
.fab-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 42px -10px rgba(21,156,70,0.95);
}
.fab-btn:active { transform: translateY(-1px) scale(0.98); }
@media (max-width: 600px) {
  .fab-badge { display: none; }
  .fab-btn { padding: 12px 18px; font-size: 0.88rem; }
  .fab-btn svg { width: 22px; height: 22px; }
}

/* ------------------------------------------------------------
   8. HERO SECTION & ATMOSPHERE
------------------------------------------------------------ */
.hero {
  min-height: 100svh;
  background:
    radial-gradient(120% 90% at 78% 8%, #56306e 0%, transparent 55%),
    radial-gradient(100% 80% at 12% 92%, #3a1a55 0%, transparent 50%),
    linear-gradient(168deg, var(--plum) 0%, var(--plum-deep) 60%, var(--plum-ink) 100%);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  padding-top: max(82px, calc(70px + env(safe-area-inset-top)));
  padding-bottom: 34px;
  overflow: hidden;
}
.hero .crest { position: relative; z-index: 2; }
.hero .crest .en { font-size: clamp(0.74rem, 2.7vw, 0.9rem); letter-spacing: 0.3em; text-indent: 0.15em; }
.hero .crest .valley { width: min(300px, 68vw); margin: 10px 0 6px; }
.hero .crest .ar { font-size: clamp(1.2rem, 5.2vw, 1.65rem); }
.hero .crest .origin { margin-top: 10px; font-size: 0.64rem; color: #cbb6da; }

.particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.particles i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.5), var(--berry) 55%, #2d1140 100%);
  opacity: 0;
  animation: float linear infinite;
  will-change: transform, opacity;
}
.particles i.leaf {
  background: radial-gradient(circle at 35% 30%, var(--olive-soft), var(--olive) 70%);
  border-radius: 0 60% 0 60%;
}
@keyframes float {
  0%   { transform: translateY(20px) scale(.7) rotate(0deg); opacity: 0; }
  12%  { opacity: .5; }
  88%  { opacity: .5; }
  100% { transform: translateY(-88vh) scale(1) rotate(220deg); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding-block: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 12vw, 5.2rem);
  line-height: .96;
  letter-spacing: -.02em;
  max-width: 12ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--berry-lit), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .ar {
  display: block;
  font-family: var(--font-ar);
  font-weight: 500;
  font-size: .34em;
  color: #e7d7ef;
  letter-spacing: 0;
  margin-top: .5em;
}
.hero .tagline {
  max-width: 32ch;
  color: #e7dcef;
  font-size: 1.02rem;
}
.hero .tagline .ar { display: block; color: #c9b6d6; margin-top: 6px; font-size: .96em; }

.berry-stage {
  position: relative;
  width: min(250px, 66vw);
  aspect-ratio: 1;
  margin: 6px auto 2px;
}
.berry-stage::before {
  content: "";
  position: absolute;
  inset: 6%;
  z-index: 0;
  background: radial-gradient(circle at 50% 46%, rgba(142,59,122,.55), rgba(59,30,78,0) 66%);
  filter: blur(22px);
}
.berry-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 30px rgba(10,3,16,.6));
  animation: bob 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  color: var(--plum);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  text-decoration: none;
}
.cta .ar { font-size: .9em; opacity: .75; }
.cta:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(0,0,0,.5); }
.cta:active { transform: translateY(-1px) scale(.98); }
.cta .arrow { transition: transform .4s var(--ease); }
.cta:hover .arrow { transform: translateY(4px); }

.scroll-hint {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #b79fc6;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}
.scroll-hint .mouse {
  display: block;
  width: 22px;
  height: 34px;
  margin: 0 auto 8px;
  border: 2px solid #7c5f8e;
  border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 7px;
  border-radius: 2px;
  background: #b79fc6;
  animation: wheel 1.7s infinite;
}
@keyframes wheel {
  0% { opacity: 0; transform: translate(-50%,0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%,12px); }
}

@media (max-width: 620px) {
  .hero .crest .valley { width: min(250px, 60vw); margin: 8px 0 4px; }
  .hero .crest .ar { font-size: clamp(1.1rem, 4.9vw, 1.4rem); }
  .hero .crest .origin { margin-top: 8px; font-size: .6rem; letter-spacing: .16em; }
  .hero { padding-bottom: 20px; }
  .hero-inner { gap: 14px; padding-block: 12px; }
  .berry-stage { width: min(180px, 48vw); }
  .hero .tagline { font-size: .96rem; }
}

/* ------------------------------------------------------------
   9. FRESHNESS GUARANTEE & GAUGE METER
------------------------------------------------------------ */
.freshness {
  background: var(--cream);
  padding: 78px 0 20px;
}
.fresh-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.fresh-head .eyebrow { justify-content: center; }
.fresh-head p { color: var(--muted); margin-top: 14px; }
.fresh-head p .ar { display: block; margin-top: 4px; }

.meter {
  background: linear-gradient(160deg, #fff, var(--cream-2));
  border: 1px solid rgba(59,30,78,.08);
  border-radius: 26px;
  padding: 28px 22px 30px;
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin: 0 auto;
}
.meter-row { margin-bottom: 26px; }
.meter-row:last-child { margin-bottom: 0; }
.meter-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  gap: 12px;
}
.meter-label .name { font-weight: 600; color: var(--plum); font-size: 1rem; }
.meter-label .name .ar { font-weight: 500; color: var(--muted); font-size: .82rem; margin-inline-start: 8px; }
.meter-label .val { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.track { height: 16px; border-radius: 10px; background: #e6ddd6; overflow: hidden; position: relative; }
.fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 10px;
  transition: width 1.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.fill.ours { background: linear-gradient(90deg, var(--olive), var(--olive-soft)); }
.fill.them { background: linear-gradient(90deg, #9a5a4e, #c07d5b); }
.fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transform: translateX(-100%);
  animation: sheen 2.6s var(--ease) infinite;
}
@keyframes sheen { 0%{transform:translateX(-100%);} 60%,100%{transform:translateX(220%);} }
.ours-tag { color: var(--olive); }
.them-tag { color: #b06a4e; }
.meter-note {
  margin-top: 24px;
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.meter-note strong { color: var(--olive); }

.fresh-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
  max-width: 680px;
  margin-inline: auto;
}
@media (min-width: 620px) { .fresh-cards { grid-template-columns: repeat(3, 1fr); } }
.fcard {
  background: var(--plum);
  color: var(--cream);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease);
}
.fcard:hover { transform: translateY(-5px); }
.fcard .ic { font-size: 1.7rem; margin-bottom: 10px; display: block; }
.fcard .t { font-weight: 600; font-size: .98rem; }
.fcard .ar { display: block; color: #c9b6d6; font-size: .84rem; margin-top: 5px; }

/* ------------------------------------------------------------
   10. HEALTH BENEFITS (6 Balanced Cards Grid)
------------------------------------------------------------ */
.health {
  padding: 84px 0 78px;
  background: linear-gradient(180deg, var(--cream) 0%, #efe7f0 100%);
}
.health-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 34px;
}
.health-head .eyebrow { justify-content: center; }
.health-head .hint { margin-top: 12px; color: var(--muted); font-size: .9rem; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.hcard {
  position: relative;
  background: #fff;
  border: 1px solid rgba(59,30,78,.08);
  border-radius: 22px;
  padding: 22px;
  cursor: pointer;
  box-shadow: 0 8px 26px -16px rgba(37,19,48,.4);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: start;
}
.hcard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(142,59,122,.06), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}
.hcard:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.hcard:hover::before { opacity: 1; }
.hcard.open { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.hcard .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--cream-2);
  position: absolute;
  top: 14px;
  inset-inline-end: 18px;
  z-index: 0;
}
.hcard .ic { font-size: 1.9rem; position: relative; z-index: 1; }
.hcard h3 {
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--plum);
  margin-top: 14px;
  position: relative;
  z-index: 1;
}
.hcard h3 .ar { display: block; font-weight: 500; color: var(--olive); font-size: .84rem; margin-top: 3px; }

.power { margin-top: 16px; position: relative; z-index: 1; }
.power .bar { height: 8px; border-radius: 6px; background: #eee3ea; overflow: hidden; }
.power .bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--berry), var(--berry-lit));
  transition: width 1s var(--ease);
}
.power .plabel {
  display: flex;
  justify-content: space-between;
  font-size: .68rem;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: .04em;
}

.tip {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease), opacity .35s var(--ease), margin-top .35s;
  position: relative;
  z-index: 1;
}
.hcard.open .tip { max-height: 200px; opacity: 1; margin-top: 14px; }
.tip p {
  font-size: .86rem;
  color: var(--ink);
  background: var(--cream);
  padding: 12px 14px;
  border-radius: 12px;
  border-inline-start: 3px solid var(--olive);
}
.tip p .ar { display: block; color: var(--muted); margin-top: 5px; }
.hcard .toggle-hint {
  font-size: .7rem;
  color: var(--berry);
  font-weight: 600;
  margin-top: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: .04em;
}

/* ------------------------------------------------------------
   11. RECIPES & SWEETS SECTION
------------------------------------------------------------ */
.recipes {
  padding: 84px 0;
  background: linear-gradient(180deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: var(--cream);
}
.recipes .eyebrow { color: var(--berry-lit); }
.recipes .eyebrow::before { background: var(--gold); }
.recipes-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.recipes-head .eyebrow { justify-content: center; }
.recipes-head .section-title { color: #fff; }
.recipes-head .section-title .ar { color: var(--olive-soft); }
.recipes-head p { color: #d8c7e2; margin-top: 16px; }
.recipes-head p .ar { display: block; color: #b79fc6; margin-top: 5px; }

.recipe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 560px) { .recipe-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .recipe-grid { grid-template-columns: repeat(3, 1fr); } }

.rcard {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #2a1533;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .4s var(--ease);
}
.rcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 70px -20px rgba(10,3,16,.8);
}
.rcard .rmedia { position: absolute; inset: 0; }
.rcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.rcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,10,36,0) 32%, rgba(26,10,36,.5) 60%, rgba(18,6,26,.94) 100%);
}
.rcard:hover img { transform: scale(1.07); }
.rcard .rbody {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px;
  z-index: 2;
}
.rcat {
  display: inline-block;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(76,122,63,.9);
  padding: 5px 11px;
  border-radius: 100px;
  margin-bottom: 11px;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.5);
}
.rcard h3 { font-weight: 600; font-size: 1.08rem; color: #fff; line-height: 1.22; }
.rcard h3 .ar { display: block; font-family: var(--font-ar); font-weight: 500; color: #e6d7ef; font-size: .86rem; margin-top: 5px; }

.rcard-hint {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 3;
  background: rgba(36, 19, 48, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.95;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.rcard:hover .rcard-hint {
  opacity: 1;
  transform: scale(1.05);
  background: var(--plum);
}

/* ------------------------------------------------------------
   12. TRUST & FARM PILLARS SECTION
------------------------------------------------------------ */
.trust {
  padding: 86px 0;
  background: linear-gradient(180deg, #efe7f0 0%, var(--cream) 100%);
  color: var(--ink);
}
.trust-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 46px;
}
.trust-head .eyebrow { justify-content: center; }
.trust-head p { color: var(--muted); margin-top: 14px; }
.trust-head p .ar { display: block; margin-top: 4px; }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 580px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.trust-card {
  background: #fff;
  border: 1px solid rgba(59,30,78,0.08);
  border-radius: 22px;
  padding: 26px 20px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.trust-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.trust-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 10px;
}
.trust-card h3 .ar {
  display: block;
  font-size: 0.85rem;
  color: var(--olive);
  margin-top: 3px;
}
.trust-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}
.trust-card .ar-desc {
  display: block;
  font-size: 0.84rem;
  color: var(--ink);
  margin-top: 8px;
  font-family: var(--font-ar);
  line-height: 1.5;
}

/* ------------------------------------------------------------
   13. RECIPE MODAL DIALOG
------------------------------------------------------------ */
.recipe-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 6, 22, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.recipe-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.recipe-modal {
  background: var(--plum-ink);
  color: var(--cream);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 26px;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px -15px rgba(0,0,0,0.8);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.35s var(--ease);
  position: relative;
}
.recipe-modal-backdrop.open .recipe-modal {
  transform: translateY(0) scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(36, 19, 48, 0.85);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.modal-close-btn:hover {
  background: var(--berry);
  transform: scale(1.1);
}
.modal-hero-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.modal-body {
  padding: 26px 24px;
}
.modal-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.modal-badge {
  background: rgba(76,122,63,0.9);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.modal-time {
  font-size: 0.78rem;
  color: var(--gold);
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.modal-title .ar {
  display: block;
  font-family: var(--font-ar);
  font-size: 0.72em;
  color: #e6d7ef;
  margin-top: 4px;
}
.modal-desc {
  color: #d8c7e2;
  font-size: 0.9rem;
  margin: 14px 0 20px;
  line-height: 1.6;
}
.modal-desc .ar {
  display: block;
  color: #cbb6da;
  margin-top: 4px;
}
.modal-section-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 700;
}
.ingredients-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}
.ingredients-list li {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ingredients-list li::before {
  content: "•";
  color: var(--berry-lit);
  font-size: 1.4rem;
  line-height: 1;
}
.modal-cta-wrap {
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.modal-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #2fbe5c, #159c46);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 100px;
  box-shadow: 0 10px 25px -8px rgba(21,156,70,0.8);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.modal-wa-btn svg { width: 22px; height: 22px; fill: currentColor; }
.modal-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(21,156,70,0.9);
}

/* ------------------------------------------------------------
   14. FOOTER & LEGAL
------------------------------------------------------------ */
footer {
  background: var(--plum-ink);
  color: #cbb9d6;
  padding: 54px 0 40px;
}
.foot-top {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
}
.wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #2fbe5c, #159c46);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 22px;
  border-radius: 100px;
  box-shadow: 0 12px 30px -12px rgba(21,156,70,.8), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -14px rgba(21,156,70,.9); }
.wa:active { transform: translateY(-1px) scale(.98); }
.wa svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.wa .num { direction: ltr; unicode-bidi: isolate; letter-spacing: .01em; }
.foot-contact { font-size: .86rem; line-height: 1.9; }
.foot-contact a { color: #e7dcef; text-decoration: none; }
.foot-contact .ar { display: block; }
.foot-legal {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: .74rem;
  color: #9784a5;
}
.foot-legal .ar { display: block; margin-top: 4px; }

/* ------------------------------------------------------------
   15. ACCESSIBILITY & REDUCED MOTION
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .particles { display: none !important; }
  .berry-img { animation: none !important; }
  .crest .valley .line { stroke-dashoffset: 0 !important; transition: none !important; }
  .crest .valley .berry { transform: none !important; transition: none !important; }
}
