:root {
  --cream: #fbf6ec;
  --linen: #f3eadb;
  --paper: #fffaf2;
  --ink: #201915;
  --muted: #6c5c4f;
  --espresso: #201511;
  --coffee: #5b3424;
  --gold: #c99947;
  --gold-light: #ead09b;
  --sage: #557464;
  --sage-dark: #263d31;
  --border: rgba(32, 21, 17, 0.14);
  --shadow: 0 22px 50px rgba(32, 21, 17, 0.12);
  --radius: 8px;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-180%);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--espresso);
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 32px, 1140px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  min-height: var(--header-height);
  background: rgba(251, 246, 236, 0.92);
  border-bottom: 1px solid rgba(32, 21, 17, 0.1);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--espresso);
  font-weight: 900;
  line-height: 1.1;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: var(--radius);
  background: var(--espresso);
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.primary-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  display: grid;
  gap: 2px;
  padding: 12px 16px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.primary-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.primary-nav a {
  padding: 12px;
  border-radius: var(--radius);
  color: var(--espresso);
  font-weight: 750;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: var(--linen);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  margin-left: auto;
  display: inline-grid;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--espresso);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.header-cta {
  display: none;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg,
.header-cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 20px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--sage);
  color: #fffdf7;
  box-shadow: 0 14px 28px rgba(38, 61, 49, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--sage-dark);
}

.whatsapp-spotlight {
  min-height: 750px;
  display: none;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(21, 33, 41, 0.1), rgba(21, 33, 41, 0.26)),
    url("assets/mahadev-top-background.webp") center / cover no-repeat,
    #152129;
}

.whatsapp-spotlight::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(21, 33, 41, 0), rgba(21, 33, 41, 0.38));
  pointer-events: none;
}

.whatsapp-spotlight-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  transform: translateY(-54px);
}

.spotlight-product-image {
  width: min(78vw, 380px);
  max-height: 510px;
  object-fit: contain;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.34));
}

.spotlight-cta {
  position: relative;
  min-width: 210px;
  padding: 17px 26px;
  background: #e87512;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 34px rgba(232, 117, 18, 0.44);
  animation: whatsappPulse 2.4s ease-in-out infinite;
}

.spotlight-cta::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(232, 117, 18, 0.26);
  animation: whatsappHalo 2.4s ease-in-out infinite;
}

.spotlight-cta:hover,
.spotlight-cta:focus-visible {
  background: #d4640e;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 42px rgba(232, 117, 18, 0.54);
}

@keyframes whatsappPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.03);
  }
}

@keyframes whatsappHalo {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.18;
    transform: scale(1.14);
  }
}

.button-secondary {
  width: 100%;
  margin-top: auto;
  border: 1px solid rgba(201, 153, 71, 0.42);
  background: #fff6e4;
  color: var(--espresso);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--gold-light);
}

.hero {
  position: relative;
  min-height: calc(82svh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--espresso);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: 60% center;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 13, 9, 0.9) 0%, rgba(32, 21, 17, 0.74) 44%, rgba(32, 21, 17, 0.28) 100%),
    linear-gradient(0deg, rgba(24, 14, 10, 0.62), rgba(24, 14, 10, 0.08) 38%);
}

.hero-content {
  padding: 46px 0 38px;
  color: #fff8ea;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 940px;
  margin-top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 8vw, 3.85rem);
  line-height: 1.02;
  font-weight: 800;
}

.hero-copy {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(255, 248, 234, 0.9);
  font-size: clamp(1rem, 2.8vw, 1.2rem);
}

.phrase-row {
  max-width: 880px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.phrase-row span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 248, 234, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.09);
  color: rgba(255, 248, 234, 0.88);
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

.section {
  padding: 70px 0;
}

.intro-band {
  background: var(--sage-dark);
  color: #fff8ea;
  padding: 34px 0;
}

.intro-grid {
  display: grid;
  gap: 18px;
}

.intro-grid h2 {
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 9vw, 3rem);
  line-height: 1;
}

.intro-grid p {
  max-width: 690px;
  color: rgba(255, 248, 234, 0.84);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin-top: 8px;
  color: var(--espresso);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 9vw, 3.6rem);
  line-height: 1.02;
}

.section-heading p,
.about-copy p,
.contact-section p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
}

.section-heading .section-kicker,
.about-copy .section-kicker,
.contact-section .section-kicker,
.policy-section .section-kicker {
  color: var(--sage);
}

.section-heading-light .section-kicker {
  color: var(--gold-light);
}

.product-grid,
.benefit-grid {
  display: grid;
  gap: 16px;
}

.product-card,
.benefit-card,
.contact-card,
.policy-panel,
.about-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(32, 21, 17, 0.08);
}

.product-card {
  min-height: 308px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: 22px;
}

.product-icon {
  width: 54px;
  height: 54px;
  position: relative;
  border-radius: var(--radius);
  background: #efe1cb;
  overflow: hidden;
}

.product-icon span,
.product-icon::before {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #a36b43, #321b13 68%);
  transform: rotate(-22deg);
}

.product-icon span {
  width: 28px;
  height: 42px;
  left: 12px;
  top: 6px;
}

.product-icon::before {
  width: 25px;
  height: 38px;
  right: 9px;
  bottom: 4px;
  transform: rotate(25deg);
}

.product-icon-strong {
  background: #e5d8c3;
}

.product-card h3,
.benefit-card h3 {
  margin-top: 18px;
  color: var(--espresso);
  font-size: 1.25rem;
  line-height: 1.2;
}

.product-rating {
  width: fit-content;
  margin-top: 10px;
  border: 1px solid rgba(201, 153, 71, 0.32);
  border-radius: var(--radius);
  background: #fff6e4;
  color: var(--coffee);
  padding: 5px 9px;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
}

.product-card p,
.benefit-card p {
  margin: 10px 0 22px;
  color: var(--muted);
}

.product-card .product-rating {
  margin-bottom: 0;
  color: var(--coffee);
}

.benefits-band {
  background: var(--espresso);
  color: #fff8ea;
}

.section-heading-light h2,
.section-heading-light p {
  color: #fff8ea;
}

.section-heading-light p {
  opacity: 0.78;
}

.benefit-card {
  min-height: 206px;
  background: rgba(255, 248, 234, 0.06);
  border-color: rgba(255, 248, 234, 0.14);
  box-shadow: none;
  padding: 20px;
}

.benefit-card span {
  color: var(--gold-light);
  font-weight: 900;
}

.benefit-card h3 {
  color: #fff8ea;
}

.benefit-card p {
  color: rgba(255, 248, 234, 0.74);
}

.about-section {
  background: var(--linen);
}

.about-grid,
.contact-grid,
.policy-grid {
  display: grid;
  gap: 22px;
}

.about-copy p + p {
  margin-top: 12px;
}

.about-panel {
  display: grid;
  background: var(--paper);
  overflow: hidden;
}

.about-panel div {
  display: grid;
  gap: 4px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.about-panel div:last-child {
  border-bottom: 0;
}

.about-panel strong {
  color: var(--espresso);
  font-size: 0.92rem;
}

.about-panel span {
  color: var(--muted);
}

.contact-section {
  background: var(--paper);
}

.contact-card {
  display: grid;
  gap: 6px;
  background: var(--espresso);
  color: #fff8ea;
  padding: 24px;
  font-style: normal;
}

.contact-card span {
  margin-top: 12px;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card span:first-child {
  margin-top: 0;
}

.contact-card a {
  overflow-wrap: anywhere;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--gold-light);
}

.contact-section .button {
  margin-top: 24px;
}

.policy-section {
  background: var(--cream);
  padding-top: 56px;
}

.policy-grid {
  align-items: start;
}

.policy-panel {
  background: var(--paper);
  padding: 0 18px;
}

.policy-panel summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--espresso);
  cursor: pointer;
  font-weight: 900;
}

.policy-panel summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--linen);
  color: var(--coffee);
}

.policy-panel[open] summary::after {
  content: "-";
}

.policy-panel p {
  padding-bottom: 16px;
  color: var(--muted);
}

.policy-panel a {
  color: var(--sage-dark);
  font-weight: 800;
}

.site-footer {
  background: #16100d;
  color: rgba(255, 248, 234, 0.78);
  padding: 50px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 30px;
}

.footer-brand {
  color: #fff8ea;
}

.site-footer p {
  max-width: 380px;
  margin-top: 14px;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #fff8ea;
  font-size: 1rem;
}

.site-footer nav,
.footer-contact {
  display: grid;
  gap: 8px;
  align-content: start;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold-light);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 248, 234, 0.14);
}

.footer-bottom p {
  max-width: none;
  margin: 0;
  font-size: 0.92rem;
}

.not-found {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 42px 0;
  background: var(--espresso);
  color: #fff8ea;
}

.not-found-card {
  width: min(100% - 32px, 680px);
  border: 1px solid rgba(255, 248, 234, 0.16);
  border-radius: var(--radius);
  padding: 32px;
  background: rgba(255, 248, 234, 0.06);
}

.not-found-card h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 12vw, 5rem);
  line-height: 1;
}

.not-found-card p {
  margin: 18px 0 24px;
  color: rgba(255, 248, 234, 0.78);
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 48px, 1140px);
  }

  .product-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button-secondary {
    width: auto;
    align-self: flex-start;
  }
}

@media (min-width: 900px) {
  .whatsapp-spotlight {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .primary-nav a {
    padding: 9px 10px;
    font-size: 0.92rem;
  }

  .header-cta {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius);
    background: var(--sage);
    color: #fffdf7;
    padding: 9px 13px;
    font-weight: 900;
    line-height: 1;
  }

  .header-cta:hover,
  .header-cta:focus-visible {
    background: var(--sage-dark);
  }

  .spotlight-cta {
    padding: 18px 30px;
    font-size: 1.05rem;
  }

  .spotlight-product-image {
    width: min(32vw, 400px);
    max-height: 500px;
  }

  .hero {
    min-height: calc(78svh - var(--header-height));
  }

  .hero-content {
    padding: 54px 0 44px;
  }

  .hero-media {
    object-position: center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(22, 13, 9, 0.92) 0%, rgba(32, 21, 17, 0.74) 42%, rgba(32, 21, 17, 0.12) 82%),
      linear-gradient(0deg, rgba(24, 14, 10, 0.52), rgba(24, 14, 10, 0.06) 42%);
  }

  .intro-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-panel {
    margin-left: auto;
    width: min(100%, 430px);
  }

  .contact-card {
    margin-left: auto;
    width: min(100%, 440px);
    padding: 30px;
  }

  .policy-grid {
    grid-template-columns: minmax(260px, 0.9fr) repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.35fr 0.8fr 1fr;
  }
}

@media (min-width: 1100px) {
  .primary-nav a {
    padding-inline: 12px;
  }
}

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

  .spotlight-cta,
  .spotlight-cta::before {
    animation: none !important;
  }
}

/* ==========================================================
   Pasted text(11)-style mobile/desktop switch
   ----------------------------------------------------------
   This replaces the earlier 390px-430px test bug.

   Same condition pattern as the older Maviya page:
   - Mobile: max-width: 780px
     Hide desktop header/hero, show the mobile spotlight.
   - Desktop/tablet-above: min-width: 781px
     Hide mobile spotlight, show the normal site header/hero.

   Keep this block near the end of the file so it overrides
   the base styles and the 900px desktop layout rule.
   ========================================================== */

@media (max-width: 780px) {
  body {
    background-color: #152129;
  }

  .site-header {
    display: none;
  }

  .hero {
    display: none;
  }

  .whatsapp-spotlight {
    display: grid;
    min-height: 100vh;
    background:
      linear-gradient(180deg, rgba(21, 33, 41, 0.1), rgba(21, 33, 41, 0.26)),
      url("assets/mahadev-top-background.webp") center / cover no-repeat,
      #152129;
  }

  .whatsapp-spotlight-inner {
    display: flex;
    transform: translateY(-54px);
  }

  .spotlight-product-image {
    width: min(80vw, 380px);
    max-height: 36vh;
    object-fit: contain;
  }

  .spotlight-cta {
    padding: 12px 32px;
    font-size: 1.1rem;
  }

  .about-grid,
  .contact-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 50px 0;
  }
}

@media (max-width: 550px) {
  .spotlight-product-image {
    width: min(85vw, 360px);
  }

  .spotlight-cta {
    gap: 8px;
    padding: 10px 26px;
    font-size: 1rem;
  }
}

@media (min-width: 781px) {
  body {
    background-color: var(--cream);
  }

  .whatsapp-spotlight {
    display: none;
  }

  .site-header {
    display: block;
  }

  .hero {
    display: grid;
  }
}

