/* ==========================================================================
   PRIMAL GROW - ADVANCED STYLESHEET
   Theme: Tribal Obsidian, Crimson Earth & Gold
   Font: Poppins / Oswald
   NOTE: Engineered for full desktop & mobile responsiveness. Includes exact
   visual styling for the 3-column Pricing Section (Basic / Premium / Standard)
   with dark patterned backdrop and yellow CTA buttons.
   ========================================================================== */

/* ===== GLOBAL RESETS ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* === BRAND COLORS FOR PRIMAL GROW (TRIBAL EARTH, CRIMSON & GOLD) === */
  --brand-primary:   #B91C1C; /* Deep Tribal Crimson Red (Matches Bottle Accents) */
  --brand-secondary: #15803D; /* Rich Botanical Forest Green */
  --brand-accent:    #D97706; /* Warm Amber Gold for Main CTAs */
  --brand-yellow:    #FFC000; /* Exact Golden Yellow for Pricing Buy Now Buttons */
  --brand-yellow-hv: #E6AC00; /* Hover state for Yellow Buy Now Buttons */
  --brand-green:     #28A745; /* Verification & Checkmark Green */

  /* Backgrounds & Text */
  --bg-main:         #FFFFFF; /* Clean White Background */
  --bg-light:        #F7F6F2; /* Warm Stone/Sand Gray for alternating sections */
  --bg-dark:         #11100F; /* Deep Obsidian Black for Footer & Pricing Section */
  --card-bg:         #FFFFFF; /* White for standard content cards */
  --text-main:       #1C1917; /* Deep Charcoal-Black for sharp readability */
  --text-muted:      #57534E; /* Warm Muted Slate for secondary descriptions */
  --text-dark:       #FFFFFF; /* White text on dark backgrounds */
  --border-color:    #E7E5E4; /* Soft warm gray for card borders */

  /* Shadows */
  --shadow-sm:       0 2px 8px rgba(28, 25, 23, 0.06);
  --shadow-md:       0 4px 20px rgba(28, 25, 23, 0.10);
  --shadow-lg:       0 14px 35px rgba(0, 0, 0, 0.25);

  /* === OPTIMIZED TYPOGRAPHY SCALES === */
  --f-xs:    1.0rem;
  --f-sm:    1.15rem;
  --f-body:  1.20rem;
  --f-md:    1.45rem;
  --f-lg:    1.65rem;
  --f-xl:    2.1rem;
  --f-2xl:   2.6rem;
  --f-3xl:   3.2rem;
  --f-price: 3.4rem;
  --lh-body: 1.8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: var(--f-body);
  line-height: var(--lh-body);
  color: var(--text-main);
  background: var(--bg-main);
  overflow-x: hidden;
  padding-bottom: 0;
}

/* ===== TYPOGRAPHY BASICS ===== */
h1 {
  font-family: 'Oswald', sans-serif;
  font-size: var(--f-3xl);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
h2 {
  font-size: var(--f-2xl);
  font-weight: 800;
  line-height: 1.25;
}
h3 {
  font-size: var(--f-xl);
  font-weight: 700;
  line-height: 1.3;
}
h4 {
  font-size: var(--f-lg);
  font-weight: 700;
  line-height: 1.35;
}
p, li {
  font-size: var(--f-body);
  line-height: var(--lh-body);
  margin-bottom: 18px;
  text-align: justify;
  text-align-last: left;
}
a {
  text-decoration: none;
  color: var(--brand-primary);
}
strong {
  font-weight: 800;
  color: var(--brand-primary);
}

/* ===== LAYOUT UTILITIES ===== */
.section {
  padding: 80px 24px;
}
.bg-light {
  background: var(--bg-light);
}
.brand-title {
  color: var(--brand-primary);
}
.sec-title {
  text-align: center;
  font-size: var(--f-2xl);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 15px;
}
.sec-sub {
  text-align: center;
  font-size: var(--f-md);
  color: var(--text-muted);
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.wrap {
  padding: 0 15px;
}

/* ===== GENERAL CTA BUTTONS (Hero, Guarantee, FAQ) ===== */
.btn-cta {
  display: inline-block;
  background: var(--brand-primary);
  color: var(--text-dark) !important;
  padding: 18px 45px;
  border-radius: 6px;
  font-weight: 800;
  font-size: var(--f-lg);
  margin-top: 25px;
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.35);
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-cta:hover {
  background: #991B1B;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(185, 28, 28, 0.5);
}
.btn-cta-xl {
  font-size: 1.4rem;
  padding: 18px 50px;
}

/* ===== NAVIGATION BAR ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border-color);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
}
.nav-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 1.5px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin-top: 15px;
}
.nav-links a {
  color: var(--text-main);
  font-weight: 700;
  font-size: var(--f-sm);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--brand-primary);
}
.btn-nav {
  background: var(--brand-yellow);
  color: #111111 !important;
  padding: 11px 28px;
  border-radius: 5px;
  font-weight: 800;
  font-size: var(--f-sm);
  transition: all 0.2s;
  text-transform: uppercase;
}
.btn-nav:hover {
  background: var(--brand-yellow-hv);
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--text-main);
  border-radius: 2px;
}
.mob-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-main);
  border-top: 1px solid var(--border-color);
}
.mob-menu.open {
  display: flex;
}
.mob-menu a {
  color: var(--text-main);
  font-weight: 700;
  font-size: var(--f-md);
}
.mob-menu a:hover {
  color: var(--brand-primary);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 80px 24px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F3EF 100%);
  border-bottom: 1px solid var(--border-color);
}
.hero-grid {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.hero-content h1 {
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-content h1 span {
  color: var(--brand-primary);
}
.hero-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: var(--f-lg);
  text-align: left;
  font-weight: 500;
}
.hero-img img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.18));
}
.trust-stars {
  margin-bottom: 15px;
}
.hero-divider {
  border: none;
  border-top: 2px solid var(--border-color);
  margin: 25px 0;
}
.sale-price {
  font-size: var(--f-xl);
  font-weight: 900;
  color: var(--brand-primary);
  margin: 8px 0;
}
.hurry-badge {
  display: inline-block;
  background: #FEF3C7;
  color: #B45309;
  padding: 8px 20px;
  font-size: var(--f-sm);
  font-weight: 800;
  border-radius: 5px;
  margin-top: 10px;
  margin-bottom: 15px;
  border: 1px solid #FCD34D;
}

/* ===== TWO COLUMNS (WHAT IS & QUALITY SECTIONS) ===== */
.two-col {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
}
.two-col img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
}
.two-col h2 {
  color: var(--brand-primary);
  margin-bottom: 25px;
}

/* ===== BENEFITS BADGES ===== */
.badges-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.badge-card {
  text-align: center;
  padding: 35px 20px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--card-bg);
  transition: all 0.3s;
}
.badge-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.badge-card img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
}
.badge-card h4 {
  color: var(--brand-primary);
  margin-bottom: 12px;
}
.badge-card p {
  font-size: 1.05rem;
  text-align: center;
  text-align-last: center;
  color: var(--text-muted);
}

/* ===== INGREDIENTS LIST ===== */
.ing-list {
  max-width: 950px;
  margin: 0 auto;
  list-style: none;
}
.ing-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  align-items: center;
  position: relative;
  padding: 25px 30px 25px 80px;
  margin-bottom: 22px;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s;
}
.ing-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-secondary);
}
.ing-num {
  width: 52px;
  height: 52px;
  background: var(--brand-primary);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--f-lg);
  font-weight: 900;
  position: absolute;
  left: -15px;
  top: -15px;
  box-shadow: var(--shadow-sm);
}
.ing-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--border-color);
}
.ing-content h4 {
  color: var(--text-main);
  margin-bottom: 10px;
  font-size: var(--f-xl);
}

/* ===== TESTIMONIALS / REVIEWS ===== */
.testi-grid {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}
.testi-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 35px 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.testi-photo {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 3px solid var(--brand-primary);
}
.stars {
  font-size: 1.6rem;
  color: var(--brand-yellow);
  margin-bottom: 6px;
}
.verified {
  color: var(--brand-green);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.testi-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: center;
  text-align-last: center;
}
.testi-name {
  font-weight: 900;
  color: var(--text-main);
  font-size: 1.1rem;
}

/* ==========================================================================
   PRICING SECTION (EXACT MATCH TO UPLOADED PRIMAL GROW IMAGE)
   - Dark geometric tribal background
   - Basic & Standard cards: Translucent light-gray (#CCCCCC / rgba)
   - Premium center card: Elevated pure white (#FFFFFF)
   - Typography: Clean "$49 / bottle", "Free Shipping*", "Total: $196"
   - Buttons: Bright Golden-Yellow (#FFC000) with dark text "Buy Now"
   ========================================================================== */
.pricing-tribal-bg {
  background-color: #0D0C0B;
  /* Subtle geometric tribal-style pattern overlay using CSS gradients + optional image */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(185, 28, 28, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(21, 128, 61, 0.08) 0%, transparent 45%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 14px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 14px);
  padding: 90px 24px 100px;
  border-top: 3px solid #262320;
  border-bottom: 3px solid #262320;
}

.pricing-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: end;
  text-align: center;
}

/* Base Card (BASIC & STANDARD - Light Gray Semi-Translucent Backdrop) */
.p-card {
  background: rgba(212, 212, 212, 0.88);
  border-radius: 2px;
  padding: 36px 28px 34px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.p-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

/* Center Highlighted Card (PREMIUM - Taller Pure White Backdrop) */
.p-card.pop {
  background: rgba(250, 250, 250, 0.97);
  padding-top: 52px;
  padding-bottom: 38px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
}

/* Card Header Title (BASIC / PREMIUM / STANDARD) */
.tier-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #1E1E1E;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Bottle Product Image inside Pricing Card */
.p-card img {
  width: 100%;
  max-width: 225px;
  height: 210px;
  object-fit: contain;
  margin: 0 auto 22px;
  display: block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.p-card.pop img {
  max-width: 265px;
  height: 230px;
}

.p-card img:hover {
  transform: scale(1.04);
}

/* "$69 / bottle" Price Line */
.price-line {
  margin-bottom: 18px;
  color: #181818;
  line-height: 1.1;
}

.price-big {
  font-size: 3.1rem;
  font-weight: 700;
  color: #181818;
  letter-spacing: -1px;
}

.per-btl {
  font-size: 2.15rem;
  font-weight: 400;
  color: #262626;
}

/* Package Feature List ("Free Shipping*", "4 Bottles", "50% Discount") */
.pkg-features {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
  width: 100%;
}

.pkg-features li {
  font-size: 1.05rem;
  font-weight: 500;
  color: #222222;
  text-align: center;
  text-align-last: center;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* "Total: $196" Line */
.total-line {
  font-size: 1.45rem;
  font-weight: 500;
  color: #181818;
  margin-top: 4px;
  margin-bottom: 18px;
}

/* Yellow "Buy Now" Button (Exact Match to Screenshot) */
.btn-buy-yellow {
  display: block;
  width: 100%;
  max-width: 245px;
  background: var(--brand-yellow);
  color: #111111 !important;
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 5px;
  text-align: center;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-buy-yellow:hover {
  background: var(--brand-yellow-hv);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 192, 0, 0.45);
}

/* ===== 60-DAY GUARANTEE SECTION ===== */
.mb-inner {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: center;
}
.mb-inner img {
  width: 100%;
  max-width: 270px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.12));
}
.mb-inner h3 {
  color: var(--brand-primary);
  margin-bottom: 20px;
  font-size: var(--f-xl);
}

/* ===== FAQ ACCORDION SECTION ===== */
.faq-list {
  max-width: 950px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card-bg);
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 30px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--f-lg);
  font-weight: 800;
  color: var(--text-main);
  font-family: inherit;
  gap: 15px;
}
.faq-q:hover {
  color: var(--brand-primary);
}
.faq-arrow {
  color: var(--brand-primary);
  transition: transform 0.3s;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}
.faq-ans {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  padding: 0 30px;
  color: var(--text-muted);
}
.faq-item.open .faq-ans {
  max-height: 800px;
  padding: 0 30px 25px;
}

/* ===== FOOTER (DISCLAIMERS, BUYGOODS, GDPR, FTC) ===== */
footer {
  background: var(--bg-dark);
  color: #A8A29E;
  padding: 65px 24px 45px;
  text-align: center;
  border-top: 1px solid #292524;
}
.foot-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 0 0 35px;
  flex-wrap: wrap;
}
.foot-links a {
  color: #FBBF24;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.foot-links a:hover {
  color: #FFFFFF;
}
.foot-disc {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: justify;
  text-align-last: center;
}
.foot-disc p {
  font-size: 0.92rem;
  margin-bottom: 14px;
  color: #A8A29E;
}
.foot-disc strong {
  color: #E7E5E4;
}
.foot-copy {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-top: 25px;
  color: #D6D3CD;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --f-body: 1.15rem;
    --f-md: 1.3rem;
    --f-lg: 1.45rem;
    --f-xl: 1.8rem;
    --f-2xl: 2.2rem;
    --f-3xl: 2.8rem;
  }
  .hero-grid,
  .two-col,
  .mb-inner,
  .testi-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    text-align: center;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 28px;
  }
  /* Put the 4-Bottle PREMIUM card first on mobile/tablet if desired, or keep natural order */
  .p-card.pop {
    padding-top: 40px;
  }
  .badges-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 650px;
  }
  .nav-links,
  .btn-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .ing-item {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 50px 25px 30px;
  }
  .ing-num {
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
  }
  .ing-img {
    margin: 0 auto;
  }
  p, li {
    text-align: left;
  }
}

@media (max-width: 600px) {
  :root {
    --f-body: 1.05rem;
    --f-md: 1.15rem;
    --f-lg: 1.25rem;
    --f-xl: 1.55rem;
    --f-2xl: 1.85rem;
    --f-3xl: 2.2rem;
  }
  .badges-grid {
    grid-template-columns: 1fr;
  }
  .btn-cta,
  .btn-cta-xl {
    padding: 16px 20px;
    font-size: var(--f-md);
    width: 100%;
  }
  .section {
    padding: 55px 18px;
  }
  .pricing-tribal-bg {
    padding: 60px 18px 70px;
  }
  .price-big {
    font-size: 2.6rem;
  }
  .per-btl {
    font-size: 1.75rem;
  }
  .foot-disc,
  .foot-disc p {
    text-align: left;
    text-align-last: left;
  }
}

/* ==========================================================================
   SIMPLE LEGAL PAGES (Contact / Privacy / Terms / Disclaimer / Refund)
   Reuses root tokens so auxiliary pages match the main landing page.
   ========================================================================== */
.simple-header {
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 24px;
}
.simple-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.simple-header .nav-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-primary);
}
.simple-header .back-home {
  font-weight: 700;
  font-size: var(--f-sm);
  color: var(--text-muted);
}
.simple-header .back-home:hover {
  color: var(--brand-primary);
}
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}
.legal-wrap h1 {
  font-size: var(--f-2xl);
  text-transform: none;
  margin-bottom: 8px;
  color: var(--text-main);
}
.legal-updated {
  color: var(--text-muted);
  font-size: var(--f-sm);
  margin-bottom: 35px;
}
.legal-wrap h2 {
  font-size: var(--f-lg);
  color: var(--brand-primary);
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-wrap h3 {
  font-size: var(--f-md);
  color: var(--text-main);
  margin-top: 22px;
  margin-bottom: 10px;
}
.legal-wrap p,
.legal-wrap li {
  text-align: left;
}
.legal-wrap ul,
.legal-wrap ol {
  margin: 0 0 18px 22px;
}
.legal-wrap a {
  text-decoration: underline;
}

/* ==========================================================================
   3 PRODUCT LABELS & SCIENTIFIC REFERENCES STYLING
   ========================================================================== */
.labels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 35px;
}

.label-card {
  background: var(--card-bg);
  padding: 24px 20px;
  border-radius: 14px;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.label-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary);
}

.label-card h4 {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 18px;
  text-align: center;
}

.label-card img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

/* Scientific References List (2-Column Desktop, 1-Column Mobile) */
.ref-list {
  columns: 2;
  column-gap: 45px;
  padding-left: 22px;
  margin-top: 20px;
}

.ref-list li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 14px;
  break-inside: avoid;
  text-align: left;
  word-break: break-word;
}

.ref-list li span {
  color: #78716C;
  font-size: 0.85rem;
  display: block;
  margin-top: 2px;
}

/* Responsive adjustments for Labels & References */
@media (max-width: 1024px) {
  .labels-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .ref-list {
    columns: 1;
  }
}

/* ==========================================================================
   LEGAL TABLES & CONTACT FORM STYLING (For Auxiliary Pages)
   ========================================================================== */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0 35px;
  font-size: 0.98rem;
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  border-radius: 8px;
  overflow: hidden;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--brand-primary);
  color: #FFFFFF;
  font-weight: 700;
}
.legal-table tr:nth-child(even) {
  background: var(--bg-light);
}

.contact-box {
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
}
.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 1rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 18px;
  border: 1px solid #D6D3CD;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}
.contact-form button {
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  padding: 14px 35px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  text-transform: uppercase;
}
.contact-form button:hover {
  background: #991B1B;
}

@media (max-width: 600px) {
  .legal-table {
    display: block;
    overflow-x: auto;
  }
}