/* =========================================================================
   Brindhavan Naturals — styles (mobile-first)
   Palette sampled from the logo.
   ========================================================================= */

:root {
  --green: #285b52;
  --green-dark: #1e463f;
  --orange: #f26a1e;
  --orange-dark: #d95a12;
  --lime: #8cbe3f;
  --cream: #f7f3e9;
  --ink: #1f2a24;
  --white: #ffffff;
  --wa-green: #25d366;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(31, 42, 36, 0.1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; font-size: 17px; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

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

.container { width: min(1400px, 93%); margin-inline: auto; }

h1, h2, h3 { font-weight: 800; line-height: 1.2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.97); }

.btn-whatsapp { background: var(--wa-green); color: var(--white); }
.btn-whatsapp:hover { background: #1fb857; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--lime);
}
.btn-ghost:hover { background: rgba(140, 190, 63, 0.15); }

.btn-lg { padding: 0.85rem 1.7rem; font-size: 1.05rem; }

.wa-icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.2 14.2c-.2.6-1.2 1.2-1.7 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.6-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5s.8 1.9.8 2c.1.1.1.3 0 .5l-.4.6c-.1.2-.3.3-.1.6.2.3.8 1.4 1.8 2.2 1.2 1.1 2.2 1.4 2.6 1.6.3.1.5.1.7-.1l1-1.2c.2-.3.4-.2.7-.1l2 1c.3.1.5.2.5.3.1.1.1.7-.1 1.3z"/></svg>') center/contain no-repeat;
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-weight: 800;
}
.pill-lime { background: var(--lime); color: var(--green-dark); font-size: 1.15rem; }
.pill-n {
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  padding: 0.05rem 0.4rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0;
}
.brand-logo { height: 64px; width: auto; border-radius: 8px; }
.header-cta { margin-left: auto; font-size: 0.9rem; padding: 0.55rem 1.15rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(140, 190, 63, 0.25), transparent 60%),
    var(--green);
  color: var(--white);
  text-align: center;
  padding: 3.2rem 0 3.8rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.hero-badge-line { margin: 1.2rem 0; }
.hero-sub {
  max-width: 34rem;
  margin: 0 auto 1.9rem;
  color: var(--cream);
  font-size: 1.15rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.hero-art img {
  width: min(520px, 88%);
  margin-inline: auto;
  animation: heroFloat 5.5s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--green-dark); color: var(--cream); padding: 0.9rem 0; }
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.8rem;
  font-size: 0.98rem;
  font-weight: 600;
}
.trust-item { display: flex; align-items: center; gap: 0.4rem; }
.trust-ico { color: var(--lime); }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-cream { background: var(--cream); }
.section-green { background: var(--green); color: var(--cream); }

.section-title {
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  text-align: center;
  color: var(--green);
}
.section-title.light { color: var(--white); }
.section-title .accent { color: var(--orange); }
.section-sub {
  text-align: center;
  max-width: 36rem;
  margin: 0.6rem auto 2.2rem;
  color: #5b6b62;
}
.section-green .section-sub { color: var(--cream); }

/* ---------- Product cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
}
.card {
  background: var(--white);
  border: 1px solid rgba(40, 91, 82, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-img-wrap {
  aspect-ratio: 4 / 5;
  background: var(--cream);
  padding: 1.1rem;
}
.card-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.card-body {
  padding: 1.1rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.card-body h3 { color: var(--green); font-size: 1.25rem; }
.card-blurb { font-size: 1rem; color: #4c5a52; }

.card-highlights { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.highlight-tag {
  background: rgba(140, 190, 63, 0.16);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.size-picker { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.size-pill {
  border: 2px solid var(--green);
  background: transparent;
  color: var(--green);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.size-pill.active { background: var(--green); color: var(--white); }

.card-order { justify-content: center; margin-top: 0.3rem; }

.delivery-note {
  text-align: center;
  margin-top: 2rem;
  font-weight: 600;
  color: var(--green);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}
.about-inner p { margin-top: 1.1rem; font-size: 1.08rem; }
.about-inner strong { color: var(--lime); }
.about-sign { font-weight: 700; color: var(--lime); }
.about-art img { width: min(560px, 100%); margin-inline: auto; }

.process-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.8rem;
}
.process-step {
  background: rgba(140, 190, 63, 0.14);
  border: 1.5px solid rgba(140, 190, 63, 0.45);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 15rem;
}
.process-step strong { color: var(--white); font-size: 1.02rem; }
.process-step span:last-child { font-size: 0.9rem; color: var(--cream); opacity: 0.85; }
.process-ico { font-size: 1.7rem; line-height: 1.2; }
.process-arrow {
  color: var(--orange);
  font-size: 1.6rem;
  font-weight: 800;
  transform: rotate(90deg);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.8rem; }
.contact-info { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.contact-line a { color: var(--orange); font-weight: 700; text-decoration: none; }
.contact-line.small { font-size: 0.9rem; }
.contact-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: var(--cream);
  text-align: center;
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
}
.footer-inner { display: flex; flex-direction: column; gap: 0.35rem; align-items: center; }
.footer-logo { height: 80px; width: auto; border-radius: 8px; margin-bottom: 0.8rem; }
.site-footer a { color: var(--lime); text-decoration: none; font-weight: 600; }
.fssai { margin-top: 0.6rem; }
.copyright { margin-top: 0.8rem; opacity: 0.7; font-size: 0.82rem; }

/* ---------- Scroll-reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal[data-reveal="left"] { transform: translateX(-48px); }
.reveal[data-reveal="right"] { transform: translateX(48px); }
.reveal[data-reveal="zoom"] { transform: scale(0.88); }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art img { animation: none; }
}

/* ---------- Tablet & up ---------- */
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .header-cta { font-size: 0.95rem; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .brand-logo { height: 76px; }
  .hero { text-align: left; padding: 4.5rem 0; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-sub { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-art img { margin-inline: auto 0; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid-small { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .process-row { flex-direction: row; justify-content: center; gap: 1.2rem; }
  .process-arrow { transform: none; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: center; }
  .contact-map iframe { height: 360px; }
}
