/* =============================================================
   GRAMENA PAPPULU — components.css
   Buttons, cards, marquee, process, forms, faq, floating CTAs
   ============================================================= */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.94rem;
  padding: 0.95rem 1.7rem; border-radius: 100px;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn::after { /* golden shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.25) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn-primary { background: var(--green-800); color: var(--ivory); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold-500); color: var(--green-950); }
.btn-gold:hover { background: var(--gold-300); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(200,155,60,0.7); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(37,211,102,0.6); }
.btn-outline { background: transparent; color: var(--green-900); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--green-800); background: var(--green-800); color: var(--ivory); }
.btn-ghost-light { background: rgba(255,255,255,0.1); color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: var(--ivory); color: var(--green-900); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn-nav-wa { background: var(--green-800); color: var(--ivory); padding: 0.6rem 1.15rem; border-radius: 100px; font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.35s var(--ease); }
.btn-nav-wa:hover { background: var(--wa); }
.btn-nav-wa svg { width: 16px; height: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--green-800); font-size: 0.92rem; }
.text-link svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.text-link:hover { color: var(--gold-700); }

/* ---------- Marquee ---------- */
.marquee { background: var(--gold-500); color: var(--green-950); padding: 0.9rem 0; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(11,26,18,0.15); border-bottom: 1px solid rgba(11,26,18,0.15); }
.marquee-track { display: inline-flex; align-items: center; gap: 2.5rem; animation: marquee 32s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; font-weight: 500; }
.marquee .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-900); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.product-card {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pc-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ivory-2); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.06); }
.pc-cat { position: absolute; top: 1rem; left: 1rem; background: rgba(11,26,18,0.72); color: var(--gold-300); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 100px; backdrop-filter: blur(4px); }
.pc-te { position: absolute; bottom: 0.9rem; right: 1rem; font-family: var(--font-telugu); color: var(--ivory); font-size: 1.5rem; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.pc-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.pc-title { font-size: 1.5rem; }
.pc-sub { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-700); margin-top: 0.25rem; }
.pc-desc { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.8rem; flex: 1; }
.pc-packs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.1rem 0 1.3rem; }
.pack-pill { font-size: 0.72rem; font-weight: 600; color: var(--green-800); background: var(--green-50); border: 1px solid var(--line); padding: 0.25rem 0.6rem; border-radius: 100px; }
.pc-actions { display: flex; gap: 0.6rem; margin-top: auto; }
.pc-actions .btn { flex: 1; }

/* Category filter */
.cat-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.cat-chip { font-size: 0.85rem; font-weight: 600; padding: 0.55rem 1.1rem; border-radius: 100px; color: var(--green-900); background: var(--paper); border: 1px solid var(--line); transition: all 0.3s var(--ease); }
.cat-chip:hover { border-color: var(--green-800); }
.cat-chip.active { background: var(--green-800); color: var(--ivory); border-color: var(--green-800); }

/* ---------- Feature / Why choose ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card .fc-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--green-900); color: var(--gold-300); display: grid; place-items: center; margin-bottom: 1.3rem; }
.feature-card .fc-ico svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Quality process (numbered manifesto) ---------- */
.process-list { border-top: 1px solid var(--line); }
.process-row {
  display: grid; grid-template-columns: 120px 1fr 1fr; gap: 2rem; align-items: baseline;
  padding: 2.2rem 0; border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.process-row:hover { background: var(--ivory-2); padding-left: 1.2rem; padding-right: 1.2rem; }
.process-num { font-family: var(--font-mono); font-size: 1.1rem; color: var(--gold-700); font-weight: 600; }
.process-row h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--green-900); }
.process-row p { color: var(--ink-soft); font-size: 0.98rem; }
.process-row .p-te { font-family: var(--font-telugu); color: var(--gold-700); font-size: 1rem; margin-top: 0.3rem; }

/* ---------- Bulk enquiry ---------- */
.bulk-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.bulk-audience { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.bulk-audience span { font-size: 0.82rem; font-weight: 600; color: var(--ivory); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); padding: 0.4rem 0.85rem; border-radius: 100px; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--green-900); text-transform: uppercase; }
.field label .req { color: var(--terra); }
.field input, .field select, .field textarea {
  padding: 0.85rem 1rem; border-radius: 12px; border: 1px solid var(--line);
  background: var(--ivory); color: var(--ink); transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(45,82,58,0.12); }
.field .err-msg { font-size: 0.75rem; color: var(--terra); display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--terra); }
.field.invalid .err-msg { display: block; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 1rem; display: flex; gap: 0.5rem; align-items: flex-start; }
.form-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--green-700); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; position: relative; }
.testi-card .quote-mark { font-family: var(--font-display); font-size: 4rem; line-height: 0.5; color: var(--gold-300); height: 32px; }
.testi-card p { color: var(--ink-soft); font-style: italic; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; margin: 1rem 0 1.6rem; }
.testi-card.placeholder p { color: var(--ink-soft); opacity: 0.7; }
.testi-who { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; border: 1px solid var(--line); }
.testi-who .n { font-weight: 600; font-size: 0.92rem; color: var(--green-900); }
.testi-who .r { font-size: 0.78rem; color: var(--ink-soft); }
.badge-soft { display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-700); background: var(--gold-100); border: 1px solid var(--gold-300); padding: 0.3rem 0.7rem; border-radius: 100px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; font-family: var(--font-display); font-size: clamp(1.2rem,2.2vw,1.55rem); color: var(--green-900); font-weight: 600; }
.faq-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all 0.4s var(--ease); position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--green-800); border-radius: 2px; }
.faq-icon::before { width: 13px; height: 2px; }
.faq-icon::after { width: 2px; height: 13px; transition: transform 0.4s var(--ease); }
.faq-item.open .faq-icon { background: var(--green-800); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--ivory); }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a-inner { padding: 0 0 1.6rem; color: var(--ink-soft); max-width: 90%; }

/* ---------- Floating CTA + mobile bar ---------- */
.float-wa { position: fixed; bottom: 26px; right: 26px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,0.6); transition: transform 0.4s var(--ease); }
.float-wa svg { width: 30px; height: 30px; }
.float-wa:hover { transform: scale(1.1) rotate(4deg); }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waPulse 2.2s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.7); opacity: 0; } }

.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; background: var(--green-900); border-top: 1px solid rgba(200,155,60,0.35); }
.mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0.7rem 0; color: var(--ivory); font-size: 0.72rem; font-weight: 600; border-right: 1px solid rgba(255,255,255,0.08); }
.mobile-bar a:last-child { border-right: none; }
.mobile-bar a svg { width: 20px; height: 20px; color: var(--gold-300); }
.mobile-bar a.wa svg { color: var(--wa); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-info { display: grid; gap: 1.2rem; }
.contact-line { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact-line .ci-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; }
.contact-line .ci-ico svg { width: 20px; height: 20px; }
.contact-line .ci-l { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-700); }
.contact-line .ci-v { font-size: 1.02rem; color: var(--green-900); font-weight: 500; margin-top: 0.15rem; }
.contact-line .ci-v a:hover { color: var(--gold-700); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 2rem; }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; filter: saturate(0.9); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin: 2.4rem 0 0.8rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 0.5rem; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 0.9rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.prose a { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.pd-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.pd-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.pd-te { font-family: var(--font-telugu); font-size: clamp(2.2rem,5vw,3.4rem); color: var(--gold-700); font-weight: 700; }
.pd-uses { display: grid; gap: 0.7rem; margin: 1.6rem 0; }
.pd-uses li { display: flex; gap: 0.7rem; align-items: center; color: var(--ink-soft); }
.pd-uses .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.pd-uses .tick svg { width: 13px; height: 13px; }
.info-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.info-row .k { color: var(--ink-soft); }
.info-row .v { font-weight: 600; color: var(--green-900); text-align: right; }
