/* =========================================================
   AMA Remedies — Adrian's Herbal Apothecary
   Handcrafted herbal remedies • Laredo, Texas
   ========================================================= */

:root {
  /* Palette — warm apothecary / botanical */
  --bg:        #faf6ee;   /* parchment */
  --bg-alt:    #f1e9d9;   /* deeper cream */
  --panel:     #fffdf8;
  --ink:       #26301f;   /* deep herbal green-black */
  --ink-soft:  #4c5a44;
  --green-900: #1d3324;
  --green-700: #2f5a41;
  --green-500: #4a7a5c;
  --sage:      #8aa58f;
  --sage-soft: #d7e0d4;
  --terra:     #bd6438;   /* terracotta accent */
  --terra-dk:  #9c4f2b;
  --amber:     #d99a3f;
  --line:      #e3d9c4;
  --shadow:    0 18px 40px -22px rgba(35, 45, 30, .45);
  --shadow-sm: 0 8px 20px -14px rgba(35, 45, 30, .5);
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--green-900);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

a { color: var(--green-700); text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 800;
  color: var(--terra);
  margin: 0 0 .9rem;
}

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--green {
  background:
    radial-gradient(120% 120% at 15% 0%, #2f5a41 0%, #1d3324 60%);
  color: #eaf1e6;
}
.section--green h2, .section--green h3 { color: #fff; }
.section--green .eyebrow { color: var(--amber); }

.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans);
  font-weight: 800;
  font-size: .96rem;
  letter-spacing: .01em;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--terra); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--terra-dk); transform: translateY(-2px); }
.btn--green { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--green:hover { background: var(--green-900); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--green-900); border-color: var(--green-700); }
.btn--ghost:hover { background: var(--green-700); color: #fff; }
.btn--light { background: #fff; color: var(--green-900); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(0,0,0,.5); }
.btn--sm { padding: 11px 20px; font-size: .88rem; }

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--green-900);
  color: #dfe9dc;
  font-size: .82rem;
  letter-spacing: .04em;
  text-align: center;
  padding: 9px 16px;
}
.topbar strong { color: var(--amber); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -20px rgba(0,0,0,.6); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 44px; width: auto; display: block; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--green-900); display: block; letter-spacing: -0.01em; }
.brand__tag { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--terra); font-weight: 800; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--ink); font-weight: 700; font-size: .96rem; position: relative; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--terra); transition: width .22s ease;
}
.nav__links a:not(.btn):hover::after { width: 100%; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2.5px; background: var(--green-900); border-radius: 2px; margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 96px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.3rem); margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--terra); }
.hero__lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__meta { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero__meta div { font-size: .9rem; color: var(--ink-soft); }
.hero__meta b { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--green-700); line-height: 1; margin-bottom: 3px; }

.hero__art { position: relative; }
.hero__art img {
  width: 100%; border-radius: 26px; box-shadow: var(--shadow);
  aspect-ratio: 4/5; object-fit: cover;
}
.hero__badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--panel); border-radius: 18px; padding: 16px 20px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
}
.hero__badge svg { width: 34px; height: 34px; color: var(--green-500); flex: none; }
.hero__badge b { font-family: var(--serif); font-size: 1.05rem; color: var(--green-900); display: block; }
.hero__badge span { font-size: .78rem; color: var(--ink-soft); }
.leaf-blob { position: absolute; z-index: -1; opacity: .5; }
.leaf-blob--1 { top: -60px; right: -40px; width: 320px; color: var(--sage-soft); }
.leaf-blob--2 { bottom: -80px; left: -60px; width: 260px; color: var(--sage-soft); }

/* ---------- Trust strip ---------- */
.trust { background: var(--green-900); color: #dfe9dc; }
.trust__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 0; }
.trust__item { display: flex; align-items: center; gap: 12px; justify-content: center; text-align: left; }
.trust__item svg { width: 30px; height: 30px; color: var(--amber); flex: none; }
.trust__item b { display: block; font-family: var(--serif); font-size: 1.02rem; color: #fff; }
.trust__item span { font-size: .8rem; color: #b9c9b4; }

/* ---------- Section heading ---------- */
.sec-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.sec-head p { font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--bg-alt); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.06); }
.card__cat {
  position: absolute; top: 12px; left: 12px;
  background: rgba(29,51,36,.85); color: #eaf1e6;
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.28rem; margin-bottom: .3em; }
.card__desc { font-size: .93rem; color: var(--ink-soft); margin-bottom: 18px; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.card__price { font-family: var(--serif); font-size: 1.4rem; color: var(--green-900); font-weight: 600; }
.card__price small { font-size: .78rem; color: var(--terra); font-weight: 800; font-family: var(--sans); letter-spacing: .05em; display: block; text-transform: uppercase; }

.shop-all { text-align: center; margin-top: 48px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about__art img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.about__body h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--terra); margin-top: 10px; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 34px 28px;
}
.value__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(217,154,63,.16); margin-bottom: 18px;
}
.value__icon svg { width: 28px; height: 28px; color: var(--amber); }
.value h3 { font-size: 1.35rem; }
.value p { color: #cdd9c8; margin: 0; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; padding: 0 8px; }
.step__num {
  counter-increment: step; width: 58px; height: 58px; margin: 0 auto 18px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-soft); color: var(--green-900);
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  border: 2px solid var(--green-500);
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.2rem; }
.step p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Instagram CTA ---------- */
.social-cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.social-cta__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.social-cta__tiles img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-sm); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact__card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.contact__list { list-style: none; padding: 0; margin: 20px 0 0; }
.contact__list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.contact__list li:last-child { border-bottom: 0; }
.contact__list svg { width: 22px; height: 22px; color: var(--terra); flex: none; }
.contact__list a, .contact__list span { color: var(--ink); font-weight: 600; }
.socials { display: flex; gap: 14px; margin-top: 8px; }
.socials a {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-700); color: #fff; transition: transform .18s ease, background .18s ease;
}
.socials a:hover { transform: translateY(-3px); background: var(--terra); }
.socials svg { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: #c3d2bd; padding: 60px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { color: #a8bba2; max-width: 320px; font-size: .95rem; }
.footer h4 { color: #fff; font-family: var(--sans); font-weight: 800; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #c3d2bd; font-size: .95rem; }
.footer ul a:hover { color: #fff; }
.disclaimer {
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px;
  font-size: .78rem; color: #93a68c; line-height: 1.6;
}
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; font-size: .82rem; color: #93a68c; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .about__grid, .social-cta, .contact__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 460px; margin: 0 auto; }
  .products, .values { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .trust__row { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .about__art { max-width: 420px; margin: 0 auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .brand__logo { height: 34px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: var(--bg); padding: 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .products, .values { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__badge { left: 50%; transform: translateX(-50%); bottom: -26px; }
  .footer__logo { width: 130px; }
  .page-hero { padding: 56px 0 40px; }
}

/* ---------- Footer emblem logo ---------- */
.footer__logo {
  width: 160px; height: auto; display: block;
  background: #fff; border-radius: 18px; padding: 12px;
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); margin-bottom: 18px;
}

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative; text-align: center;
  padding: 76px 0 56px;
  background:
    radial-gradient(120% 120% at 50% 0%, #f2ebdd 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: .3em; }
.page-hero p { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; margin: 0 auto; }

/* ---------- Product filters ---------- */
.filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin: 0 auto 44px; max-width: 760px;
}
.filter-btn {
  font-family: var(--sans); font-weight: 800; font-size: .92rem;
  padding: 10px 22px; border-radius: 999px; cursor: pointer;
  background: var(--panel); color: var(--green-900);
  border: 2px solid var(--line); transition: all .18s ease;
}
.filter-btn:hover { border-color: var(--green-500); }
.filter-btn.is-active { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.card.is-hidden { display: none; }
.products-empty { text-align: center; color: var(--ink-soft); padding: 40px 0; grid-column: 1 / -1; }

/* ---------- How-we-make page ---------- */
.craft { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.craft__card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: var(--shadow-sm);
}
.craft__icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: var(--sage-soft); margin-bottom: 18px;
}
.craft__icon svg { width: 30px; height: 30px; color: var(--green-700); }
.craft__card h3 { font-size: 1.45rem; margin-bottom: .35em; }
.craft__card p { color: var(--ink-soft); margin: 0; }
.pledge { text-align: center; max-width: 720px; margin: 0 auto; }
.pledge .signature { display: block; margin-top: 14px; }
@media (max-width: 760px) { .craft { grid-template-columns: 1fr; } }
