/*
Theme Name: The Vedic Helpline
Theme URI: https://thevedichelpline.com
Author: The Vedic Helpline
Author URI: https://thevedichelpline.com
Description: Custom WordPress theme for The Vedic Helpline — Vedic pujas, live astrology consultations, a free Kundli & numerology toolkit, Laal Kitab remedies, a symptom-based remedy finder, a Crystal & Rudraksha store, and a member spiritual journal. Built around Maulikk Buch, Spiritual Strategist.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: vedichelpline
Tags: custom-theme, astrology, e-commerce, spiritual
*/

/* =========================================================
   DESIGN TOKENS
   Palette:
     --tvh-night     #1B1035  (deep cosmic indigo — hero/dark sections)
     --tvh-maroon    #6E1423  (temple maroon — depth, CTAs on light bg)
     --tvh-terracotta#C2410C  (brand continuity from existing site)
     --tvh-marigold  #E8A33D  (saffron/marigold accent)
     --tvh-gold      #C9A227  (metallic gold — dividers, icons)
     --tvh-cream     #FBF6EC  (page background, warm off-white)
   Type:
     Display: 'Cormorant SC', serif  (temple inscription character)
     Body:    'Mukta', sans-serif    (Devanagari-friendly, warm, legible)
     Utility: 'Inter', sans-serif    (labels, prices, form UI)
   Signature element:
     The "Mandala Ring" — a rotating radial motif built from CSS conic-gradient
     used behind the hero and as section dividers, echoing a Kundli chakra.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@500;600;700&family=Mukta:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --tvh-night:#1B1035;
  --tvh-night-2:#241347;
  --tvh-maroon:#6E1423;
  --tvh-terracotta:#C2410C;
  --tvh-marigold:#E8A33D;
  --tvh-gold:#C9A227;
  --tvh-cream:#FBF6EC;
  --tvh-cream-2:#F3ECDC;
  --tvh-ink:#2B2118;
  --tvh-ink-soft:#6b5f52;
  --tvh-line:rgba(43,33,24,0.12);
  --tvh-radius:14px;
  --tvh-shadow: 0 10px 30px rgba(27,16,53,0.10);
  --tvh-font-display: 'Cormorant SC', serif;
  --tvh-font-body: 'Mukta', sans-serif;
  --tvh-font-ui: 'Inter', sans-serif;
  --tvh-max: 1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--tvh-font-body);
  color:var(--tvh-ink);
  background:var(--tvh-cream);
  line-height:1.6;
  font-size:17px;
}
img{max-width:100%;display:block;height:auto;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4{font-family:var(--tvh-font-display);font-weight:600;letter-spacing:.02em;margin:0 0 .5em;color:var(--tvh-night);}
h1{font-size:clamp(2.2rem,4vw,3.6rem);line-height:1.08;}
h2{font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.15;}
h3{font-size:1.35rem;}
p{margin:0 0 1em;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:var(--tvh-font-ui);cursor:pointer;}
:focus-visible{outline:3px solid var(--tvh-marigold);outline-offset:2px;}
@media (prefers-reduced-motion: reduce){*{animation-duration:.001ms !important;transition-duration:.001ms !important;}}

.tvh-container{max-width:var(--tvh-max);margin:0 auto;padding:0 24px;}
.tvh-eyebrow{
  font-family:var(--tvh-font-ui);font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--tvh-terracotta);font-weight:700;display:inline-block;margin-bottom:10px;
}
.tvh-section{padding:72px 0;}
.tvh-section--tight{padding:48px 0;}
.tvh-section--cream2{background:var(--tvh-cream-2);}
.tvh-section--night{background:radial-gradient(circle at 20% 0%, var(--tvh-night-2), var(--tvh-night) 65%);color:#EDE7FA;}
.tvh-section--night h2, .tvh-section--night h3{color:#fff;}
.tvh-lede{color:var(--tvh-ink-soft);max-width:680px;font-size:1.08rem;}
.tvh-section--night .tvh-lede{color:#C9BFE8;}

/* Mandala signature motif */
.tvh-mandala{
  position:relative;
}
.tvh-mandala::before{
  content:"";
  position:absolute;
  width:640px;height:640px;
  top:-220px; right:-200px;
  border-radius:50%;
  background:conic-gradient(from 0deg, rgba(201,162,39,.20), rgba(232,163,61,.05) 20%, rgba(201,162,39,.20) 40%, rgba(232,163,61,.05) 60%, rgba(201,162,39,.20) 80%, rgba(232,163,61,.05) 100%);
  filter:blur(1px);
  animation: tvh-spin 90s linear infinite;
  pointer-events:none;
}
@keyframes tvh-spin{to{transform:rotate(360deg);}}
.tvh-divider{
  width:64px;height:64px;margin:0 auto 18px;border-radius:50%;
  background:conic-gradient(var(--tvh-gold) 0 10%, transparent 0 20%, var(--tvh-gold) 0 30%, transparent 0 40%, var(--tvh-gold) 0 50%, transparent 0 60%, var(--tvh-gold) 0 70%, transparent 0 80%, var(--tvh-gold) 0 90%, transparent 0 100%);
  opacity:.55;
}
.tvh-center{text-align:center;}
.tvh-center .tvh-lede{margin-left:auto;margin-right:auto;}

/* Buttons */
.tvh-btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--tvh-font-ui);font-weight:600;font-size:.92rem;
  padding:13px 26px;border-radius:999px;border:1.5px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.tvh-btn--primary{background:var(--tvh-terracotta);color:#fff;box-shadow:0 8px 22px rgba(194,65,12,.28);}
.tvh-btn--primary:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(194,65,12,.36);}
.tvh-btn--ghost{border-color:rgba(255,255,255,.4);color:#fff;}
.tvh-btn--ghost:hover{background:rgba(255,255,255,.1);}
.tvh-btn--outline{border-color:var(--tvh-terracotta);color:var(--tvh-terracotta);}
.tvh-btn--outline:hover{background:var(--tvh-terracotta);color:#fff;}
.tvh-btn--gold{background:var(--tvh-gold);color:#241804;}

/* Header */
.tvh-header{position:sticky;top:0;z-index:80;background:rgba(251,246,236,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--tvh-line);}
.tvh-header__row{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;max-width:var(--tvh-max);margin:0 auto;gap:20px;}
.tvh-logo{font-family:var(--tvh-font-display);font-size:1.4rem;font-weight:700;color:var(--tvh-night);display:flex;flex-direction:column;line-height:1.1;}
.tvh-logo span{font-family:var(--tvh-font-ui);font-size:.6rem;letter-spacing:.18em;color:var(--tvh-terracotta);font-weight:700;}
.tvh-nav{display:flex;gap:26px;align-items:center;flex-wrap:wrap;}
.tvh-nav a{font-family:var(--tvh-font-ui);font-size:.88rem;font-weight:600;color:var(--tvh-ink);position:relative;}
.tvh-nav a:hover{color:var(--tvh-terracotta);}
.tvh-nav-cta{display:flex;gap:10px;align-items:center;}
.tvh-menu-toggle{display:none;background:none;border:none;font-size:1.6rem;color:var(--tvh-night);}

@media (max-width:960px){
  .tvh-nav{position:absolute;top:100%;left:0;right:0;background:var(--tvh-cream);flex-direction:column;align-items:flex-start;padding:18px 24px;border-bottom:1px solid var(--tvh-line);display:none;}
  .tvh-nav.is-open{display:flex;}
  .tvh-menu-toggle{display:block;}
  .tvh-nav-cta{display:none;}
}

/* Hero */
.tvh-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 80% 10%, var(--tvh-night-2), var(--tvh-night) 60%);color:#fff;padding:96px 0 110px;}
.tvh-hero__grid{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;position:relative;z-index:2;}
@media (max-width:900px){.tvh-hero__grid{grid-template-columns:1fr;}}
.tvh-hero h1{color:#fff;}
.tvh-hero .tvh-lede{color:#D9CFF2;}
.tvh-hero__stats{display:flex;gap:28px;margin-top:34px;flex-wrap:wrap;}
.tvh-hero__stat b{display:block;font-family:var(--tvh-font-display);font-size:1.8rem;color:var(--tvh-marigold);}
.tvh-hero__stat span{font-size:.78rem;color:#C9BFE8;font-family:var(--tvh-font-ui);}
.tvh-hero__actions{display:flex;gap:14px;margin-top:34px;flex-wrap:wrap;}
.tvh-hero__wheel{
  width:100%;aspect-ratio:1/1;border-radius:50%;
  background:conic-gradient(var(--tvh-marigold) 0 8%, transparent 0 16.6%, var(--tvh-marigold) 0 24.6%, transparent 0 33.2%, var(--tvh-marigold) 0 41.2%, transparent 0 49.8%, var(--tvh-marigold) 0 57.8%, transparent 0 66.4%, var(--tvh-marigold) 0 74.4%, transparent 0 83%, var(--tvh-marigold) 0 91%, transparent 0 100%);
  opacity:.85; position:relative; animation:tvh-spin 140s linear infinite;
}
.tvh-hero__wheel::after{content:"ॐ";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:4rem;color:#fff;font-family:var(--tvh-font-display);animation:none;}

/* Cards grid generic */
.tvh-grid{display:grid;gap:24px;}
.tvh-grid--3{grid-template-columns:repeat(3,1fr);}
.tvh-grid--4{grid-template-columns:repeat(4,1fr);}
.tvh-grid--5{grid-template-columns:repeat(5,1fr);}
@media (max-width:960px){.tvh-grid--3,.tvh-grid--4,.tvh-grid--5{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.tvh-grid--3,.tvh-grid--4,.tvh-grid--5{grid-template-columns:1fr;}}

/* Feature/tool cards (astrology software, numerology, laal kitab, remedies) */
.tvh-tool-card{
  background:#fff;border:1px solid var(--tvh-line);border-radius:var(--tvh-radius);padding:28px;
  box-shadow:var(--tvh-shadow); transition:transform .18s ease, box-shadow .18s ease;
}
.tvh-tool-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(27,16,53,.14);}
.tvh-tool-card__icon{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--tvh-cream-2);font-size:1.5rem;margin-bottom:16px;color:var(--tvh-terracotta);}
.tvh-tool-card h3{margin-bottom:8px;}
.tvh-tool-card p{color:var(--tvh-ink-soft);font-size:.95rem;}

/* Symptom checker ("Are you already facing this issue?") */
.tvh-symptom-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
@media (max-width:900px){.tvh-symptom-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.tvh-symptom-grid{grid-template-columns:1fr;}}
.tvh-symptom{
  background:#fff;border:1px solid var(--tvh-line);border-radius:var(--tvh-radius);overflow:hidden;
  box-shadow:var(--tvh-shadow);
}
.tvh-symptom__head{padding:20px 22px;background:var(--tvh-cream-2);display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--tvh-line);}
.tvh-symptom__head .ic{font-size:1.4rem;}
.tvh-symptom__head h4{margin:0;font-family:var(--tvh-font-display);font-size:1.15rem;color:var(--tvh-maroon);}
.tvh-symptom__body{padding:20px 22px;}
.tvh-symptom__body p.q{font-family:var(--tvh-font-ui);font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--tvh-terracotta);font-weight:700;margin-bottom:10px;}
.tvh-symptom__body ul{margin-bottom:14px;}
.tvh-symptom__body li{position:relative;padding-left:18px;margin-bottom:6px;font-size:.94rem;color:var(--tvh-ink-soft);}
.tvh-symptom__body li::before{content:"✦";position:absolute;left:0;color:var(--tvh-gold);}
.tvh-symptom__remedy{background:var(--tvh-cream-2);border-radius:10px;padding:12px 14px;font-size:.9rem;margin-bottom:14px;}
.tvh-symptom__remedy b{color:var(--tvh-maroon);}

/* Shop / product cards */
.tvh-product{background:#fff;border:1px solid var(--tvh-line);border-radius:var(--tvh-radius);overflow:hidden;box-shadow:var(--tvh-shadow);display:flex;flex-direction:column;}
.tvh-product__img{aspect-ratio:1/1;background:var(--tvh-cream-2);}
.tvh-product__body{padding:18px 18px 20px;flex:1;display:flex;flex-direction:column;}
.tvh-product__cat{font-family:var(--tvh-font-ui);font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--tvh-terracotta);font-weight:700;margin-bottom:6px;}
.tvh-product__title{font-family:var(--tvh-font-display);font-size:1.15rem;margin-bottom:6px;color:var(--tvh-night);}
.tvh-product__benefit{font-size:.88rem;color:var(--tvh-ink-soft);flex:1;margin-bottom:14px;}
.tvh-product__foot{display:flex;align-items:center;justify-content:space-between;}
.tvh-product__price{font-family:var(--tvh-font-ui);font-weight:700;color:var(--tvh-maroon);}

.tvh-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:32px;}
.tvh-tab{padding:9px 18px;border-radius:999px;border:1.5px solid var(--tvh-line);font-family:var(--tvh-font-ui);font-size:.85rem;font-weight:600;background:#fff;}
.tvh-tab.is-active,.tvh-tab:hover{border-color:var(--tvh-terracotta);color:var(--tvh-terracotta);}

/* Combo banner */
.tvh-combo{display:grid;grid-template-columns:220px 1fr;gap:24px;background:#fff;border:1px solid var(--tvh-line);border-radius:var(--tvh-radius);overflow:hidden;box-shadow:var(--tvh-shadow);}
@media (max-width:700px){.tvh-combo{grid-template-columns:1fr;}}
.tvh-combo__img{background:var(--tvh-cream-2);}
.tvh-combo__body{padding:22px 24px;}
.tvh-combo__body h3{margin-bottom:6px;}
.tvh-combo__tags{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0;}
.tvh-combo__tags span{font-size:.72rem;background:var(--tvh-cream-2);padding:4px 10px;border-radius:999px;color:var(--tvh-maroon);font-family:var(--tvh-font-ui);font-weight:600;}

/* Calculator widgets (numerology / kundli / laal kitab) */
.tvh-calc{background:#fff;border:1px solid var(--tvh-line);border-radius:var(--tvh-radius);padding:32px;box-shadow:var(--tvh-shadow);max-width:640px;}
.tvh-calc label{display:block;font-family:var(--tvh-font-ui);font-size:.82rem;font-weight:600;margin-bottom:6px;color:var(--tvh-ink);}
.tvh-calc input, .tvh-calc select{width:100%;padding:12px 14px;border:1.5px solid var(--tvh-line);border-radius:9px;font-family:var(--tvh-font-body);font-size:1rem;margin-bottom:18px;background:var(--tvh-cream);}
.tvh-calc .tvh-btn{width:100%;justify-content:center;}
.tvh-calc-result{margin-top:24px;padding:22px;border-radius:12px;background:var(--tvh-cream-2);display:none;}
.tvh-calc-result.is-visible{display:block;}
.tvh-calc-result h4{color:var(--tvh-maroon);margin-bottom:8px;}
.tvh-calc-result .num{font-family:var(--tvh-font-display);font-size:3rem;color:var(--tvh-terracotta);line-height:1;margin-bottom:10px;}

/* Laal Kitab remedy accordion */
.tvh-accordion-item{border:1px solid var(--tvh-line);border-radius:12px;margin-bottom:12px;overflow:hidden;background:#fff;}
.tvh-accordion-btn{width:100%;text-align:left;background:var(--tvh-cream-2);padding:16px 20px;border:none;font-family:var(--tvh-font-display);font-size:1.1rem;color:var(--tvh-night);display:flex;justify-content:space-between;align-items:center;}
.tvh-accordion-panel{padding:0 20px;max-height:0;overflow:hidden;transition:max-height .25s ease, padding .25s ease;}
.tvh-accordion-panel.is-open{padding:16px 20px;max-height:600px;}
.tvh-accordion-panel ul{margin-top:8px;}
.tvh-accordion-panel li{padding-left:18px;position:relative;margin-bottom:8px;color:var(--tvh-ink-soft);}
.tvh-accordion-panel li::before{content:"›";position:absolute;left:0;color:var(--tvh-terracotta);font-weight:700;}

/* Journal */
.tvh-journal-form{background:#fff;border:1px solid var(--tvh-line);border-radius:var(--tvh-radius);padding:28px;box-shadow:var(--tvh-shadow);margin-bottom:40px;}
.tvh-journal-form textarea{width:100%;min-height:130px;padding:14px;border:1.5px solid var(--tvh-line);border-radius:9px;font-family:var(--tvh-font-body);font-size:1rem;margin-bottom:14px;background:var(--tvh-cream);resize:vertical;}
.tvh-journal-form input[type=text]{width:100%;padding:12px 14px;border:1.5px solid var(--tvh-line);border-radius:9px;margin-bottom:14px;background:var(--tvh-cream);font-family:var(--tvh-font-body);font-size:1rem;}
.tvh-journal-entry{background:#fff;border:1px solid var(--tvh-line);border-left:4px solid var(--tvh-gold);border-radius:0 var(--tvh-radius) var(--tvh-radius) 0;padding:22px 24px;margin-bottom:16px;box-shadow:var(--tvh-shadow);}
.tvh-journal-entry__meta{font-family:var(--tvh-font-ui);font-size:.78rem;color:var(--tvh-ink-soft);margin-bottom:8px;text-transform:uppercase;letter-spacing:.06em;}
.tvh-journal-locked{text-align:center;padding:60px 24px;background:var(--tvh-cream-2);border-radius:var(--tvh-radius);}

/* Consultation / strategist bio */
.tvh-bio{display:grid;grid-template-columns:280px 1fr;gap:40px;align-items:start;}
@media (max-width:800px){.tvh-bio{grid-template-columns:1fr;}}
.tvh-bio__photo{aspect-ratio:4/5;border-radius:var(--tvh-radius);background:linear-gradient(160deg,var(--tvh-night),var(--tvh-maroon));position:relative;overflow:hidden;}
.tvh-bio__photo::after{content:"🕉️";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:4rem;opacity:.5;}
.tvh-bio__badge{display:inline-block;background:var(--tvh-gold);color:#241804;font-family:var(--tvh-font-ui);font-weight:700;font-size:.75rem;padding:6px 14px;border-radius:999px;margin-bottom:14px;}
.tvh-bio__creds{display:flex;gap:22px;margin-top:18px;flex-wrap:wrap;}
.tvh-bio__creds div b{display:block;font-family:var(--tvh-font-display);font-size:1.5rem;color:var(--tvh-terracotta);}
.tvh-bio__creds div span{font-size:.78rem;color:var(--tvh-ink-soft);font-family:var(--tvh-font-ui);}

/* Testimonials, footer, misc reused from base site */
.tvh-footer{background:var(--tvh-night);color:#C9BFE8;padding:64px 0 28px;}
.tvh-footer h4{color:#fff;font-family:var(--tvh-font-ui);font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:16px;}
.tvh-footer a{color:#C9BFE8;font-size:.92rem;}
.tvh-footer a:hover{color:var(--tvh-marigold);}
.tvh-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;}
@media (max-width:800px){.tvh-footer__grid{grid-template-columns:1fr 1fr;}}
.tvh-footer li{margin-bottom:10px;}
.tvh-footer__bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:48px;padding-top:24px;font-size:.82rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;}

.tvh-badge-new{background:var(--tvh-terracotta);color:#fff;font-size:.62rem;font-weight:700;padding:2px 8px;border-radius:999px;margin-left:8px;vertical-align:middle;letter-spacing:.04em;}

/* WhatsApp float button */
.tvh-wa-float{
  position:fixed; bottom:26px; right:26px; width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  font-size:1.6rem; box-shadow:0 8px 22px rgba(0,0,0,.25); z-index:300; color:#fff;
}
.tvh-wa-float:hover{transform:scale(1.08);}

/* Locked content (journal for guests) */
.tvh-journal-locked h3{margin-bottom:10px;}

/* Utility */
.tvh-mt{margin-top:40px;}
.tvh-flex-between{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;}

/* AI Lucky Stone recommendation panel (Numerology tool) */
.tvh-lucky-stone{
  margin-top:26px; padding-top:22px; border-top:1.5px dashed var(--tvh-gold);
}
.tvh-lucky-stone h4{color:var(--tvh-maroon); margin-bottom:8px;}

/* Share Your Issue — form + auto-generated report */
.tvh-share-form{background:#fff; border:1px solid var(--tvh-line); border-radius:var(--tvh-radius); padding:32px; box-shadow:var(--tvh-shadow);}
.tvh-share-form .tvh-grid--2{margin-bottom:0;}
.tvh-share-form textarea{width:100%; min-height:120px; padding:14px; border:1.5px solid var(--tvh-line); border-radius:9px; font-family:var(--tvh-font-body); font-size:1rem; margin-bottom:18px; background:var(--tvh-cream); resize:vertical;}
.tvh-report{background:#fff; border:1px solid var(--tvh-line); border-radius:var(--tvh-radius); padding:32px; box-shadow:var(--tvh-shadow); margin-bottom:40px;}
.tvh-report h3{color:var(--tvh-maroon);}
.tvh-privacy-note{font-size:.78rem; color:var(--tvh-ink-soft); margin-top:-6px; margin-bottom:18px;}

/* AI / Live-API source tag */
.tvh-tag-ai{
  display:inline-block; background:var(--tvh-night); color:#fff; font-family:var(--tvh-font-ui);
  font-size:.62rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  padding:3px 9px; border-radius:999px; vertical-align:middle; margin-left:6px;
}

/* Journal — colour-coded note types */
.tvh-journal-legend{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px;}
.tvh-mood-chip{
  display:inline-block; font-family:var(--tvh-font-ui); font-size:.72rem; font-weight:700;
  padding:4px 12px; border-radius:999px; border:1.5px solid; background:#fff;
}
.tvh-mood-badge{
  display:inline-block; color:#fff; font-family:var(--tvh-font-ui); font-size:.68rem; font-weight:700;
  padding:4px 12px; border-radius:999px; margin-bottom:10px; letter-spacing:.02em;
}
