/* Bhagavad Darshan — bdtirupati.com
   Palette taken from the app brand mark: cream, deep brown, marigold, temple gold. */

:root {
  --cream: #FFF8EC;
  --cream-deep: #F6E9D4;
  --paper: #FFFDF9;
  --ink: #3A1F12;
  --ink-soft: #7A6155;
  --marigold: #E65100;
  --marigold-deep: #BF360C;
  --gold: #D9A03C;
  --gold-soft: #F6E3BE;
  --maroon: #7A1F3D;
  --maroon-deep: #4E1327;
  --line: #EADCC4;
  --shadow-sm: 0 2px 10px rgba(58, 31, 18, 0.06);
  --shadow-md: 0 14px 38px rgba(58, 31, 18, 0.12);
  --shadow-lg: 0 26px 70px rgba(78, 19, 39, 0.2);
  --radius: 18px;
  --radius-lg: 26px;
  --display: "Marcellus", "Georgia", serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --telugu: "Noto Serif Telugu", "Noto Sans Telugu", serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
  color: var(--maroon);
}

p { margin: 0 0 16px; }
img { max-width: 100%; display: block; }

a { color: var(--marigold-deep); }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: 22px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- ornaments ---------- */
.lotus {
  display: block;
  margin: 0 auto 18px;
  width: 62px;
  height: 12px;
  color: var(--gold);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  background: linear-gradient(135deg, var(--marigold) 0%, var(--marigold-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(191, 54, 12, 0.26);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(191, 54, 12, 0.32); }
.btn-outline {
  background: transparent;
  color: var(--maroon);
  border-color: rgba(122, 31, 61, 0.4);
  box-shadow: none;
}
.btn-outline:hover { background: rgba(122, 31, 61, 0.06); box-shadow: none; }
.btn-light {
  background: var(--gold);
  color: var(--maroon-deep);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}
.btn-sm { padding: 10px 20px; font-size: 14.5px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 236, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 46px; height: 46px; border-radius: 13px; box-shadow: var(--shadow-sm); }
.brand-name { font-family: var(--display); font-size: 19px; color: var(--maroon); line-height: 1.15; }
.brand-sub { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }

.nav-links { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-links a:not(.btn) {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.nav-links a:not(.btn):hover { background: var(--cream-deep); color: var(--maroon); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--maroon);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: 96px 0 104px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: image-set(url("/assets/temple-lg.webp") 1x);
  background-image: url("/assets/temple-lg.webp");
  background-size: cover;
  background-position: center 58%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(58, 20, 10, 0.62) 0%, rgba(78, 19, 39, 0.58) 55%, rgba(58, 20, 10, 0.78) 100%);
}
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before, .hero .eyebrow::after { background: rgba(246, 227, 190, 0.7); }
.hero-telugu {
  font-family: var(--telugu);
  font-size: clamp(26px, 5vw, 42px);
  color: var(--gold-soft);
  margin: 20px 0 6px;
  line-height: 1.35;
}
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 6.4vw, 60px);
  margin: 0 0 14px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.hero-tagline {
  font-size: clamp(15px, 2.2vw, 18px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 22px;
}
.hero-lead {
  max-width: 34em;
  margin: 0 auto 30px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 40px;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- sections ---------- */
section { padding: 82px 0; }
.section-head { text-align: center; max-width: 36em; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(27px, 3.8vw, 38px); }
.section-head p { color: var(--ink-soft); margin: 0; }
.band { background: var(--cream-deep); }

/* ---------- magazine spotlight ---------- */
.spotlight { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.spotlight-art { position: relative; }
.spotlight-art img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  transform: rotate(-2deg);
}
.spotlight-art::before {
  content: "";
  position: absolute;
  inset: 16px -18px -18px 16px;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  z-index: -1;
}
.issue-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.issue-tags li {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--maroon-deep);
}
.inside { margin: 0; padding: 0; list-style: none; }
.inside li {
  position: relative;
  padding: 9px 0 9px 30px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.inside li:last-child { border-bottom: 0; }
.inside li::before {
  content: "";
  position: absolute;
  left: 4px; top: 19px;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid var(--marigold);
}
.inside b { color: var(--ink); font-weight: 600; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.card .ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--gold-soft);
  color: var(--maroon);
  margin-bottom: 18px;
}

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.plan.featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
}
.plan-flag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--maroon-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan .term {
  font-family: var(--display);
  font-size: 23px;
  color: var(--maroon);
}
.plan .price {
  font-family: var(--display);
  font-size: 52px;
  color: var(--ink);
  margin: 6px 0 0;
  line-height: 1;
}
.plan .price small { font-size: 24px; vertical-align: 22%; color: var(--ink-soft); }
.plan .issues { font-size: 15px; color: var(--ink-soft); margin: 10px 0 20px; min-height: 48px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; font-size: 15.5px; }
.plan li { position: relative; padding: 7px 0 7px 27px; color: var(--ink-soft); }
.plan li::before {
  content: "✓";
  position: absolute; left: 2px;
  color: var(--marigold);
  font-weight: 700;
}
.plan .btn { margin-top: auto; }
.plans-note { text-align: center; margin: 30px auto 0; max-width: 40em; font-size: 15px; color: var(--ink-soft); }

/* ---------- quote ---------- */
.quote-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: center;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 48px;
  box-shadow: var(--shadow-md);
}
.quote-block img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.quote-block blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.5;
  color: #fff;
}
.quote-block cite {
  display: block;
  margin-top: 20px;
  font-family: var(--body);
  font-style: normal;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
}

/* ---------- app ---------- */
.app-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center; }
.app-grid img { border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.app-list { list-style: none; padding: 0; margin: 0 0 28px; }
.app-list li { position: relative; padding: 8px 0 8px 32px; color: var(--ink-soft); }
.app-list li::before {
  content: "";
  position: absolute; left: 0; top: 16px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 2px var(--gold);
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-grid .card a { font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-grid .card a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--maroon-deep);
  color: rgba(255, 255, 255, 0.74);
  padding: 54px 0 30px;
  font-size: 15px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.foot-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.foot-brand img { width: 44px; height: 44px; border-radius: 12px; }
.foot-brand strong { color: #fff; font-family: var(--display); font-size: 19px; font-weight: 400; }
.site-footer h4 {
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.copy {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .spotlight, .app-grid, .quote-block { grid-template-columns: 1fr; gap: 34px; }
  .cards, .plans, .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .quote-block { padding: 34px 28px; text-align: center; }
  .quote-block img { max-width: 190px; margin-inline: auto; }
  .spotlight-art img { transform: none; }
  .spotlight-art::before { display: none; }
  section { padding: 60px 0; }
  .hero { padding: 66px 0 74px; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 22px 20px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 14px; }
  .nav-links .btn { justify-content: center; margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
