/* ============================================
   SANCTUS VITALS — Global Styles
   Restyled to match Sanctum Cloth aesthetic
============================================ */

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

:root {
  --cream:         #F5F0E8;
  --cream-dark:    #EDE7D8;
  --charcoal:      #1A1A1A;
  --charcoal-light:#333333;
  --gold:          #C8A84E;
  --gold-dark:     #A88A35;
  --tan:           #8B7355;
  --earth:         #2C2416;
  --soft-grey:     #D4CEC4;
  --mid-grey:      #9A9187;
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'Inter', -apple-system, sans-serif;
  --max:           1200px;
  --t:             0.22s ease;
  --r:             4px;
  --r-sm:          2px;
  --border:        var(--soft-grey);
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ============================================
   NAV
============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--soft-grey);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--mid-grey);
  transition: color var(--t);
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--charcoal); }

.nav-cta {
  background: var(--charcoal) !important;
  color: var(--cream) !important;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 2px;
  font-size: 12px !important;
  letter-spacing: 0.1em;
  transition: background var(--t) !important;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.nav-cta:hover { background: var(--gold-dark) !important; color: var(--cream) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--t);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--soft-grey);
  padding: 16px 24px 20px;
}

.nav-mobile a {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--mid-grey);
  padding: 10px 0;
  border-bottom: 1px solid var(--soft-grey);
  text-transform: uppercase;
  font-weight: 500;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

/* ============================================
   LABEL
============================================ */
.label,
.section-label,
.hero-eyebrow,
.product-info-tag,
.product-card-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tan);
}

/* ============================================
   HERO
============================================ */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-eyebrow {
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--mid-grey);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: none;
  transition: var(--t);
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
}
.btn-primary:hover { background: var(--gold-dark); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-outline:hover { border-color: var(--gold-dark); color: var(--gold-dark); background: transparent; }

.btn-sm {
  padding: 10px 20px;
  font-size: 12px;
}

/* ============================================
   TRUST BAR
============================================ */
.trust-bar {
  border-top: 1px solid var(--soft-grey);
  border-bottom: 1px solid var(--soft-grey);
  background: var(--cream-dark);
  padding: 20px 24px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
}

.trust-icon {
  width: 18px;
  height: 18px;
  color: var(--tan);
  flex-shrink: 0;
}

/* ============================================
   SECTIONS
============================================ */
.section {
  padding: 88px 24px;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--mid-grey);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================
   PRODUCTS GRID
============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.product-card {
  background: var(--cream);
  border: 1px solid var(--soft-grey);
  border-radius: var(--r);
  padding: 32px;
  cursor: pointer;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(44,36,22,0.08);
}

.product-card-img {
  aspect-ratio: 4/3;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.product-card-tag {
  margin-bottom: 2px;
}

.product-card-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.product-card-desc {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.6;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.product-card-price {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--charcoal);
}

.product-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--soft-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tan);
  transition: var(--t);
}

.product-card:hover .product-card-arrow {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}

/* ============================================
   PROMISE GRID
============================================ */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.promise-card {
  background: var(--cream);
  border: 1px solid var(--soft-grey);
  border-radius: var(--r);
  padding: 32px;
}

.promise-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(139,115,85,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--tan);
}

.promise-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.promise-desc {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
============================================ */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 768px) {
  .about-block { grid-template-columns: 1fr; gap: 40px; }
}

.about-img-placeholder {
  aspect-ratio: 4/5;
  background: var(--cream-dark);
  border: 1px solid var(--soft-grey);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-grey);
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* ============================================
   SHOP CTA SECTION (replaces waitlist)
============================================ */
.shop-cta-section {
  background: var(--cream-dark);
  border-top: 1px solid var(--soft-grey);
  border-bottom: 1px solid var(--soft-grey);
  padding: 80px 24px;
  text-align: center;
}

.shop-cta-section .section-title {
  margin-bottom: 16px;
}

.shop-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  border-top: 1px solid var(--soft-grey);
  background: var(--earth);
  padding: 48px 24px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--cream);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(245,240,232,0.5);
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(245,240,232,0.55);
  text-transform: uppercase;
  transition: color var(--t);
}

.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  font-size: 12px;
  color: rgba(245,240,232,0.35);
  padding-top: 24px;
  border-top: 1px solid rgba(245,240,232,0.1);
}

/* ============================================
   PRODUCT PAGE
============================================ */
.product-hero {
  padding: 64px 24px 48px;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 768px) {
  .product-hero { grid-template-columns: 1fr; gap: 40px; }
}

.product-img-placeholder {
  aspect-ratio: 1/1;
  background: var(--cream-dark);
  border: 1px solid var(--soft-grey);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-grey);
  font-size: 13px;
  letter-spacing: 0.1em;
  flex-direction: column;
  gap: 8px;
}

.product-info-tag {
  margin-bottom: 12px;
}

.product-info-name {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.product-info-tagline {
  font-size: 17px;
  color: var(--mid-grey);
  line-height: 1.65;
  margin-bottom: 24px;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  color: var(--charcoal);
}

.product-serving {
  font-size: 13px;
  color: var(--mid-grey);
}

.product-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
  border: 1px solid var(--soft-grey);
  color: var(--tan);
  background: transparent;
}

/* ============================================
   BENEFITS
============================================ */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--soft-grey);
}

.benefit-item:first-child { border-top: 1px solid var(--soft-grey); }

.benefit-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--tan);
  min-width: 28px;
  padding-top: 2px;
}

.benefit-content h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.benefit-content p {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.65;
}

/* ============================================
   INGREDIENT / INFO CARDS
============================================ */
.info-card {
  background: var(--cream-dark);
  border: 1px solid var(--soft-grey);
  border-radius: var(--r);
  padding: 32px;
  margin-top: 32px;
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.info-card p, .info-card li {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.7;
}

.info-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-card li {
  padding-left: 16px;
  position: relative;
}

.info-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tan);
}

.ingredient-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--soft-grey);
  font-size: 14px;
}

.ingredient-row:last-child { border-bottom: none; }
.ingredient-row .name { color: var(--charcoal); }
.ingredient-row .amount { color: var(--tan); font-weight: 600; }

/* ============================================
   FAQ
============================================ */
.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--soft-grey);
}

.faq-item:first-child { border-top: 1px solid var(--soft-grey); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  gap: 16px;
}

.faq-question svg {
  color: var(--tan);
  flex-shrink: 0;
  transition: transform var(--t);
}

.faq-item.open .faq-question svg { transform: rotate(45deg); }

.faq-answer {
  display: none;
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.7;
  padding-bottom: 20px;
}

.faq-item.open .faq-answer { display: block; }

/* ============================================
   RELATED PRODUCTS
============================================ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

/* ============================================
   COA SECTION
============================================ */
.coa-section {
  background: var(--cream-dark);
  border: 1px solid var(--soft-grey);
  border-radius: var(--r);
  padding: 40px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.coa-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(139,115,85,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tan);
  flex-shrink: 0;
}

.coa-text h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.coa-text p {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.7;
}

/* ============================================
   PAGE HERO (inner pages)
============================================ */
.page-hero {
  padding: 72px 24px 56px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ============================================
   UTILITY
============================================ */
.divider {
  height: 1px;
  background: var(--soft-grey);
  margin: 0;
}

.text-gold { color: var(--gold); }
.text-muted { color: var(--mid-grey); }
.font-serif { font-family: var(--font-serif); }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .trust-bar { gap: 24px; }

  .hero { padding: 64px 24px 56px; }

  .section { padding: 60px 24px; }

  .products-grid { grid-template-columns: 1fr; }

  .coa-section { flex-direction: column; padding: 28px; }

  .footer-top { flex-direction: column; }
}

@media (max-width: 480px) {
  .shop-cta-actions { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; align-items: center; }
}
