/*
Theme Name: ANVE Wellness
Theme URI: https://www.anvewellness.com/
Author: ANVE Health & Wellness
Description: A premium D2C herbal wellness theme for ANVE Health & Wellness, built for a full-width brand homepage with WooCommerce support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: anve-wellness
*/

:root {
  --forest: #073f2b;
  --leaf: #2f7d41;
  --gold: #c7a26a;
  --sun: #f3d345;
  --rose: #f5d9d3;
  --moringa: #e4f5b1;
  --ivory: #fffaf0;
  --cream: #f7f0df;
  --ink: #162018;
  --muted: #667164;
  --line: rgba(7, 63, 43, 0.14);
  --shadow: 0 24px 70px rgba(17, 31, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 240, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img,
.site-footer img {
  width: 150px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--forest);
}

.main-nav a {
  padding: 8px 0;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--forest);
  box-shadow: 0 12px 30px rgba(7, 63, 43, 0.2);
}

.button.secondary {
  color: var(--forest);
  background: #fff;
  border: 1px solid var(--line);
}

.nav-cta:hover,
.button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-banner {
  width: 100%;
  background: var(--cream);
}

.hero-banner img {
  width: 100%;
  height: clamp(300px, 42vw, 760px);
  object-fit: cover;
}

.section-band {
  margin: 0;
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  background: linear-gradient(110deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 250, 240, 0.88) 46%, rgba(228, 245, 177, 0.72) 100%);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.product-kicker,
.seo-line {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--forest);
  line-height: 1.02;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
}

h1 {
  max-width: 700px;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

h3 {
  font-size: 1.26rem;
}

.hero-lede {
  max-width: 570px;
  margin: 22px 0 30px;
  color: #334038;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.trust-row {
  margin-top: 30px;
}

.trust-row span,
.badge-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-visual img {
  width: min(680px, 100%);
  margin-left: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.positioning,
.benefits,
.product-detail,
.why,
.testimonials,
.final-cta {
  padding: clamp(64px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.positioning {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  background: #fff;
}

.positioning p:last-child,
.benefit-copy p,
.story-copy p,
.impact p,
.detail-copy p,
.why-grid p,
.visual-grid span,
.testimonial-grid blockquote,
.site-footer p {
  color: var(--muted);
}

.section-intro {
  max-width: 760px;
}

.section-intro.wide {
  max-width: 980px;
  margin-bottom: 34px;
}

.shop {
  background: var(--cream);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.why-grid article,
.testimonial-grid figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 31, 21, 0.08);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: contain;
  background: #fff;
}

.product-content {
  padding: 22px;
}

.product-content p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 4px;
  color: var(--forest);
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
  transition: transform 180ms ease;
}

.benefits {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: #fff;
}

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ritual {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  background: linear-gradient(135deg, var(--forest), #0e5638);
  color: #fff;
}

.ritual h2,
.ritual .eyebrow {
  color: #fff;
}

.ritual-image img {
  width: 100%;
  max-height: 640px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.timeline {
  display: grid;
  gap: 16px;
  margin: 26px 0 30px;
}

.timeline div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline strong {
  color: var(--sun);
}

.timeline span {
  color: rgba(255, 255, 255, 0.82);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.product-detail.reverse {
  background: var(--ivory);
}

.product-detail.reverse .detail-copy {
  order: 2;
}

.product-detail img {
  width: 100%;
  max-height: 620px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-copy ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: #35443a;
}

.detail-copy .button {
  margin-top: 8px;
}

.story {
  background: linear-gradient(90deg, rgba(7, 63, 43, 0.92), rgba(7, 63, 43, 0.72)), url("assets/tea-ritual-board.jpg") center/cover;
}

.story-copy {
  max-width: 900px;
}

.story-copy h2,
.story-copy .eyebrow {
  color: #fff;
}

.story-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.why {
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.why-grid article,
.testimonial-grid figure {
  padding: 24px;
}

.impact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  background: linear-gradient(135deg, var(--rose), #fff3d8 48%, var(--moringa));
}

.testimonials {
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-grid figure {
  margin: 0;
}

.testimonial-grid blockquote {
  margin: 0;
  font-size: 1.05rem;
}

.testimonial-grid figcaption {
  margin-top: 18px;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 900;
}

.visual-direction {
  background: var(--forest);
  color: #fff;
}

.visual-direction h2,
.visual-direction .eyebrow {
  color: #fff;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.visual-grid div {
  display: grid;
  gap: 10px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.visual-grid strong {
  color: var(--sun);
}

.visual-grid span {
  color: rgba(255, 255, 255, 0.78);
}

.final-cta {
  text-align: center;
  background: linear-gradient(180deg, #fff, var(--ivory));
}

.final-cta .eyebrow,
.final-cta h2 {
  margin-left: auto;
  margin-right: auto;
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 26px;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 38px 18px 44px;
  text-align: center;
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.footer-keywords {
  max-width: 720px;
  font-size: 0.82rem;
}

.fallback-page {
  padding: clamp(64px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.fallback-content {
  max-width: 920px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .product-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .brand img {
    width: 128px;
  }

  .hero,
  .positioning,
  .benefits,
  .ritual,
  .product-detail,
  .impact {
    grid-template-columns: 1fr;
  }

  .product-detail.reverse .detail-copy {
    order: 0;
  }

  .timeline div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 0.82rem;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .product-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .product-content,
  .why-grid article,
  .testimonial-grid figure {
    padding: 20px;
  }
}
