/* ==========================================================================
   VITTABURN - ADVANCED STYLESHEET
   Developed for High Conversion, Fast Loading, and Optimal SEO
   Theme: Crimson/Burgundy (Product Match), Clean White, and High-Converting Green
   ========================================================================== */

/* ===== GLOBAL RESETS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* === BRAND COLORS (Adapted for Vittaburn) === */
  --brand-primary:   #7F1239; /* Deep Crimson/Burgundy - Vittaburn Core Color */
  --brand-secondary: #A01748; /* Brighter Burgundy for highlights */
  --brand-accent:    #7F1239; /* High-Converting CTA Background */
  --brand-yellow:    #FFCC00; /* Yellow accent for stars/badges */
  --brand-green:     #059669; /* Verification / Checkmark Green */
  --white:           #ffffff;
  --bg-light:        #FBF6F7; /* Very Soft Burgundy Tint Background for contrast */
  --bg-dark:         #1A030B; /* Deep Dark Burgundy/Black for Footer */
  --text-main:       #1A1A1A; /* Strong Dark Grey for readability */
  --text-muted:      #595959; /* Softer text for descriptions */
  --border-color:    #EED8DF; /* Soft border matching the theme */
  
  /* Shadows */
  --shadow-sm:       0 2px 8px rgba(127, 18, 57, 0.08);
  --shadow-md:       0 4px 20px rgba(127, 18, 57, 0.15);
  --shadow-lg:       0 12px 35px rgba(127, 18, 57, 0.22);

  /* === 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.6rem;
  --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(--white);
  overflow-x: hidden;
  padding-bottom: 100px; 
}

/* Typography Basics */
h1 { font-size: var(--f-3xl); font-weight: 900; line-height: 1.2; letter-spacing: 1px; }
h2 { font-size: var(--f-2xl); font-weight: 800; line-height: 1.25; letter-spacing: 1px; }
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-secondary); }

/* ===== 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; } 

/* ===== BUTTONS ===== */
.btn-cta {
  display: inline-block; 
  background: var(--brand-accent); 
  color: var(--white) !important;
  padding: 18px 45px; 
  border-radius: 8px;
  font-weight: 900; 
  font-size: var(--f-lg);
  margin-top: 25px;
  box-shadow: 0 6px 20px rgba(127, 18, 57, 0.4);
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-cta:hover { 
  background: #5E0C29; 
  transform: translateY(-3px); 
  box-shadow: 0 8px 25px rgba(94, 12, 41, 0.5); 
}
.btn-cta-xl { 
  font-size: 1.2rem;  
  padding: 18px 40px;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 24px;
}
.nav-logo img { height: 50px; object-fit: contain; filter: brightness(0) invert(1); }
.nav-links { 
  display: flex; 
  gap: 35px; 
  list-style: none;
  margin-top: 23px; 
}
.nav-links a { color: var(--white); font-weight: 700; font-size: var(--f-sm); transition: color .2s; }
.nav-links a:hover { color: var(--border-color); }
.btn-nav {
  background: var(--white); color: var(--brand-primary) !important;
  padding: 12px 30px; border-radius: 6px;
  font-weight: 800; font-size: var(--f-sm);
  transition: all .2s;
}
.btn-nav:hover { background: #f0f0f0; }
.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(--white); border-radius: 2px; }
.mob-menu { display: none; flex-direction: column; gap: 18px; padding: 20px 24px; background: var(--white); 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); }

/* ===== HERO SECTION ===== */
.hero { padding: 60px 24px 80px; background: linear-gradient(135deg, #ffffff 40%, var(--bg-light) 100%); }
.hero-grid {
  max-width: 1150px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 50px; align-items: center;
}
.hero-img img { width: 95%; max-width: 95%; margin: 0 auto; display: block; border-radius: 15px; }
.hero-content h1 { color: var(--text-main); margin-bottom: 25px; }
.hero-content h1 span { color: var(--brand-secondary); }
.hero-content p { color: var(--text-muted); margin-bottom: 20px; font-size: var(--f-md); text-align: left; }
.trust-stars { font-size: 1.4rem; font-weight: 700; color: var(--brand-yellow); margin-bottom: 15px; }
.trust-stars span { font-size: 1rem; color: var(--text-muted); margin-left: 8px; font-weight: 500; }
.hero-divider { border: none; border-top: 2px solid var(--border-color); margin: 25px 0; }
.reg-price { font-size: var(--f-md); color: var(--text-muted); }
.sale-price { font-size: var(--f-xl); font-weight: 900; color: var(--brand-primary); margin: 8px 0; }
.hurry-badge { display: inline-block; background: var(--brand-yellow); color: #000; padding: 8px 22px; font-size: var(--f-sm); font-weight: 800; border-radius: 5px; margin-top: 10px; }

/* ===== TRUST 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(--white); transition: all .3s; }
.badge-card:hover { border-color: var(--brand-secondary); 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; }

/* ===== INGREDIENTS ===== */
.ing-list { max-width: 950px; margin: 0 auto; list-style: none; }
.ing-item { padding: 35px 35px 35px 100px; margin-bottom: 25px; background: var(--white); border-radius: 15px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 35px; align-items: center; transition: all 0.3s ease; }
.ing-item:hover { box-shadow: var(--shadow-md); border-color: var(--brand-secondary); }
.ing-num { width: 55px; height: 55px; background: var(--brand-primary); color: var(--white); 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: 180px; height: 180px; object-fit: cover; border-radius: 12px; border: 3px solid var(--bg-light); }
.ing-content h4 { color: var(--brand-secondary); margin-bottom: 12px; font-size: var(--f-xl); }

/* ===== TESTIMONIALS ===== */
.testi-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.testi-card { background: var(--white); border-radius: 15px; padding: 35px 35px; text-align: center; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.testi-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px; border: 4px solid var(--brand-secondary); }
.stars { font-size: 1.8rem; color: var(--brand-yellow); margin-bottom: 10px; }
.verified { color: var(--brand-green); font-weight: 800; font-size: var(--f-sm); margin-bottom: 15px; }
.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(--brand-primary); font-size: 1.1rem; }

/* ==========================================================================
   ADVANCED PRICING SECTION (Matches Image Layout)
   ========================================================================== */

.pricing-wrap {
  max-width: 1150px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center; /* Important: Centers items vertically so the middle one can pop out */
}

/* Base Card Styling */
.p-card {
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

/* --- OVERRIDES: Fix for Centering All Text in Pricing Cards --- */
.p-card p, 
.p-card h3, 
.p-card .supply {
  text-align: center !important;
  text-align-last: center !important; 
}

/* Center Card Emphasis (6 Bottles) */
.p-card.best-value {
  border: 4px solid var(--brand-primary); /* Thick Burgundy Border */
  background: #F4F6EA; /* Light Beige/Green tint from the image */
  transform: scale(1.06); /* Makes the center card pop out */
  box-shadow: 0 15px 40px rgba(127, 18, 57, 0.2);
  z-index: 2; /* Keeps it above side cards */
}

/* --- Card Headers --- */
.p-header {
  padding: 25px 15px 15px;
  color: var(--white);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.p-card.basic .p-header, 
.p-card.good .p-header {
  background: #000000; /* Black for side cards */
}
.p-card.best-value .p-header {
  background: var(--brand-primary); /* Burgundy for center card */
}

.p-header h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 2px;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.p-header p {
  margin: 0;
  font-size: 1.15rem;
}

/* The downward arrow shape using clip-path */
.p-header-arrow {
  width: 100%;
  height: 35px;
  clip-path: polygon(100% 0, 0 0, 50% 100%);
  margin: -1px auto 0; /* -1px removes rendering gaps between divs */
}
.p-card.basic .p-header-arrow, 
.p-card.good .p-header-arrow {
  background: #000000;
}
.p-card.best-value .p-header-arrow {
  background: var(--brand-primary);
}

/* --- Card Body & Images --- */
.p-body {
  padding: 0 25px 35px;
}
.product-img {
  max-width: 170px;
  height: auto;
  margin: 15px auto 20px;
  display: block;
}
.product-img-large {
  max-width: 250px;
  height: auto;
  margin: 15px auto 20px;
  display: block;
}

/* --- Price Row Styling --- */
.p-price-row {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  margin-bottom: 20px;
}
.p-sym { 
  font-size: 2.2rem; 
  font-weight: 800; 
  align-self: flex-start; 
  margin-top: 12px; 
}
.p-num { 
  font-size: 5.5rem; 
  font-weight: 900; 
  letter-spacing: -3px; 
}
.p-per { 
  font-size: 0.95rem; 
  text-align: left !important; 
  text-align-last: left !important; /* Keeps "Per Bottle" perfectly aligned */
  font-weight: 800; 
  margin-left: 8px; 
  color: #333; 
  line-height: 1.2;
}

/* --- Features List (Checkmarks & Lines) --- */
.p-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  border-top: 1px solid #D1D5DB;
}
.p-features li {
  font-size: 0.95rem;
  font-weight: 800;
  padding: 12px 0;
  border-bottom: 1px solid #D1D5DB;
  color: #111;
  text-transform: uppercase;
  /* Centering Fix for List Items */
  text-align: center !important;
  text-align-last: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
.f-save { 
  color: #EA580C !important; 
}
.check {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  margin-right: 6px;
  text-align: center;
}
.icon-orange { background: #EA580C; } /* Save icon color */
.icon-black { background: #000000; } /* Guarantee icon color */

/* --- Buy Buttons --- */
.btn-buy {
  display: block;
  width: 100%;
  border-radius: 8px;
  color: var(--white) !important;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.bg-burgundy { background: var(--brand-primary); }
.bg-burgundy:hover { background: #5E0C29; }
.bg-orange { background: #EA580C; }
.bg-orange:hover { background: #C2410C; }

.btn-top {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.btn-sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 4px;
}

/* --- Footer Texts & Payment Icons --- */
.p-cards-img {
  max-width: 170px !important;
  margin: 20px auto 12px !important;
  display: block;
}
.p-footer p {
  font-size: 1rem;
  margin: 0 0 5px;
  text-align: center !important;
  text-align-last: center !important;
  color: #111;
}
.p-footer p s {
  color: #888;
  margin-right: 3px;
  text-decoration-thickness: 2px;
}
.text-orange { 
  color: #EA580C; 
  font-weight: 900; 
}

/* --- RESPONSIVE PRICING GRID --- */
@media (max-width: 1024px) {
  .pricing-wrap {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 40px;
  }
  .p-card.best-value {
    transform: scale(1); /* Removes scale on mobile so it doesn't overlap weirdly */
    order: -1; /* Pushes the 6-bottle package to the top on mobile/tablet */
  }
}
/* ===== GUARANTEE ===== */
.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: 280px; }
.mb-inner h3 { color: var(--brand-primary); margin-bottom: 20px; font-size: var(--f-xl);}

/* ===== FAQ ===== */
.faq-list { max-width: 950px; margin: 0 auto; }
.faq-item { background: var(--white); 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: 25px 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(--brand-primary); font-family: inherit; }
.faq-arrow { color: var(--brand-secondary); transition: transform .3s; font-size: 1.2rem; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-ans { max-height: 0; overflow: hidden; transition: all .4s ease; padding: 0 30px; }
.faq-item.open .faq-ans { max-height: 800px; padding: 0 30px 25px; }

/* ===== BOTTOM STICKY CTA BAR (MOBILE & DESKTOP) ===== */
.bottom-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(26, 3, 11, 0.98); /* Deep Burgundy/Black */
  backdrop-filter: blur(10px);
  border-top: 4px solid var(--brand-accent);
  padding: 15px 40px 15px 20px; 
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 -5px 25px rgba(0,0,0,0.3);
}
.bottom-cta-bar.visible { transform: translateY(0); }

.close-cta {
  position: absolute;
  top: -15px;
  right: 15px;
  background: var(--text-muted);
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 18px;
  line-height: 24px;
  cursor: pointer;
  z-index: 10000;
  box-shadow: var(--shadow-sm);
}
.close-cta:hover { background: #111; }

.cta-bar-content {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.cta-text { color: var(--white); font-size: var(--f-md); }
.cta-pulse { animation: pulse 1.5s infinite; display: inline-block; font-size: 1.2rem; }
.btn-cta-bar {
  background: var(--brand-accent);
  color: var(--white) !important;
  padding: 14px 35px;
  border-radius: 6px;
  font-weight: 900;
  font-size: var(--f-sm);
  white-space: nowrap;
  transition: background 0.3s;
  box-shadow: 0 4px 15px rgba(127, 18, 57, 0.4);
}
.btn-cta-bar:hover { background: #5E0C29; }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

/* ===== FOOTER ===== */
footer { background: var(--bg-dark); color: #EED8DF; padding: 70px 24px 40px; text-align: center; }
.foot-disc { max-width: 1100px; margin: 0 auto; font-size: 0.95rem; line-height: 1.7; text-align: justify; text-align-last: center; }
.foot-disc p { margin-bottom: 12px; }
.foot-links { display: flex; justify-content: center; gap: 30px; margin: 40px 0 25px; flex-wrap: wrap; }
.foot-links a { color: var(--brand-secondary); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; }
.foot-links a:hover { color: var(--white); }
.foot-copy { font-size: 0.9rem; opacity: 0.7; margin-top: 15px;}

/* ===== RESPONSIVE DESIGN ===== */
@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; --f-price: 3rem;
  }
  .hero-grid, .two-col, .mb-inner, .testi-grid { grid-template-columns: 1fr; text-align: center; }
  .pricing-grid, .badges-grid { grid-template-columns: 1fr; max-width: 550px; margin: 0 auto; }
  .badges-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .p-card.pop { padding-top: 40px; }
  .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; }
  .cta-bar-content { flex-direction: column; text-align: center; gap: 12px; }
  .btn-cta-bar { width: 100%; text-align: center; }
  p, li { text-align: left; }
}

@media (max-width: 600px) {
  :root {
    --f-body: 1.05rem; --f-md: 1.15rem; --f-lg: 1.3rem;
    --f-xl: 1.6rem; --f-2xl: 1.9rem; --f-3xl: 2.2rem; --f-price: 2.5rem;
  }
  .badges-grid { grid-template-columns: 1fr; }
  .btn-cta, .btn-cta-xl { padding: 18px 20px; font-size: var(--f-md); width: 100%; }
  .section { padding: 50px 20px; }
  .foot-disc { text-align: left; text-align-last: left; }
}
/* ==========================================================================
   FEEL GOOD SECTION (Matches image_a1a8fc.jpg)
   ========================================================================== */

/* Subtle diagonal striped background */
.feel-good-section {
  background: repeating-linear-gradient(
    -45deg,
    #ffffff,
    #ffffff 4px,
    #f2f2f2 4px,
    #f2f2f2 5px
  );
  padding: 80px 24px;
}

.feel-good-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Typography Overrides for this section */
.feel-good-content h2 {
  font-size: var(--f-3xl);
  font-weight: 900;
  text-transform: uppercase;
  color: #111;
  line-height: 1.1;
  margin-bottom: 15px;
}

.feel-good-content .brand-title {
  color: var(--brand-primary);
}

/* Custom Dotted Separator */
.separator-dots {
  display: flex;
  gap: 4px;
  margin-bottom: 25px;
}
.separator-dots span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--brand-primary);
}
.separator-dots span:nth-child(even) {
  background-color: var(--brand-primary);
}

.lead-text {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #111;
  line-height: 1.5;
  margin-bottom: 30px;
  text-align: left !important;
  text-align-last: left !important;
}

/* Custom Checkmark List */
.benefit-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}
.benefit-list li {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: left !important;
  text-align-last: left !important;
}

/* SVG Icon Styling */
.check-icon {
  width: 28px;
  height: 28px;
  fill: var(--white); /* Inner check color */
  stroke: var(--brand-primary); /* Outer circle and check border */
  stroke-width: 1;
  margin-right: 15px;
  flex-shrink: 0;
}
.check-icon path {
  fill: var(--brand-primary);
}

.disclaimer {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin-top: 10px;
  text-align: left !important;
  text-align-last: left !important;
}

.feel-good-image img {
  max-width: 100%;
  max-height: 500px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15)); /* Adds the soft shadow seen in the image */
}

/* --- RESPONSIVE FEEL GOOD SECTION --- */
@media (max-width: 1024px) {
  .feel-good-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .feel-good-content h2 {
    font-size: var(--f-2xl);
  }
  .separator-dots {
    justify-content: center;
  }
  .lead-text, .disclaimer {
    text-align: center !important;
    text-align-last: center !important;
  }
  .benefit-list li {
    justify-content: center !important;
    text-align: center !important;
    text-align-last: center !important;
  }
}
@media (max-width: 600px) {
  .benefit-list li {
    font-size: 1.1rem;
    align-items: flex-start;
  }
  .check-icon {
    width: 24px;
    height: 24px;
    margin-top: 2px;
  }
}

/* ==========================================================================
   SCIENTIFIC REFERENCES SECTION
   ========================================================================== */

.ref-image {
  text-align: center;
  margin: 20px auto 40px;
}
.ref-image img {
  max-width: 100%;
  height: auto;
  max-width: 400px; /* Adjust this to make the image bigger or smaller */
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.ref-list-container {
  background: var(--white);
  padding: 40px 50px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.ref-list {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 Columns for Desktop */
  gap: 20px 50px;
  padding-left: 20px; /* Space for numbers */
}

/* Override Global Styles just for this list */
.ref-list li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 15px;
  text-align: left !important;
  text-align-last: left !important;
  word-break: break-word; /* Prevents long URLs from breaking the layout */
}

.ref-list li em {
  color: var(--text-main);
  font-weight: 600;
  font-style: italic;
}

.ref-list li a {
  color: var(--brand-secondary);
  text-decoration: underline;
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.ref-list li a:hover {
  color: var(--brand-primary);
}

/* --- RESPONSIVE REFERENCES --- */
@media (max-width: 900px) {
  .ref-list {
    grid-template-columns: 1fr; /* 1 Column for Mobile/Tablet */
    gap: 10px;
  }
  .ref-list-container {
    padding: 30px 20px;
  }
  .ref-image img {
    max-width: 250px;
  }
}

/* ==========================================================================
   GDPR COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed; 
  bottom: 85px; 
  left: 20px; 
  right: 20px;
  background: var(--text-main); 
  color: var(--white);
  padding: 15px 25px; 
  border-radius: 8px; 
  z-index: 9998;
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 20px;
  box-shadow: var(--shadow-lg); 
  border-left: 5px solid var(--brand-accent);
}
.cookie-banner p { 
  margin: 0; 
  font-size: 0.95rem; 
  text-align: left !important; 
  text-align-last: left !important;
}
.cookie-banner a { 
  color: var(--brand-yellow); 
  text-decoration: underline; 
}
.cookie-banner button {
  background: var(--brand-accent); 
  color: var(--white);
  border: none; 
  padding: 10px 20px; 
  border-radius: 5px;
  cursor: pointer; 
  font-weight: 800; 
  white-space: nowrap;
  transition: 0.3s;
}
.cookie-banner button:hover {
  background: #5E0C29;
}

@media (max-width: 768px) {
  .cookie-banner { 
    flex-direction: column; 
    bottom: 95px; 
    text-align: center; 
  }
  .cookie-banner p { 
    text-align: center !important; 
    text-align-last: center !important;
  }
}

/* ==========================================================================
   E-E-A-T EXPERT TRUST BOX
   ========================================================================== */
.eeat-box {
  display: flex; 
  align-items: center; 
  gap: 20px;
  background: var(--bg-light); 
  padding: 25px; 
  border-radius: 12px;
  border: 1px solid var(--border-color); 
  margin: 30px auto;
  max-width: 900px;
}
.eeat-img { 
  width: 80px; 
  height: 80px; 
  border-radius: 50%; 
  object-fit: cover; 
  border: 3px solid var(--brand-primary); 
}
.eeat-content h5 { 
  color: var(--brand-primary); 
  font-size: 1.1rem; 
  margin-bottom: 5px; 
  font-weight: 800;
  text-align: left !important;
  text-align-last: left !important;
}
.eeat-content p { 
  font-size: 0.95rem; 
  line-height: 1.5; 
  margin: 0; 
  color: var(--text-muted);
  text-align: left !important;
  text-align-last: left !important;
}

@media (max-width: 600px) {
  .eeat-box { 
    flex-direction: column; 
    text-align: center; 
  }
  .eeat-content h5, 
  .eeat-content p {
    text-align: center !important;
    text-align-last: center !important;
  }
}
