/* ==========================================================================
   Meadowsteep Herbal Tea — Landing Page Stylesheet
   Mobile-first, CSS custom properties, no framework dependency.
   ========================================================================== */

:root {
  /* Color */
  --ink: #2b2620;
  /*--ink-soft: #6e6558;*/
  --ink-soft: #000000;
  --paper: #faf8f4;
  --paper-raised: #ffffff;
  /*--brand: #5b6f52;          sage green — primary */ 
  /*--brand: #41643d;
  --brand-dark: #3f4f39;*/
  --brand: #CA1A1D;
  --brand-dark: #CA1A1D;
  --brand-dark-footer: #FFF;
  --brand-tint: #eef1e8;
  /*--accent: #a34b3f;        steeped-tea red-brown — CTAs only */
  --accent: #CA1A1D;  
  --accent-dark: #CA1A1D;
  --line: #e4ddce;
  --star: #a34b3f;

  --font-base: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;
   

  --max-width: 1160px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --tap-min: 44px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--space-4); }
.section { padding-block: var(--space-7); }
.section--tight { padding-block: var(--space-6); }
.section--tinted { background: var(--brand-tint); }
.section-head { max-width: 620px; margin-bottom: var(--space-5); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.15rem); line-height: 1.2; letter-spacing: -0.01em; }
.section-head p { margin-top: var(--space-2); color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--tap-min);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.1s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: var(--brand); color: #fff;  border: 1.5px solid var(--brand); }
.btn-secondary:hover { background: var(--brand); color: #fff; }
.btn-ghost { background: transparent; color: var(--paper); border: 1.5px solid rgba(250, 248, 244, 0.5); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  /*background: rgba(250, 248, 244, 0.94);*/
  background: rgba(255, 255, 255, 1);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.1rem; color: var(--brand-dark); }
.logo svg { flex-shrink: 0; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: var(--space-5); }
.nav-desktop a {
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  padding: 0.25rem 0; border-bottom: 2px solid transparent;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--brand-dark); border-color: var(--accent); }

.header-cta { display: none; }

.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -0.5rem;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--paper);
  z-index: 39;
  overflow-y: auto;
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); }
.nav-mobile a {
  display: block; padding: var(--space-3) var(--space-2);
  font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid var(--line);
}
.nav-mobile .btn { margin: var(--space-4) var(--space-2) 0; }

/* ---------- Hero ---------- */
/*.hero { padding-block: var(--space-6) var(--space-7); }*/
.hero {
  padding-block: var(--space-6) var(--space-7);
  background-image:url("../assets/images/bg.png");
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center, center;

}
/*@media (max-width: 1023px) {
  .hero {
    background-image: url("../assets/images/bg-mobile.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }
}*/

@media (max-width: 1023px) {
  .hero {
    background-image: url("../assets/images/bg-mobile.png");
    background-repeat: no-repeat;

    /* Make background slightly smaller */
    background-size: 120% auto;

    /* Push decorative elements toward the right/top */
    background-position: right top;

    position: relative; 
    
  }

  .hero-content {
    position: relative;
    z-index: 2;

  }
  
  
}

.hero .container { display: grid; gap: var(--space-6); }
.hero-copy { order: 1; }
.hero-media { order: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 600; color: var(--brand-dark);
  background: var(--brand-tint); padding: 0.35rem 0.75rem;
  border-radius: 999px; margin-bottom: var(--space-3);
}
.hero h1 { font-size: clamp(2rem, 1.65rem + 1.8vw, 3rem); line-height: 1.14; letter-spacing: -0.015em; color: var(--ink); }
.hero-sub { margin-top: var(--space-3); font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.hero-trust { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); font-size: 0.9rem; color: var(--ink-soft); }
.hero-trust svg { flex-shrink: 0; color: var(--brand); }

.hero-media figure { border-radius: var(--radius-md); overflow: hidden; background: var(--brand-tint); aspect-ratio: 4 / 3; border:solid 1px #f3f3e3e3 }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Benefits strip ---------- */
.benefits { border-block: 1px solid var(--line); background: var(--paper-raised); }
.benefits ul { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.benefit { display: flex; align-items: flex-start; gap: var(--space-3); }
.benefit svg { flex-shrink: 0; color: var(--brand-dark); background: var(--brand-tint); border-radius: 50%; padding: 0.55rem; width: 40px; height: 40px; }
.benefit h3 { font-size: 1rem; font-weight: 600; }
.benefit p { margin-top: 0.15rem; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.product-card {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column;
}
.product-card.is-featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.product-card figure { aspect-ratio: 1 / 1; background: var(--brand-tint); position: relative; }
.product-card img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--brand-dark); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 0.3rem 0.6rem; border-radius: 999px; letter-spacing: 0.02em;
}
.product-card .product-body { padding: var(--space-4); display: flex; flex-direction: column; gap: 0.4rem; flex-grow: 1; }
.product-card h3 { font-size: 1.1rem; }
.product-card .product-desc { font-size: 0.92rem; color: var(--ink-soft); flex-grow: 1; }
.product-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: var(--space-1); }
.price { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.price-from { font-size: 0.8rem; color: var(--ink-soft); font-weight: 400; }
.product-card .btn { margin-top: var(--space-3); }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); align-items: center; }
.why-media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--brand-tint); }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-copy h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.05rem); line-height: 1.2; }
.why-copy > p { margin-top: var(--space-2); color: var(--ink-soft); font-size: 1.05rem; }
.why-list { margin-top: var(--space-4); display: grid; gap: var(--space-3); }
.why-list li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.98rem; }
.why-list svg { flex-shrink: 0; color: var(--accent); margin-top: 0.15rem; }

/* ---------- How it works (steeping ritual) ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
.step { position: relative; padding-left: 3rem; }
.step-number {
  position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
}
.step h3 { font-size: 1.05rem; }
.step p { margin-top: 0.25rem; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.review-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4); }
.stars { display: flex; gap: 0.15rem; color: var(--star); margin-bottom: var(--space-2); }
.stars svg { width: 16px; height: 16px; }
.review-card blockquote { font-size: 0.98rem; color: var(--ink); }
.review-card cite { display: block; margin-top: var(--space-3); font-style: normal; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: var(--space-3) var(--space-1); font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon { flex-shrink: 0; transition: transform 0.2s var(--ease); }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 var(--space-1) var(--space-3); color: var(--ink-soft); font-size: 0.95rem; max-width: 68ch; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--brand-dark); color: var(--paper); text-align: center; }
.final-cta h2 { font-size: clamp(1.7rem, 1.4rem + 1.5vw, 2.3rem); line-height: 1.2; }
.final-cta p { margin-top: var(--space-2); color: rgba(250, 248, 244, 0.8); font-size: 1.05rem; max-width: 50ch; margin-inline: auto; }
.final-cta .hero-actions { justify-content: center; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
.contact-form { display: grid; gap: var(--space-3); background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4); }
.form-row { display: grid; gap: 0.35rem; }
.form-row label { font-size: 0.88rem; font-weight: 600; }
.form-row input, .form-row textarea {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.7rem 0.85rem;
  background: var(--paper); min-height: var(--tap-min);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--brand); }
.form-note { font-size: 0.8rem; color: var(--ink-soft); }
.form-status { font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.form-status[data-state="success"] { color: var(--brand-dark); }
.form-status[data-state="error"] { color: var(--accent-dark); }

.contact-info h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.85rem); }
.contact-info > p { margin-top: var(--space-2); color: var(--ink-soft); }
.contact-list { margin-top: var(--space-4); display: grid; gap: var(--space-3); }
.contact-list li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.95rem; }
.contact-list svg { flex-shrink: 0; color: var(--brand-dark); }

/* ---------- Footer ---------- */
.site-footer {  background:linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(202, 26, 29, 1) 100%, rgba(202, 26, 29, 1) 100%); /*var(--brand-dark);*/ color: rgba(250, 248, 244, 0.85); padding-block: var(--space-6) var(--space-5); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
.footer-brand .logo { color: var(--paper); margin-bottom: var(--space-2); }
.footer-brand p { font-size: 0.9rem; color: rgba(250, 248, 244, 0.65); max-width: 34ch; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: var(--space-2); color: var(--paper); }
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a { font-size: 0.9rem; color: rgba(0, 0, 0, 1); }
.footer-col a:hover { color: var(--paper); }


.footer-bottom {
  margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid rgba(250, 248, 244, 0.15);
  display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between; font-size: 0.82rem; color: rgba(250, 248, 244, 0.55);
}
.footer-disclaimer { margin-top: var(--space-3); font-size: 0.78rem; color: rgba(250, 248, 244, 0.45); max-width: 70ch; }

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  padding-bottom: max(var(--space-2), env(safe-area-inset-bottom));
  background: var(--paper-raised); border-top: 1px solid var(--line);
  box-shadow: 0 -2px 10px rgba(43, 38, 32, 0.06);
  transform: translateY(0); transition: transform 0.25s var(--ease);
}
.sticky-cta.is-hidden { transform: translateY(100%); }
.sticky-cta .btn { flex: 1; }
.sticky-cta-dismiss {
  position: absolute; top: -14px; right: 10px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper-raised); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}

@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 76px; } }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 768px) {
  .benefits ul { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .nav-desktop { display: block; }
  .nav-toggle, .nav-mobile { display: none; }
  .header-cta { display: inline-flex; }

  .hero .container { grid-template-columns: 0.95fr 1.05fr; align-items: center; }
  .hero-copy { order: 0; }
  .hero-media { order: 0; }

  .benefits ul { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-grid .why-media { order: 2; }

  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .section { padding-block: var(--space-8); }
}
/* Center hero buttons on mobile */
@media (max-width: 1024px) {
  .hero-actions {
    justify-content: center;
  }
  .hero h1 {
      text-align: center;
  }
  .footer-col { margin-top: -40px; }
}
