/* =========================================================
   BrewBeerAtHome.com — Main Stylesheet
   Author: BrewBeerAtHome.com
   ========================================================= */

/* ---------------------------------------------------------
   1. CSS Custom Properties
   --------------------------------------------------------- */
:root {
  /* Brand Colors */
  --amber:          #C17817;
  --amber-light:    #D4920E;
  --amber-dark:     #8B5A0A;
  --amber-glow:     rgba(193, 120, 23, 0.15);
  --copper:         #B87333;
  --hops-green:     #5A7A3A;
  --hops-light:     #7A9A52;

  /* Neutrals */
  --cream:          #FFF8F0;
  --cream-dark:     #F0DEC4;
  --cream-mid:      #C8A86A;
  --charcoal:       #1A1A1A;
  --charcoal-mid:   #3D3D3D;
  --charcoal-light: #6B6B6B;
  --charcoal-pale:  #9A9A9A;
  --white:          #FFFFFF;
  --hero-bg:        #110D07;

  /* Semantic */
  --text-primary:   #111111;
  --text-secondary: #222222;
  --text-muted:     #4A4A4A;
  --border:         rgba(193, 120, 23, 0.2);
  --border-light:   rgba(0,0,0,0.08);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.11);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
  --shadow-amber: 0 4px 20px rgba(193, 120, 23, 0.3);

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-pill: 999px;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Image Overlay Opacity — change these two values to lighten/darken ALL hero/banner overlays site-wide */
  --overlay-opacity-dark: 0.38;   /* edges of gradient (top & bottom) */
  --overlay-opacity-mid:  0.25;   /* centre of gradient (most image shows here) */

  /* Spacing */
  --section-py:   80px;
  --section-px:   24px;
  --max-width:    1200px;
  --nav-height:   72px;

  /* Transitions */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------
   2. Reset & Base
   --------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  loading: lazy;
}

a {
  color: var(--amber);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--amber-dark); }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ---------------------------------------------------------
   3. Typography
   --------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--charcoal);
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

.text-amber { color: var(--amber); }
.text-center { text-align: center; }
.text-white { color: var(--white); }

/* Section label above headings */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

/* Section intro text */
.section-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.7;
}

/* ---------------------------------------------------------
   4. Layout Utilities
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.section {
  padding: var(--section-py) var(--section-px);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 { margin-bottom: 16px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------------------------------------------------
   5. Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
  box-shadow: var(--shadow-amber);
}

.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(193, 120, 23, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-amber {
  background: transparent;
  color: var(--amber);
  border-color: var(--amber);
}

.btn-outline-amber:hover {
  background: var(--amber);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-amber);
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.btn-dark:hover {
  background: var(--charcoal-mid);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 16px 40px;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 10px 22px;
}

/* ---------------------------------------------------------
   6. Navigation
   --------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(205, 170, 118, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled .nav-links a {
  color: rgba(0,0,0,0.72);
}
.navbar.scrolled .nav-links a:hover {
  color: var(--charcoal);
  background: rgba(0,0,0,0.07);
}
.navbar.scrolled .nav-links a.active { color: var(--amber-dark); }

.navbar.scrolled .nav-logo {
  color: var(--charcoal);
}
.navbar.scrolled .nav-logo small {
  color: var(--charcoal-light);
}
.navbar.scrolled .nav-toggle span {
  background: var(--charcoal);
}
.navbar.scrolled .nav-toggle:hover {
  background: rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  transition: opacity var(--transition);
}

.nav-logo:hover { opacity: 0.85; color: var(--white); }

.nav-logo span { color: var(--amber); }

.nav-logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dark);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-links a.active { color: var(--amber); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-toggle:hover { background: rgba(255,255,255,0.1); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(205, 170, 118, 0.99);
  border-top: 1px solid rgba(0,0,0,0.10);
  padding: 16px 24px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: rgba(0,0,0,0.72);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: color var(--transition);
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--amber-dark); }

/* ---------------------------------------------------------
   7. Hero Slider (3 Banners)
   --------------------------------------------------------- */

/* Slider wrapper */
.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--hero-bg);
}

/* Individual slide */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-color: var(--hero-bg);
  /* Each slide has its own --slide-bg photo set inline */
  background-image: var(--slide-bg, none);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
  z-index: 0;
}

/* Slide photo fallback glow when no image is loaded yet */
.hero-slide::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 6%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(193,120,23,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Slide leaving: fade out while next fades in */
.hero-slide.leaving {
  opacity: 0;
  z-index: 2; /* stays on top briefly during transition */
}

/* Gradient overlay per slide — customisable via --slide-overlay.
   Darker on the left (protects text readability), fades to transparent
   on the right so the background photo shows through clearly. */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay,
    linear-gradient(to right,
      rgba(10, 8, 4, 0.82) 0%,
      rgba(10, 8, 4, 0.60) 45%,
      rgba(10, 8, 4, 0.15) 100%
    )
  );
  z-index: 0;
}

/* Slide content sits above overlay */
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 40px) 24px 100px;
}

.hero-inner { max-width: 700px; }

/* Slide text enters when slide becomes active */
.hero-slide.active .hero-inner > * {
  animation: slideUp 0.7s var(--ease) both;
}
.hero-slide.active .hero-badge         { animation-delay: 0.1s; }
.hero-slide.active h1                  { animation-delay: 0.22s; }
.hero-slide.active .hero-subtitle      { animation-delay: 0.34s; }
.hero-slide.active .hero-actions       { animation-delay: 0.44s; }
.hero-slide.active .hero-stats         { animation-delay: 0.54s; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.12); opacity: 0.6; }
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(193,120,23,0.15);
  border: 1px solid rgba(193,120,23,0.3);
  color: var(--amber-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* Hero headings */
.hero-slide h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-slide h1 .highlight {
  color: var(--white);
  position: relative;
  display: inline-block;
}

.hero-slide h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  opacity: 0.4;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  line-height: 1.75;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Prev / Next Arrow Buttons ── */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.slider-arrow:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-50%) scale(1.08);
}

.slider-prev { left: 28px; }
.slider-next { right: 28px; }

/* ── Dot Indicators ── */
.slider-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  padding: 0;
}

.slider-dot.active,
.slider-dot:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: scale(1.25);
}

/* ── Progress Bar ── */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 10;
}

.slider-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--amber);
  transition: width 0.1s linear;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .slider-arrow { display: none; }
  .slider-dots  { bottom: 24px; }
  .hero-content { padding-bottom: 72px; }
}

/* ---------------------------------------------------------
   8. Trust Bar
   --------------------------------------------------------- */
.trust-bar {
  background: var(--white);
  padding: 28px var(--section-px);
  border-bottom: 1px solid var(--border-light);
}

.trust-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  background: var(--amber-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}

.trust-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
}

.trust-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------------------------------------------------------
   9. Why Brew At Home Section
   --------------------------------------------------------- */
.why-brew {
  background: var(--cream);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--amber-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--amber);
  transition: background var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--amber);
  color: var(--white);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ---------------------------------------------------------
   10. How It Works
   --------------------------------------------------------- */
.how-it-works {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: var(--cream-mid);
  z-index: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--amber);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-amber);
  flex-shrink: 0;
}

.step-item h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.step-item p {
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ---------------------------------------------------------
   11. Featured Recipes
   --------------------------------------------------------- */
.featured-recipes {
  background: var(--cream);
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.recipe-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.recipe-card-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

/* Recipe card color themes — each also supports a background photo.
   To add a photo: set background-image on the element, e.g.:
   style="background-image: url('../images/recipes/american-ipa.jpg')"
   The gradient overlay is always applied on top via the pseudo-element. */

.recipe-card-image { background-size: cover; background-position: center; }

.recipe-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.55;
  border-radius: 0;
}

.recipe-card-image.ipa {
  background-color: #C17817;
  background-image: url('../images/recipes/american-ipa.jpg');
}
.recipe-card-image.ipa::after {
  background: linear-gradient(135deg, rgba(212,114,10,0.7), rgba(139,90,10,0.5));
}

.recipe-card-image.lager {
  background-color: #C8A815;
  background-image: url('../images/recipes/german-lager.jpg');
}
.recipe-card-image.lager::after {
  background: linear-gradient(135deg, rgba(212,185,10,0.6), rgba(154,125,16,0.5));
}

.recipe-card-image.stout {
  background-color: #1A1208;
  background-image: url('../images/recipes/oatmeal-stout.jpg');
}
.recipe-card-image.stout::after {
  background: linear-gradient(135deg, rgba(45,32,20,0.75), rgba(14,10,5,0.6));
}

.recipe-card-image.wheat {
  background-color: #C8A840;
  background-image: url('../images/recipes/hefeweizen.jpg');
}
.recipe-card-image.wheat::after {
  background: linear-gradient(135deg, rgba(224,200,112,0.6), rgba(160,128,32,0.5));
}

.recipe-card-image.pale {
  background-color: #A8B840;
  background-image: url('../images/recipes/pale-ale.jpg');
}
.recipe-card-image.pale::after {
  background: linear-gradient(135deg, rgba(200,212,96,0.6), rgba(128,138,32,0.5));
}

.recipe-card-image.porter {
  background-color: #2E1A08;
  background-image: url('../images/recipes/porter.jpg');
}
.recipe-card-image.porter::after {
  background: linear-gradient(135deg, rgba(74,42,16,0.75), rgba(26,14,4,0.6));
}

.recipe-card-image > * { position: relative; z-index: 1; }

.recipe-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(0,0,0,0.45);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.recipe-card-body {
  padding: 24px;
}

.recipe-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.recipe-difficulty {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.difficulty-dots {
  display: flex;
  gap: 3px;
}

.difficulty-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream-mid);
}

.difficulty-dot.active { background: var(--amber); }

.recipe-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.recipe-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.recipe-card-body p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.recipe-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.recipe-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}

.recipe-link:hover { gap: 9px; }

.recipe-abv {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.recipes-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---------------------------------------------------------
   12. Shop / Digital Products
   --------------------------------------------------------- */
.shop-preview {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
  position: relative;
  overflow: hidden;
}

.shop-preview::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(193,120,23,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.shop-preview::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(193,120,23,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.shop-preview .section-header h2 { color: var(--text-primary); }
.shop-preview .section-intro { color: var(--text-muted); }
.shop-preview .section-label { color: var(--amber); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(193,120,23,0.18);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.product-card.featured {
  background: #fffaf0;
  border-color: rgba(193,120,23,0.45);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(193,120,23,0.55);
  box-shadow: 0 8px 40px rgba(193,120,23,0.18);
}

.product-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.product-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.product-card h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-features {
  text-align: left;
  margin-bottom: 28px;
}

.product-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--amber-glow);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C17817'%3E%3Cpath d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 0 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.product-price {
  margin-bottom: 24px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.price-note {
  font-size: 0.78rem;
  color: var(--charcoal-light);
  margin-top: 4px;
}

/* PayPal button wrapper */
.paypal-btn-wrap {
  display: flex;
  justify-content: center;
}

/* ---------------------------------------------------------
   13. Email Capture / Lead Magnet
   --------------------------------------------------------- */
.email-capture {
  background: linear-gradient(135deg, var(--amber-dark) 0%, var(--amber) 50%, var(--amber-light) 100%);
  position: relative;
  overflow: hidden;
}

.email-capture::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.email-capture-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.email-capture h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.email-capture p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.email-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto 16px;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 5px 5px 5px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.email-form input[type="email"] {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  color: var(--charcoal);
  min-width: 0;
}

.email-form input[type="email"]::placeholder { color: var(--charcoal-pale); }

.email-privacy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
}

/* Form success / error states */
.form-message {
  display: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
}

.form-message.success {
  display: block;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.form-message.error {
  display: block;
  background: rgba(220,50,50,0.2);
  color: #FFD0D0;
  border: 1px solid rgba(220,50,50,0.3);
}

/* ---------------------------------------------------------
   14. Footer
   --------------------------------------------------------- */
.footer {
  background: var(--cream-mid);
  color: var(--text-muted);
  padding: 72px var(--section-px) 0;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.footer-brand .nav-logo {
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: inline-block;
  color: var(--text-primary);
}
.footer-brand .nav-logo:hover { color: var(--text-primary); }
.footer-brand .nav-logo small { color: var(--charcoal-light); }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--amber);
  color: var(--white);
}

.footer-col h4 {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--amber); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.45);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.45);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--amber); }

/* ---------------------------------------------------------
   15. Scroll-to-top button
   --------------------------------------------------------- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--amber);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition);
  box-shadow: var(--shadow-amber);
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--amber-dark);
  transform: translateY(-3px);
}

/* ---------------------------------------------------------
   16. Responsive — Tablet (≤ 1024px)
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --section-py: 64px; }

  .feature-grid,
  .steps-grid,
  .recipes-grid,
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .steps-grid::before { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-links,
  .nav-cta { display: none; }

  .nav-toggle { display: flex; }
}

/* ---------------------------------------------------------
   17. Responsive — Mobile (≤ 640px)
   --------------------------------------------------------- */
@media (max-width: 640px) {
  :root {
    --section-py: 48px;
    --section-px: 16px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .feature-grid,
  .steps-grid,
  .recipes-grid,
  .products-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero-stats { gap: 20px; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .email-form {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 16px;
    gap: 12px;
    background: var(--white);
  }

  .email-form input[type="email"] {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .email-form .btn { width: 100%; border-radius: var(--radius-pill); }

  .trust-bar-inner { justify-content: flex-start; gap: 20px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   18. Dark Mode (respects system preference)
   --------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root {
    --cream:       #1A1208;
    --cream-dark:  #251A0E;
    --white:       #1E160A;
    --border-light: rgba(255,255,255,0.08);
    --text-primary:   #F0E8DC;
    --text-secondary: #C8B89A;
    --text-muted:     #8A7A66;
  }

  body { background-color: var(--cream); }

  .trust-bar { background: #1E160A; border-color: rgba(255,255,255,0.06); }
  .trust-text strong { color: var(--text-primary); }

  .feature-card { background: #251A0E; }
  .how-it-works { background: #1E160A; }
  .recipe-card { background: #251A0E; }
}

/* ---------------------------------------------------------
   19. Utility: Animate on scroll
   --------------------------------------------------------- */
.animate-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }

/* =========================================================
   INNER PAGE STYLES
   (getting-started, recipe pages, equipment, blog, etc.)
   ========================================================= */

/* ---------------------------------------------------------
   20. Inner Page Hero (smaller than homepage hero)
   --------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 24px 72px;
  min-height: 420px;
  background: var(--hero-bg);
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(193,120,23,0.10) 0%, transparent 60%),
    linear-gradient(180deg,
      rgba(17,13,7, var(--overlay-opacity-dark)) 0%,
      rgba(30,20,0, var(--overlay-opacity-mid))  60%,
      rgba(17,13,7, var(--overlay-opacity-dark)) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.page-hero .hero-badge { margin-bottom: 20px; }

.page-hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}

.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { color: var(--amber); }

/* ---------------------------------------------------------
   21. Table of Contents
   --------------------------------------------------------- */
.toc-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 56px;
}

.toc-box h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal-light);
  margin-bottom: 16px;
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 32px;
}

.toc-list li a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  transition: color var(--transition);
}

.toc-list li a::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

.toc-list li a:hover { color: var(--amber); }

@media (max-width: 640px) {
  .toc-list { grid-template-columns: 1fr; }
  .toc-box  { padding: 20px; }
}

/* ---------------------------------------------------------
   22. Article / Content Layout
   --------------------------------------------------------- */
.article-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

.article-body { min-width: 0; }

.article-body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-top: 56px;
  margin-bottom: 16px;
  padding-top: 56px;
  border-top: 1px solid var(--border-light);
}

.article-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-body h3 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.article-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
  padding-left: 0;
  margin-bottom: 24px;
}

.article-body ul li,
.article-body ol li {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-secondary);
  padding: 5px 0 5px 24px;
  position: relative;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
}

.article-body ol {
  counter-reset: ol-counter;
}

.article-body ol li {
  counter-increment: ol-counter;
}

.article-body ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amber);
}

.article-body strong { color: var(--charcoal); }

.callout-box {
  background: var(--amber-glow);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
}

.callout-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--charcoal-mid);
}

.callout-box strong { color: var(--amber-dark); }

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
}

.sidebar-card.accent {
  background: var(--charcoal);
  border-color: transparent;
}

.sidebar-card h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--charcoal);
}

.sidebar-card.accent h4 { color: var(--white); }

.sidebar-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.sidebar-card.accent p { color: rgba(255,255,255,0.65); }

.sidebar-card .btn { width: 100%; text-align: center; }

.sidebar-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.sidebar-card ul li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.sidebar-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.78rem;
}

@media (max-width: 1024px) {
  .article-wrap {
    grid-template-columns: 1fr;
  }
  .article-sidebar { position: static; }
}

/* ---------------------------------------------------------
   23. Process / Brewing Stages Timeline
   --------------------------------------------------------- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 40px 0;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--amber), var(--amber-light), var(--amber));
  z-index: 0;
}

.process-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.process-icon {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 3px solid var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  box-shadow: var(--shadow-amber);
}

.process-stage h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.process-stage p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.process-stage .duration {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
  background: var(--amber-glow);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-top: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-timeline::before { display: none; }
}

@media (max-width: 480px) {
  .process-timeline { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   24. Equipment Cards (affiliate links section)
   --------------------------------------------------------- */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.equipment-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}

.equipment-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.equipment-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}

.equipment-info h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.equipment-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.equipment-cost {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hops-green);
}

.equipment-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}

.equipment-link:hover { color: var(--amber-dark); }

@media (max-width: 640px) {
  .equipment-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   25. FAQ Accordion
   --------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 32px 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open { border-color: var(--border); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--charcoal);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--amber); }
.faq-item.open .faq-question { color: var(--amber); }

.faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--amber);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.faq-answer-inner p { margin-bottom: 10px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------
   26. Quick-Start Checklist
   --------------------------------------------------------- */
.checklist {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 28px 0;
}

.checklist h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
  margin: 0;
}

.checklist ul li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-left: 22px !important;
}

.checklist ul li::before {
  content: '☐';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .checklist ul { grid-template-columns: 1fr; }
  .checklist { padding: 20px; }
}

/* ---------------------------------------------------------
   27. Recipe Recommendation Card (inline)
   --------------------------------------------------------- */
.recipe-recommend {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2D1A00 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 32px 0;
  overflow: hidden;
  position: relative;
}

.recipe-recommend::after {
  content: '🍺';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
  opacity: 0.12;
  pointer-events: none;
}

.recipe-recommend-badge {
  background: var(--amber);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 10px;
}

.recipe-recommend h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.recipe-recommend p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   28. Page Navigation (prev/next articles)
   --------------------------------------------------------- */
.page-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.page-nav-link {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all var(--transition);
}

.page-nav-link:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.page-nav-link.next { text-align: right; }

.page-nav-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.page-nav-title {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--charcoal);
}

@media (max-width: 640px) {
  .page-nav { grid-template-columns: 1fr; }
}

/* =========================================================
   RECIPE PAGE STYLES
   ========================================================= */

/* ---------------------------------------------------------
   29. Recipe Quick-Stats Card
   --------------------------------------------------------- */
.recipe-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}

.recipe-stat {
  flex: 1;
  min-width: 110px;
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.recipe-stat:last-child { border-right: none; }

.recipe-stat-icon { font-size: 1.4rem; }

.recipe-stat-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.recipe-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal-light);
}

@media (max-width: 640px) {
  .recipe-stats-bar { display: grid; grid-template-columns: repeat(3, 1fr); }
  .recipe-stat { border-bottom: 1px solid var(--border-light); }
}

/* ---------------------------------------------------------
   30. Recipe Layout (two column: content + ingredients)
   --------------------------------------------------------- */
.recipe-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}

.recipe-main { min-width: 0; }

.recipe-main h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  padding-top: 48px;
  border-top: 1px solid var(--border-light);
  color: var(--charcoal);
}

.recipe-main h2:first-child { padding-top: 0; border-top: none; }

.recipe-main p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Sticky ingredients sidebar */
.recipe-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.ingredients-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ingredients-card-header {
  background: var(--charcoal);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ingredients-card-header h3 {
  color: var(--white);
  font-size: 1rem;
  margin: 0;
}

.batch-size {
  font-size: 0.78rem;
  color: var(--amber);
  font-weight: 600;
}

.ingredients-card-body { padding: 20px 24px; }

.ingredient-group-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin: 16px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.ingredient-group-label:first-child { margin-top: 0; }

.ingredient-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.88rem;
}

.ingredient-item:last-child { border-bottom: none; }

.ingredient-name { color: var(--text-secondary); line-height: 1.4; }

.ingredient-amount {
  color: var(--amber-dark);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.ingredient-timing {
  font-size: 0.72rem;
  color: var(--charcoal-pale);
  display: block;
}

.ingredients-card-footer {
  padding: 16px 24px;
  background: var(--cream);
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ingredients-card-footer .btn { width: 100%; }

/* Print button */
.btn-print {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal-light);
  cursor: pointer;
  transition: color var(--transition);
  background: none;
  border: none;
  justify-content: center;
  width: 100%;
  padding: 4px 0;
}

.btn-print:hover { color: var(--amber); }

@media (max-width: 1024px) {
  .recipe-wrap { grid-template-columns: 1fr; }
  .recipe-sidebar { position: static; }
  .ingredients-card { margin-bottom: 32px; }
}

/* ---------------------------------------------------------
   31. Recipe Steps / Instructions
   --------------------------------------------------------- */
.recipe-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0;
}

.recipe-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.recipe-step:last-child { border-bottom: none; }

.step-num {
  width: 40px;
  height: 40px;
  background: var(--amber);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(193,120,23,0.3);
  position: relative;
  z-index: 1;
}

.step-content { flex: 1; }

.step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}

.step-tip {
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--amber-glow);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--charcoal-mid);
  line-height: 1.6;
}

.step-tip strong { color: var(--amber-dark); }

/* ---------------------------------------------------------
   32. Brew Timeline / Fermentation Schedule
   --------------------------------------------------------- */
.brew-timeline {
  margin: 28px 0;
  position: relative;
}

.brew-timeline-track {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 56px;
}

.brew-phase {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  text-align: center;
  padding: 4px;
  line-height: 1.3;
}

.brew-phase.brew-day  { background: var(--amber);      flex: 1; }
.brew-phase.ferment   { background: var(--hops-green);  flex: 2; }
.brew-phase.dry-hop   { background: #6B8A4A;            flex: 1; }
.brew-phase.bottle    { background: var(--copper);      flex: 1; }
.brew-phase.condition { background: var(--charcoal-mid);flex: 2; }

.brew-timeline-labels {
  display: flex;
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.brew-timeline-labels span {
  flex: 1;
  text-align: center;
}

/* ---------------------------------------------------------
   33. Recipe Notes / Tips Box
   --------------------------------------------------------- */
.recipe-notes {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
}

.recipe-notes h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recipe-notes ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recipe-notes ul li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.65;
}

.recipe-notes ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}

/* ---------------------------------------------------------
   34. Related Recipes Grid
   --------------------------------------------------------- */
.related-recipes {
  padding: 64px 24px;
  background: var(--cream);
  margin-top: 64px;
}

.related-recipes .section-header { margin-bottom: 36px; }

.related-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   35. Social Share Bar
   --------------------------------------------------------- */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin: 32px 0;
}

.share-bar span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--charcoal-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.share-btn.pinterest { background: #E60023; color: white; }
.share-btn.facebook  { background: #1877F2; color: white; }
.share-btn.copy      { background: var(--cream-dark); color: var(--charcoal); }

.share-btn:hover { opacity: 0.88; transform: translateY(-2px); color: var(--white); }
.share-btn.copy:hover { color: var(--charcoal); }

/* =========================================================
   EQUIPMENT / STARTER KITS PAGE STYLES
   ========================================================= */

/* ---------------------------------------------------------
   36. Kit Review Cards
   --------------------------------------------------------- */
.kit-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 32px 0;
}

.kit-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
  position: relative;
}

.kit-card:hover { box-shadow: var(--shadow-lg); }

.kit-card.top-pick { border-color: var(--amber); }

.kit-top-badge {
  position: absolute;
  top: 20px;
  left: -2px;
  background: var(--amber);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px 5px 16px;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  box-shadow: 2px 2px 8px rgba(193,120,23,0.3);
}

.kit-card-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
}

.kit-image-wrap {
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  min-height: 180px;
  padding: 24px;
}

.kit-details { padding: 28px; }

.kit-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.kit-title { font-size: 1.2rem; margin: 0; color: var(--charcoal); }

.kit-price-tag {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
}

.kit-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--amber);
  font-size: 0.9rem;
}

.kit-rating span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.kit-description {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.kit-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.pros-list h5, .cons-list h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pros-list h5 { color: var(--hops-green); }
.cons-list h5 { color: #C0392B; }

.pros-list ul li,
.cons-list ul li {
  font-size: 0.83rem;
  color: var(--text-secondary);
  padding: 3px 0 3px 18px;
  position: relative;
  line-height: 1.5;
}

.pros-list ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--hops-green);
  font-weight: 700;
  font-size: 0.78rem;
}

.cons-list ul li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #C0392B;
  font-weight: 700;
  font-size: 0.78rem;
}

.kit-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.kit-includes {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.kit-includes h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 10px;
}

.kit-includes-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kit-tag {
  font-size: 0.75rem;
  background: var(--cream);
  color: var(--charcoal-mid);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .kit-card-inner { grid-template-columns: 1fr; }
  .kit-image-wrap { min-height: 120px; }
  .kit-pros-cons  { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   37. Budget Comparison Table
   --------------------------------------------------------- */
.compare-table-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th {
  background: var(--charcoal);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.compare-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.compare-table th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }

.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: middle;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table tr:hover td { background: var(--cream); }

.compare-table tr.highlighted td { background: rgba(193,120,23,0.06); }

.compare-table .check { color: var(--hops-green); font-weight: 700; }
.compare-table .cross { color: #C0392B; }
.compare-table .price { font-weight: 700; color: var(--amber); font-family: var(--font-display); }
.compare-table .kit-name { font-weight: 600; color: var(--charcoal); }
.compare-table .badge-best {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------------------------------------------------------
   38. "What to Look For" Icon Feature List
   --------------------------------------------------------- */
.feature-icon-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0;
}

.feature-icon-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon-circle {
  width: 44px;
  height: 44px;
  background: var(--amber-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.feature-icon-text h4 {
  font-size: 0.93rem;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.feature-icon-text p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .feature-icon-list { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   39. Print Styles
   --------------------------------------------------------- */
@media print {
  .navbar, .hero-slider, .page-hero, .slider-arrow,
  .slider-dots, .email-capture, .footer, .scroll-top,
  .recipe-sidebar, .share-bar, .related-recipes,
  .sidebar-card, .article-sidebar, .nav-toggle,
  .page-nav, .btn { display: none !important; }

  body { font-size: 12pt; color: #000; background: #fff; }
  .recipe-wrap, .article-wrap { display: block; padding: 0; }
  .recipe-main, .article-body { max-width: 100%; }
  .ingredients-card { border: 1pt solid #ccc; margin-bottom: 16pt; }
  h1, h2, h3 { color: #000; page-break-after: avoid; }
  .recipe-step { page-break-inside: avoid; }
  a { color: #000; text-decoration: none; }
}
