/* ==============================================================================
   TREIZE (°13) — HIGH-END BAKERY & VIENNOISERIE DESIGN SYSTEM
   Modern, Artisanal, Mobile-First, Accessible & Conversion-Focused
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Canvas & Backgrounds (Alabaster, Ivory & Warm Porcelain) */
  --bg-canvas: #faf8f5;
  --bg-canvas-alt: #f4ede1;
  --bg-card: #ffffff;
  --bg-card-subtle: #fcfbfa;
  --bg-highlight: #fff8eb;

  /* Typography & Neutral Ink (Espresso, Roasted Hazelnut & Warm Stone) */
  --ink-primary: #1e1610;
  --ink-secondary: #4a3a2d;
  --ink-muted: #7c6856;
  --ink-light: #a89584;

  /* Warm Golden Pastry & Honey Crust (Primary Brand Colors) */
  --gold-primary: #c9822b;
  --gold-hover: #b06f1f;
  --gold-dark: #8c5310;
  --gold-light: #fbeed9;
  --gold-glow: rgba(201, 130, 43, 0.22);

  /* Deep Luxury Dark Roast (For Premium Dark Sections) */
  --dark-bg: #1c140e;
  --dark-surface: #291e16;
  --dark-border: rgba(242, 202, 128, 0.15);
  --dark-gold: #f2ca80;
  --dark-text-muted: #c7b8aa;

  /* Conversion WhatsApp Green */
  --wa-green: #25d366;
  --wa-dark: #1fba59;
  --wa-light: #edfcf2;
  --wa-glow: rgba(37, 211, 102, 0.32);

  /* Borders & Dividers */
  --border-light: rgba(30, 22, 16, 0.08);
  --border-hover: rgba(201, 130, 43, 0.35);

  /* Modern Elevation Shadows (No harsh mud shadows) */
  --shadow-sm: 0 2px 8px rgba(30, 22, 16, 0.04), 0 1px 2px rgba(30, 22, 16, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(30, 22, 16, 0.08), 0 3px 6px -2px rgba(30, 22, 16, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(30, 22, 16, 0.12), 0 8px 16px -4px rgba(30, 22, 16, 0.04);
  --shadow-glow: 0 12px 30px -4px var(--gold-glow);

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Typography Stack */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, "Times New Roman", serif;

  /* Dimensions */
  --max-width: 1140px;
  --header-height: 72px;

  /* Compatibility Fallback Tokens for Existing Code */
  --cream: var(--bg-canvas);
  --cream-dark: var(--bg-canvas-alt);
  --amber: var(--gold-primary);
  --amber-deep: var(--gold-hover);
  --gold: #df9e38;
  --brown: var(--ink-primary);
  --brown-mid: var(--ink-secondary);
  --brown-soft: var(--ink-muted);
  --ink: var(--ink-primary);
  --muted: var(--ink-muted);
  --white: #ffffff;
  --wa: var(--wa-green);
  --radius: var(--radius-md);
  --shadow: var(--shadow-md);
  --font: var(--font-body);
  --max: var(--max-width);
  --header-h: var(--header-height);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  font-family: var(--font-body);
  color: var(--ink-primary);
  background-color: var(--bg-canvas);
  line-height: 1.65;
  font-size: 1.05rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-hover);
  text-decoration: none;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

a:hover {
  color: var(--gold-dark);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-primary);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 0.65em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.22;
}

h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 700;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.15em;
  color: var(--ink-secondary);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  font-weight: 450;
}

.muted {
  color: var(--ink-muted) !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==============================================================================
   LAYOUT & CONTAINERS
   ============================================================================== */
.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section--alt {
  background: var(--bg-canvas-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Premium Dark Section (No ugly muddy brown) */
.section--brown {
  background: linear-gradient(160deg, #221811 0%, #150e09 100%) !important;
  color: #faf8f5 !important;
  border-top: 1px solid rgba(242, 202, 128, 0.12);
  border-bottom: 1px solid rgba(242, 202, 128, 0.12);
}

.section--brown h1,
.section--brown h2,
.section--brown h3 {
  color: var(--dark-gold) !important;
}

.section--brown p,
.section--brown li {
  color: #dfd5cb !important;
}

.section--brown .muted {
  color: #b5a698 !important;
}

.grid-2 {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==============================================================================
   SITE HEADER & NAVIGATION (Glassmorphism & Crisp Elevation)
   ============================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(30, 22, 16, 0.06);
  border-bottom-color: rgba(30, 22, 16, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--ink-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 170px;
}

.logo__deg {
  font-size: 0.8em;
  color: var(--gold-primary);
  font-weight: 700;
}

.site-nav {
  display: none;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.35rem;
}

.site-nav a {
  font-family: var(--font-body);
  color: var(--ink-secondary);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-xs);
  transition: all 0.18s ease;
  position: relative;
}

.site-nav a:not(.btn):hover {
  color: var(--gold-primary);
  background: rgba(201, 130, 43, 0.06);
}

.site-nav a[aria-current="page"]:not(.btn) {
  color: var(--gold-primary);
  font-weight: 700;
}

.site-nav a[aria-current="page"]:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0.5rem;
  right: 0.5rem;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: var(--bg-canvas-alt);
  border-color: var(--gold-primary);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-primary);
  position: relative;
  transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink-primary);
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
}

@media (max-width: 959px) {
  .site-nav {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 1.75rem 2rem;
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    box-shadow: 0 15px 30px rgba(30, 22, 16, 0.12);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .site-nav a {
    padding: 0.65rem 0.85rem;
    font-size: 1.05rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ==============================================================================
   BUTTONS & CTAs
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

/* Primary Amber / Gold Button */
.btn--primary {
  background: linear-gradient(135deg, #df9e38 0%, #c9822b 100%);
  color: #ffffff !important;
  border-color: #c9822b;
  box-shadow: 0 4px 14px rgba(201, 130, 43, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #ebaa46 0%, #b87422 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 130, 43, 0.45);
}

/* WhatsApp Direct CTA Button */
.btn--wa {
  background: linear-gradient(135deg, #28e06d 0%, #1fba59 100%);
  color: #ffffff !important;
  border-color: #1fba59;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.32);
}

.btn--wa:hover {
  background: linear-gradient(135deg, #32eb77 0%, #17a34c 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

/* Ghost / Secondary Button */
.btn--ghost {
  background: #ffffff;
  color: var(--ink-primary) !important;
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  background: var(--bg-canvas-alt);
  border-color: var(--gold-primary);
  color: var(--gold-hover) !important;
  transform: translateY(-2px);
}

/* Light / Inverted Button */
.btn--light {
  background: #ffffff;
  color: var(--ink-primary) !important;
  border-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.btn--light:hover {
  background: var(--gold-light);
  color: var(--gold-hover) !important;
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 1.5rem;
}

/* ==============================================================================
   HERO SECTION (Appetizing, Warm & High-Impact)
   ============================================================================== */
.hero {
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(201, 130, 43, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(244, 237, 225, 0.7) 0%, transparent 40%),
    var(--bg-canvas);
  position: relative;
  overflow: hidden;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-light);
  border: 1px solid rgba(201, 130, 43, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.hero__lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  max-width: 44ch;
  margin-bottom: 1.75rem;
}

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: transform 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-3px);
}

.hero-card img,
.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(30, 22, 16, 0.08);
}

.price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1;
  margin: 0.75rem 0 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price__unit {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.price-note {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ==============================================================================
   CARDS & PRODUCT CATALOG
   ============================================================================== */
.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.card h3 {
  margin-top: 0.25rem;
  margin-bottom: 0.6rem;
}

.card h3 a {
  color: var(--ink-primary);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--gold-primary);
}

.card img {
  border-radius: var(--radius-md);
  margin-bottom: 1.15rem;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.product-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold-light);
  color: var(--gold-dark);
  padding: 0.3em 0.75em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201, 130, 43, 0.2);
  margin-bottom: 0.75rem;
}

/* Order Steps */
.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  position: relative;
  padding-left: 3.8rem;
  min-height: 2.8rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, #fbe3b5 100%);
  border: 2px solid var(--gold-primary);
  color: var(--gold-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(201, 130, 43, 0.15);
}

/* ==============================================================================
   FAQ ACCORDION (Interactive & Elegant)
   ============================================================================== */
.faq details,
.faq-accordion details {
  background: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: 0.9rem;
  border: 1px solid var(--border-light);
  padding: 1.15rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details:hover,
.faq-accordion details:hover {
  border-color: var(--border-hover);
}

.faq details[open],
.faq-accordion details[open] {
  border-color: rgba(201, 130, 43, 0.4);
  box-shadow: 0 6px 20px rgba(201, 130, 43, 0.08);
  background: #fffdf9;
}

.faq summary,
.faq-accordion summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  user-select: none;
}

.faq summary::-webkit-details-marker,
.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq summary::after,
.faq-accordion summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold-dark);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}

.faq details[open] summary::after,
.faq-accordion details[open] summary::after {
  content: "–";
  background: var(--gold-primary);
  color: #ffffff;
}

.faq details p,
.faq-content p {
  margin: 1rem 0 0.35rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ==============================================================================
   LOCALITY & ZONE CHIPS
   ============================================================================== */
.zone-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.zone-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1.1em;
  background: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
  color: var(--ink-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.zone-list a:hover {
  background: var(--gold-light);
  border-color: var(--gold-primary);
  color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--ink-muted);
  padding: 1.25rem 0 0.5rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--ink-light);
  font-size: 1.1rem;
}

.breadcrumb a {
  color: var(--ink-muted);
}

.breadcrumb a:hover {
  color: var(--gold-primary);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink-primary);
  font-weight: 600;
}

/* Prose Editorial Body */
.prose {
  max-width: 72ch;
}

.prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

.prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.35rem;
}

.prose li {
  margin-bottom: 0.5rem;
  color: var(--ink-secondary);
}

.answer-block {
  background: var(--bg-highlight) !important;
  border-left: 4px solid var(--gold-primary) !important;
  border-radius: var(--radius-sm) !important;
  padding: 1.15rem 1.35rem !important;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

/* ==============================================================================
   TOC, LEAD MAGNETS & E-E-A-T REGULATORY BOXES
   ============================================================================== */

/* Table of Contents (TOC) */
.article-index-box {
  background: #ffffff;
  border: 1px solid rgba(201, 130, 43, 0.25);
  border-left: 5px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.65rem;
  margin: 2rem 0 2.5rem;
  box-shadow: var(--shadow-md);
}

.article-index-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.article-index-box ol {
  margin: 0;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.55rem;
}

.article-index-box li {
  font-size: 0.98rem;
  color: var(--ink-secondary);
}

.article-index-box a {
  color: var(--ink-primary);
  font-weight: 600;
  transition: color 0.15s ease;
}

.article-index-box a:hover {
  color: var(--gold-primary);
  text-decoration: underline;
}

/* In-Content Lead Magnet Box (.cta-whatsapp-box) */
.cta-whatsapp-box {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf2 100%);
  border: 1.5px solid rgba(201, 130, 43, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.75rem 0;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  position: relative;
  overflow: hidden;
}

.cta-whatsapp-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), #f59e0b, var(--wa-green));
}

.cta-whatsapp-box__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-whatsapp-box__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #28e06d 0%, #1fba59 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.cta-whatsapp-box__icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.cta-whatsapp-box h3 {
  font-size: 1.35rem;
  margin: 0;
  color: var(--ink-primary);
}

.cta-whatsapp-box p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 1rem;
  line-height: 1.55;
}

.cta-whatsapp-box__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(201, 130, 43, 0.25);
}

.cta-whatsapp-box__price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold-dark);
}

/* Regulatory E-E-A-T Citation Box */
.regulation-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.4rem;
  margin: 2rem 0;
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  box-shadow: var(--shadow-sm);
}

.regulation-box strong {
  color: var(--ink-primary);
}

/* Author / Team Signature */
.author-signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.author-signature strong {
  color: var(--ink-primary);
}

/* ==============================================================================
   FLOATING WHATSAPP BUTTON (Pulsing, Modern & Clean)
   ============================================================================== */
.wa-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 99;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28e06d 0%, #1fba59 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.wa-fab::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  z-index: -1;
  animation: wa-pulse 2.5s infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.wa-fab:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.wa-fab svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ==============================================================================
   SITE FOOTER (Luxury Dark Roast)
   ============================================================================== */
.site-footer {
  background: var(--dark-bg);
  color: #ded4ca;
  padding: 4.5rem 0 2.5rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(242, 202, 128, 0.15);
}

.site-footer a {
  color: #dfd5cb;
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer a:hover {
  color: var(--dark-gold);
  text-decoration: underline;
}

.site-footer h3 {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.15rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3.5rem;
  }
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dark-gold);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  color: #9e8e80;
}

.footer-bottom a {
  color: #b5a698;
}

.footer-bottom a:hover {
  color: var(--dark-gold);
}

/* ==============================================================================
   TABLES & META ELEMENTS
   ============================================================================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

th {
  background: var(--bg-canvas-alt);
  color: var(--ink-primary);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.tag {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold-dark);
  padding: 0.25em 0.7em;
  border-radius: var(--radius-xs);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(201, 130, 43, 0.2);
}

.cta-band {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fffdfa 0%, #faedd9 100%);
  border: 1.5px solid rgba(201, 130, 43, 0.35);
  box-shadow: var(--shadow-md);
}

/* Image styling */
main img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Admin Dashboard Table Refinement */
#recent-table th {
  background: var(--gold-light);
  color: var(--gold-dark);
}
