/* ===== SunBlissVita Global Styles ===== */
:root {
  --clr-primary: #4a7c59;
  --clr-primary-light: #6a9b73;
  --clr-primary-dark: #3a6247;
  --clr-accent: #d4a843;
  --clr-accent-light: #f0d68a;
  --clr-bg: #fafaf7;
  --clr-bg-warm: #f5f0e8;
  --clr-bg-card: #ffffff;
  --clr-text: #2d2d2d;
  --clr-text-light: #5a5a5a;
  --clr-text-muted: #8a8a8a;
  --clr-border: #e2ddd3;
  --clr-border-light: #efe9df;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-primary-dark); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--clr-text); line-height: 1.3; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 12px; }
p { margin-bottom: 16px; color: var(--clr-text-light); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--clr-primary); color: #fff;
}
.btn-primary:hover { background: var(--clr-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent; color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}
.btn-outline:hover { background: var(--clr-primary); color: #fff; }
.btn-accent {
  background: var(--clr-accent); color: var(--clr-text);
}
.btn-accent:hover { background: #c49a38; transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border-light);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 72px;
}
.logo {
  font-family: var(--font-display); font-size: 1.5rem;
  color: var(--clr-primary); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--clr-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
}
.nav-desktop { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-desktop a {
  font-size: 0.95rem; font-weight: 500; color: var(--clr-text-light);
  text-decoration: none; position: relative; padding: 4px 0;
}
.nav-desktop a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--clr-primary);
  transition: width var(--transition);
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--clr-primary); }
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 100%; }

/* Mobile Nav */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; position: relative;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--clr-text); position: absolute; left: 4px;
  transition: all var(--transition);
}
.nav-toggle span:nth-child(1) { top: 8px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle.open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--clr-border);
  padding: 24px; list-style: none; z-index: 999;
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: block; }
.nav-mobile li { padding: 12px 0; border-bottom: 1px solid var(--clr-border-light); }
.nav-mobile a { font-size: 1.1rem; color: var(--clr-text); font-weight: 500; }

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
}

/* ===== Footer ===== */
.site-footer {
  background: #2d3a2e; color: #c5c5c0; margin-top: 80px;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.8; color: #a0a098; margin-top: 12px; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #e8e8e0; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #a0a098; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 0.9rem; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--max-w); margin-left: auto; margin-right: auto;
  font-size: 0.8rem; color: #7a7a74;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: #9a9a94; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 20px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Disclaimer Banner ===== */
.disclaimer-banner {
  background: var(--clr-bg-warm); border-top: 1px solid var(--clr-border);
  padding: 12px 24px; text-align: center;
  font-size: 0.8rem; color: var(--clr-text-muted);
}

/* ===== Cookie Modal ===== */
.cookie-modal {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--clr-border);
  padding: 20px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  flex-wrap: wrap;
  transition: transform 0.4s ease;
}
.cookie-modal.hidden { transform: translateY(100%); pointer-events: none; }
.cookie-modal p { margin: 0; font-size: 0.9rem; color: var(--clr-text-light); max-width: 600px; }
.cookie-modal a { color: var(--clr-primary); text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; }
.cookie-btns button {
  padding: 10px 24px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none; transition: all var(--transition);
}
.cookie-accept { background: var(--clr-primary); color: #fff; }
.cookie-accept:hover { background: var(--clr-primary-dark); }
.cookie-decline { background: var(--clr-border-light); color: var(--clr-text-light); }
.cookie-decline:hover { background: var(--clr-border); }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--clr-bg-warm); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title p { max-width: 600px; margin: 12px auto 0; }

/* ===== Cards ===== */
.card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(170deg, var(--clr-bg) 0%, var(--clr-bg-warm) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-text h1 { margin-bottom: 20px; }
.hero-text p { font-size: 1.1rem; margin-bottom: 28px; }
.hero-img {
  display: flex; justify-content: center; align-items: center;
}
.hero-img img {
  max-width: 380px; width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-img { order: -1; }
  .hero-img img { max-width: 260px; }
}

/* ===== Values Grid ===== */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card { text-align: center; padding: 40px 28px; }
.value-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: #fff;
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-grid img {
  width: 100%; height: 240px; object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--transition);
}
.gallery-grid img:hover { transform: scale(1.03); }

/* ===== Order Form ===== */
.order-section {
  background: var(--clr-bg-warm);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 560px;
  margin: 48px auto 0;
  border: 1px solid var(--clr-border);
}
.order-section h3 { text-align: center; margin-bottom: 8px; }
.order-section > p { text-align: center; font-size: 0.95rem; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; font-size: 0.9rem;
  margin-bottom: 6px; color: var(--clr-text);
}
.form-group input {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem;
  background: #fff; transition: border-color var(--transition);
}
.form-group input:focus { outline: none; border-color: var(--clr-primary); box-shadow: 0 0 0 3px rgba(74,124,89,0.1); }
.form-price {
  text-align: center; font-size: 1.8rem; font-weight: 700;
  color: var(--clr-primary); margin: 20px 0;
  font-family: var(--font-display);
}
.form-disclaimer {
  margin-top: 16px; padding: 12px 16px;
  background: rgba(74,124,89,0.06);
  border-radius: var(--radius-sm);
  font-size: 0.8rem; color: var(--clr-text-muted);
  text-align: center; line-height: 1.6;
}
.form-submit {
  width: 100%; padding: 16px;
  margin-top: 8px;
}

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px; overflow: hidden;
  background: var(--clr-bg-card);
}
.faq-question {
  width: 100%; padding: 20px 24px;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  color: var(--clr-text); text-align: left;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--clr-bg-warm); }
.faq-arrow { transition: transform var(--transition); font-size: 1.2rem; color: var(--clr-primary); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 400px; padding: 0 24px 20px;
}
.faq-answer p { font-size: 0.95rem; color: var(--clr-text-light); margin: 0; }

/* ===== Steps ===== */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; counter-reset: step;
}
.step-card {
  text-align: center; padding: 40px 28px;
  position: relative;
}
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--clr-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700;
  margin: 0 auto 20px;
  font-family: var(--font-display);
}
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ===== Contact ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--clr-border-light);
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(74,124,89,0.1); color: var(--clr-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-card h4 { font-size: 0.95rem; font-family: var(--font-body); margin-bottom: 4px; }
.contact-info-card p { font-size: 0.9rem; margin: 0; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== Legal Pages ===== */
.legal-content {
  max-width: 800px; margin: 0 auto;
  padding: 60px 24px;
}
.legal-content h1 { margin-bottom: 12px; }
.legal-content .updated { font-size: 0.9rem; color: var(--clr-text-muted); margin-bottom: 40px; }
.legal-content h2 { font-size: 1.3rem; margin-top: 36px; margin-bottom: 12px; }
.legal-content p, .legal-content li { font-size: 0.95rem; line-height: 1.8; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 8px; }

/* ===== Success Page ===== */
.success-wrap {
  min-height: 60vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 80px 24px;
}
.success-card { max-width: 520px; }
.success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--clr-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 2rem;
}
.success-card h1 { margin-bottom: 16px; }
.success-card p { margin-bottom: 24px; }

/* ===== Animations ===== */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== About Timeline ===== */
.timeline { max-width: 640px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 24px; top: 0; bottom: 0;
  width: 2px; background: var(--clr-border);
}
.timeline-item {
  padding-left: 64px; margin-bottom: 36px; position: relative;
}
.timeline-dot {
  position: absolute; left: 14px; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--clr-primary); border: 3px solid var(--clr-bg);
}
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-item p { font-size: 0.95rem; margin: 0; }

/* ===== Ingredients ===== */
.ingredients-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.ingredient-tag {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 500;
}
.ingredient-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--clr-primary); flex-shrink: 0;
}
