/* ── Reset & base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #7fa8bc;
  --blue-dark:   #5a8599;
  --blue-light:  #d4e6ef;
  --gold:        #a07830;
  --gold-light:  #c9a05a;
  --cream:       #f7f3ed;
  --cream-dark:  #ede7dc;
  --white:       #ffffff;
  --ink:         #1e1e1e;
  --ink-mid:     #4a4a4a;
  --ink-soft:    #7a7a7a;

  /* Shop accent — warm gold/amber */
  --accent:       #a07830;
  --accent-dark:  #7a5a22;
  --accent-light: #f3e8d4;

  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:    10px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow:    0 6px 32px rgba(0,0,0,0.12);

  --max-w:  1120px;
  --nav-h:  72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { color: var(--ink-mid); max-width: 65ch; }

.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem; display: block;
}

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

.section        { padding: 5rem 0; }
.section--cream { background: var(--cream); }

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-block; padding: 0.85rem 2rem; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em;
  cursor: pointer; transition: all 0.2s; text-decoration: none; border: none;
  font-family: var(--font-body);
}
.btn--primary { background: var(--gold); color: var(--white); }
.btn--primary:hover { background: var(--gold-light); color: var(--white); }
.btn--accent  { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--outline:hover { background: var(--white); color: var(--accent-dark); }
.btn--outline-accent { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn--outline-accent:hover { background: var(--accent); color: var(--white); }

/* ── Nav ─────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
  height: var(--nav-h); display: flex; align-items: center;
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
}
.nav__logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.nav__logo img { height: 44px; width: auto; }
.nav__logo-text { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; display: block; }
.nav__logo-sub  { font-size: 0.65rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.1em; display: block; }
.nav__badge { background: var(--accent); color: var(--white); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 4px; margin-left: 0.4rem; vertical-align: middle; }
.nav__links { display: flex; list-style: none; gap: 0.25rem; align-items: center; }
.nav__links a { font-size: 0.875rem; font-weight: 500; color: var(--ink-mid); padding: 0.4rem 0.75rem; border-radius: 6px; transition: all 0.15s; text-decoration: none; }
.nav__links a:hover { color: var(--accent); background: var(--accent-light); }
.nav__cta { background: var(--gold) !important; color: var(--white) !important; padding: 0.5rem 1.1rem !important; border-radius: var(--radius) !important; }
.nav__cta:hover { background: var(--gold-light) !important; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav__hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative; min-height: 80vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('https://beyourbest.solutions/images/shop-tallow-facial-hero.png');
  background-size: cover; background-position: center; z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(122,90,34,0.85) 0%, rgba(30,30,30,0.45) 100%);
  z-index: 1;
}
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: 5rem 1.5rem; color: var(--white);
}
.hero__eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 1rem; display: block; }
.hero h1 { color: var(--white); max-width: 14ch; margin-bottom: 1.25rem; }
.hero__sub { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.88); max-width: 50ch; margin-bottom: 2.25rem; line-height: 1.7; }
.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Philosophy strip ────────────────────────── */
.philosophy-strip {
  background: var(--accent);
  padding: 2.5rem 0;
  text-align: center;
}
.philosophy-strip p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--white);
  max-width: 55ch;
  margin: 0 auto;
}

/* ── Products grid ───────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.product-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.product-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }

.product-card p {
  font-size: 0.875rem;
  color: var(--ink-mid);
  max-width: 100%;
  flex: 1;
  margin-bottom: 1.25rem;
}

.product-card__highlights {
  list-style: none;
  margin-bottom: 1.5rem;
}
.product-card__highlights li {
  font-size: 0.82rem;
  color: var(--ink-mid);
  padding: 0.3rem 0;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.product-card__highlights li::before { content: "✦"; color: var(--accent); font-size: 0.7rem; padding-top: 0.2rem; flex-shrink: 0; }

.product-card__cta { margin-top: auto; }

/* ── Ingredients commitment ──────────────────── */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.ingredient-card {
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
}
.ingredient-card__icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.ingredient-card h4 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.ingredient-card p { font-size: 0.8rem; color: var(--ink-soft); max-width: 100%; }

/* ── Tallow section ──────────────────────────── */
.tallow-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.tallow-benefits img { border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow); }

.benefit-list {
  list-style: none;
  margin: 1.25rem 0;
}
.benefit-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--ink-mid);
}
.benefit-list li:last-child { border-bottom: none; }
.benefit-list li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }

/* ── Order form section ──────────────────────── */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}

.order-form {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--ink-mid); margin-bottom: 0.4rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--cream-dark); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  background: var(--white); transition: border-color 0.2s; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 90px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-submit {
  width: 100%; padding: 1rem;
  background: var(--gold); color: var(--white);
  border: none; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s; margin-top: 0.5rem;
  font-family: var(--font-body);
}
.form-submit:hover { background: var(--gold-light); }

.order-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }

.sidebar-card {
  background: var(--cream); border-radius: var(--radius-lg);
  padding: 1.75rem; margin-bottom: 1.25rem;
  border: 1px solid var(--cream-dark);
}
.sidebar-card h4 { font-size: 1rem; margin-bottom: 0.75rem; }
.sidebar-card p  { font-size: 0.875rem; color: var(--ink-mid); max-width: 100%; }
.sidebar-card ul { list-style: none; }
.sidebar-card li { padding: 0.3rem 0; font-size: 0.875rem; color: var(--ink-mid); display: flex; gap: 0.5rem; }
.sidebar-card li::before { content: "✦"; color: var(--accent); font-size: 0.7rem; padding-top: 0.2rem; flex-shrink: 0; }

/* ── CTA Banner ──────────────────────────────── */
.cta-banner { background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%); padding: 5rem 0; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,0.85); margin: 0 auto 2rem; max-width: 55ch; }

/* ── Footer ──────────────────────────────────── */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand img { height: 48px; width: auto; margin-bottom: 0.75rem; }
.footer__brand p { font-size: 0.875rem; color: rgba(255,255,255,0.55); max-width: 30ch; }
.footer__col h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.9); margin-bottom: 1rem; font-family: var(--font-body); }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 0.5rem; }
.footer__col a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer__bottom a { color: rgba(255,255,255,0.4); }
.footer__bottom a:hover { color: var(--white); }
.disclaimer { margin-top: 1.5rem; font-size: 0.72rem; color: rgba(255,255,255,0.3); max-width: 100%; line-height: 1.6; }

/* ── Mobile ──────────────────────────────────── */
@media (max-width: 900px) {
  .products-grid    { grid-template-columns: 1fr; }
  .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
  .tallow-benefits  { grid-template-columns: 1fr; gap: 2.5rem; }
  .order-layout     { grid-template-columns: 1fr; }
  .order-sidebar    { position: static; }
  .form-row         { grid-template-columns: 1fr; }
  .footer__inner    { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom   { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero__btns       { flex-direction: column; align-items: flex-start; }
  .nav__hamburger   { display: flex; }
  .nav__links {
    display: none; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--cream-dark);
    padding: 1rem 1.5rem; gap: 0.25rem; box-shadow: var(--shadow);
  }
  .nav__links.open { display: flex; }
  .nav { position: sticky; }
}
@media (max-width: 600px) {
  .ingredients-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.5rem 0; }
}
