
:root {
  --terracotta: #C0522A;
  --terracotta-dark: #8B3A1C;
  --terracotta-light: #E07040;
  --saffron: #D4A020;
  --saffron-light: #F0C040;
  --green: #2D5A3D;
  --green-light: #4A8A5D;
  --cream: #FAF6EF;
  --cream-dark: #F0E8D8;
  --brown: #5C3A1E;
  --text: #2C1A0E;
  --text-light: #6B4423;
  --white: #FFFFFF;
  --shadow: rgba(44,26,14,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── ZELLIGE PATTERN ── */
.zellige {
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(192,82,42,0.08) 10px, rgba(192,82,42,0.08) 20px),
    repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(212,160,32,0.06) 10px, rgba(212,160,32,0.06) 20px);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(44,26,14,0.95);
  backdrop-filter: blur(12px);
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  transform: translateY(0);
  transition: transform 0.3s ease;
}
nav.hidden { transform: translateY(-100%); }

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--saffron);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.nav-logo span { color: var(--terracotta-light); }

.nav-links {
  display: flex; gap: 6px; list-style: none;
  overflow-x: auto; scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 20px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--terracotta);
  color: white;
}

.nav-search {
  display: flex; align-items: center; gap: 8px;
}
.search-wrap {
  position: relative;
}
#searchInput {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 36px 6px 14px;
  color: white;
  font-size: 0.8rem;
  width: 160px;
  transition: width 0.3s, background 0.2s;
  outline: none;
}
#searchInput::placeholder { color: rgba(255,255,255,0.4); }
#searchInput:focus { width: 220px; background: rgba(255,255,255,0.15); }
.search-icon {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.5); font-size: 0.8rem; pointer-events: none;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #2C1A0E 0%, #5C3A1E 40%, #8B3A1C 70%, #C0522A 100%);
}

.hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(212,160,32,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(192,82,42,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(45,90,61,0.2) 0%, transparent 50%);
  animation: heroBgPulse 8s ease-in-out infinite alternate;
}
@keyframes heroBgPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Animated spice dots */
.spice-particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  opacity: 0;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}

/* Arabic pattern overlay */
.hero-pattern {
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 2 L58 30 L30 58 L2 30Z' fill='none' stroke='%23FFD700' stroke-width='1'/%3E%3Cpath d='M30 10 L50 30 L30 50 L10 30Z' fill='none' stroke='%23FFD700' stroke-width='0.5'/%3E%3Ccircle cx='30' cy='30' r='3' fill='%23FFD700'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 32px 24px;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--saffron-light);
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  color: white;
  line-height: 1.0;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-title .accent { color: var(--saffron); font-style: italic; }

.hero-arabic {
  font-family: 'Amiri', serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: rgba(212,160,32,0.7);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
  direction: rtl;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
  font-weight: 300;
}

.hero-ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  border: none;
}
.btn-primary {
  background: var(--saffron);
  color: var(--brown);
  box-shadow: 0 4px 20px rgba(212,160,32,0.4);
}
.btn-primary:hover {
  background: var(--saffron-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,160,32,0.5);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.8; transform: translateX(-50%) translateY(4px); }
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* Stats bar */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  display: flex; justify-content: center; gap: 0;
  z-index: 2;
}
.stat-item {
  padding: 16px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  animation: fadeUp 0.6s forwards;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--saffron);
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── SECTION HEADINGS ── */
.section-header {
  text-align: center;
  padding: 80px 24px 48px;
}
.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-title .accent { color: var(--terracotta); font-style: italic; }
.section-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--saffron));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ── CATEGORIES ── */
#categories {
  padding: 0 16px 60px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.cat-card {
  background: white;
  border-radius: 16px;
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
  box-shadow: 0 2px 12px var(--shadow);
  opacity: 0;
  transform: translateY(20px);
}
.cat-card.visible {
  animation: cardIn 0.5s forwards;
}
@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}
.cat-card:hover, .cat-card.active {
  border-color: var(--terracotta);
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(192,82,42,0.2);
}
.cat-card.active { background: var(--terracotta); }
.cat-card.active .cat-name { color: white; }
.cat-card.active .cat-count { color: rgba(255,255,255,0.7); }
.cat-emoji { font-size: 2rem; margin-bottom: 8px; display: block; }
.cat-name {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--brown);
  margin-bottom: 4px;
}
.cat-count {
  font-size: 0.7rem;
  color: var(--text-light);
}

/* ── RECIPE GRID ── */
#recettes {
  padding: 0 16px 80px;
}
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.recipe-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}
.recipe-card.visible {
  animation: recipeIn 0.6s forwards;
}
@keyframes recipeIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.recipe-card:hover {
  transform: translateY(-6px) scale(1.01) !important;
  box-shadow: 0 16px 40px rgba(192,82,42,0.2);
}
.recipe-card.hidden { display: none; }

.recipe-visual {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.recipe-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.recipe-badges {
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; gap: 6px; flex-wrap: wrap;
  z-index: 1;
}
.badge {
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-cat { background: var(--terracotta); color: white; }
.badge-time { background: rgba(0,0,0,0.5); color: white; }
.badge-diff { background: var(--saffron); color: var(--brown); }

.recipe-body { padding: 20px; }
.recipe-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
  line-height: 1.3;
}
.recipe-excerpt {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recipe-meta {
  display: flex; gap: 12px;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.recipe-meta span { display: flex; align-items: center; gap: 4px; }
.recipe-actions {
  display: flex; gap: 8px;
}
.btn-sm {
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  border: none;
}
.btn-recipe {
  background: var(--terracotta);
  color: white;
  flex: 1;
  justify-content: center;
}
.btn-recipe:hover { background: var(--terracotta-dark); transform: scale(1.02); }
.btn-kenzadi {
  background: var(--green);
  color: white;
}
.btn-kenzadi:hover { background: var(--green-light); transform: scale(1.02); }
.btn-amazon {
  background: #FF9900;
  color: #111;
}
.btn-amazon:hover { background: #FFAA20; transform: scale(1.02); }

/* ── MODAL / RECIPE DETAIL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.modal-overlay.open {
  opacity: 1; visibility: visible;
}
.modal {
  background: var(--cream);
  border-radius: 24px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  scrollbar-width: thin;
  scrollbar-color: var(--terracotta) var(--cream-dark);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-header {
  height: 240px;
  display: flex; align-items: center; justify-content: center;
  font-size: 7rem;
  position: relative;
  border-radius: 24px 24px 0 0;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px; height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: rgba(0,0,0,0.6); }

.modal-body { padding: 32px; }
.modal-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--terracotta);
  font-weight: 700; margin-bottom: 8px;
}
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--brown); margin-bottom: 8px;
  line-height: 1.2;
}
.modal-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 0.8rem; color: var(--text-light);
}
.modal-meta span { display: flex; align-items: center; gap: 5px; font-weight: 600; }

.modal-desc {
  font-size: 1rem; color: var(--text-light);
  line-height: 1.8; margin-bottom: 28px;
  font-weight: 300;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }

.ingredient-list h3, .steps-list h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--brown); margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cream-dark);
  display: flex; align-items: center; gap: 8px;
}
.ingredient-list ul { list-style: none; }
.ingredient-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.85rem; color: var(--text-light);
  display: flex; align-items: flex-start; gap: 8px;
}
.ingredient-list li::before { content: '✦'; color: var(--saffron); font-size: 0.6rem; margin-top: 3px; flex-shrink: 0; }

.steps-list ol { list-style: none; }
.steps-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.85rem; color: var(--text-light);
  display: flex; gap: 12px;
  line-height: 1.6;
}
.step-num {
  background: var(--terracotta);
  color: white;
  border-radius: 50%;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  flex-shrink: 0;
}

.modal-links {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px solid var(--cream-dark);
}
.modal-links a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}
.link-kenzadi { background: var(--green); color: white; }
.link-kenzadi:hover { background: var(--green-light); transform: translateY(-2px); }
.link-amazon { background: #FF9900; color: #111; }
.link-amazon:hover { background: #FFAA20; transform: translateY(-2px); }
.link-article { background: var(--terracotta); color: white; }
.link-article:hover { background: var(--terracotta-dark); transform: translateY(-2px); }

/* ── TIPS SECTION ── */
#conseils {
  background: linear-gradient(135deg, var(--brown) 0%, var(--terracotta-dark) 100%);
  padding: 80px 24px;
  position: relative; overflow: hidden;
}
#conseils::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 1 L39 20 L20 39 L1 20Z' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
}
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.tip-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
}
.tip-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}
.tip-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.tip-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--saffron); margin-bottom: 8px;
}
.tip-text {
  font-size: 0.85rem; color: rgba(255,255,255,0.75);
  line-height: 1.7; font-weight: 300;
}

/* ── PARTNER BANNER ── */
#partenaires {
  background: var(--cream-dark);
  padding: 60px 24px;
}
.partner-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.partner-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(192,82,42,0.15); }
.partner-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  margin-bottom: 10px;
}
.partner-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.partner-link {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

/* ── BLOG ── */
#blog {
  padding: 0 24px 80px;
  background: white;
}
.blog-container {
  max-width: 1200px;
  margin: 0 auto;
}
.blog-featured {
  margin-bottom: 40px;
}
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px var(--shadow);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(192,82,42,0.2);
}
.blog-featured-visual {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: relative;
}
.blog-featured-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(250,246,239,0.95));
}
.blog-featured-body {
  background: var(--cream);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.blog-featured-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 14px;
}
.blog-featured-excerpt {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
  font-weight: 300;
}
.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.blog-meta-row span { display: flex; align-items: center; gap: 4px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.blog-card.visible {
  animation: cardIn 0.5s forwards;
}
.blog-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(192,82,42,0.18);
}
.blog-card-visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
}
.blog-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
}
.blog-card-body { padding: 20px; }
.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
  line-height: 1.3;
}
.blog-card-excerpt {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-light);
}
.read-more {
  color: var(--terracotta);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.blog-tag-filter {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  background: var(--cream-dark);
  color: var(--text-light);
}
.blog-tag-filter:hover, .blog-tag-filter.active {
  background: var(--terracotta);
  color: white;
  border-color: var(--terracotta);
}

/* Blog Article Modal */
.blog-modal-content {
  max-width: 700px;
  margin: 0 auto;
}
.blog-article-body {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.9;
  font-weight: 300;
}
.blog-article-body p { margin-bottom: 16px; }
.blog-article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--brown);
  margin: 28px 0 12px;
  font-weight: 700;
}
.blog-article-body ul {
  margin: 12px 0 16px 20px;
}
.blog-article-body ul li {
  margin-bottom: 8px;
  color: var(--text-light);
}
.blog-pull-quote {
  border-left: 4px solid var(--saffron);
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--cream-dark);
  border-radius: 0 12px 12px 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brown);
}

@media (max-width: 768px) {
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-featured-visual { min-height: 200px; }
  .blog-featured-visual::after { background: linear-gradient(to top, rgba(250,246,239,0.95) 40%, transparent); }
  .blog-featured-body { padding: 24px 20px; }
  .blog-featured-title { font-size: 1.4rem; }
}

/* ── NEWSLETTER ── */
#newsletter {
  background: linear-gradient(135deg, var(--green) 0%, #1A3A28 100%);
  padding: 80px 24px;
  text-align: center;
}
.newsletter-wrap { max-width: 540px; margin: 0 auto; }
.newsletter-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.newsletter-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: white; margin-bottom: 10px;
}
.newsletter-desc { font-size: 0.95rem; color: rgba(255,255,255,0.7); margin-bottom: 28px; line-height: 1.6; }
.newsletter-form {
  display: flex; gap: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-size: 0.9rem;
  outline: none;
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  padding: 14px 24px;
  border-radius: 50px;
  background: var(--saffron);
  color: var(--brown);
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--saffron-light); transform: scale(1.03); }

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}
.footer-brand .nav-logo { font-size: 1.5rem; display: block; margin-bottom: 12px; }
.footer-desc { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer-col h4 {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--saffron);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--saffron); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  max-width: 1100px;
  margin: 0 auto;
}
.footer-bottom a { color: var(--saffron); text-decoration: none; }

/* ── SEARCH RESULTS ── */
#search-results {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
#search-results.active { display: block; }
.search-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--brown);
  margin-bottom: 24px;
  padding: 24px 0 0;
}
.search-title span { color: var(--terracotta); }

/* ── BACK TO TOP ── */
#backTop {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--terracotta);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(192,82,42,0.4);
  transition: all 0.3s;
  opacity: 0; visibility: hidden;
  display: flex; align-items: center; justify-content: center;
  z-index: 90;
}
#backTop.visible { opacity: 1; visibility: visible; }
#backTop:hover { background: var(--terracotta-dark); transform: scale(1.1); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--green);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s;
  z-index: 300;
  white-space: nowrap;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-stats { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .partner-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .modal-body { padding: 20px; }
}
