/* Jyoti Wellness · Akay-inspired corporate theme
   Brand: Deep Olive / Ivory / Warm Stone
   Type: Poppins (Akay reference)
*/

:root {
  --jw-olive: #5b5a41;
  --jw-olive-deep: #3f3e2d;
  --jw-olive-ink: #2a2920;
  --jw-forest: #2d4a3e;
  --jw-ivory: #e3dad0;
  --jw-sandstone: #ded2c2;
  --jw-warm-stone: #81725e;
  --jw-gold: #c9b896;
  --jw-khaki: #b08d52;
  --jw-beige: #f2eedd;
  --jw-ink: #2a2820;
  --jw-white: #ffffff;
  --jw-muted: rgba(42, 40, 32, 0.72);
  --jw-line: rgba(91, 90, 65, 0.18);
  --jw-radius: 16px;
  --jw-radius-sm: 10px;
  --jw-max: 1180px;
  --jw-pad: clamp(1.25rem, 4vw, 2.5rem);
  --jw-section: clamp(4.5rem, 10vw, 7.5rem);
  --jw-font: "Poppins", system-ui, -apple-system, sans-serif;
  --jw-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--jw-font);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--jw-ink);
  background: var(--jw-ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.jw-wrap {
  width: min(100% - (var(--jw-pad) * 2), var(--jw-max));
  margin-inline: auto;
}

.jw-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jw-warm-stone);
  margin: 0 0 0.85rem;
}

.jw-h1,
h1.jw-h1 {
  font-family: var(--jw-font);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.jw-h2,
h2.jw-h2 {
  font-weight: 300;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

.jw-h3 {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 0 0 0.65rem;
}

.jw-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--jw-muted);
  max-width: 38rem;
  margin: 0;
}

.jw-text {
  color: var(--jw-muted);
  margin: 0;
}

/* Buttons: Akay-clean, brand olive */
.jw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--jw-ease), background 0.35s var(--jw-ease),
    color 0.35s var(--jw-ease), border-color 0.35s var(--jw-ease);
  cursor: pointer;
}

.jw-btn:hover {
  transform: translateY(-1px);
}

.jw-btn--primary {
  background: var(--jw-olive);
  color: var(--jw-ivory);
}

.jw-btn--primary:hover {
  background: var(--jw-olive-deep);
}

.jw-btn--ghost {
  background: transparent;
  color: var(--jw-ivory);
  border-color: rgba(227, 218, 208, 0.45);
}

.jw-btn--ghost:hover {
  background: rgba(227, 218, 208, 0.1);
  border-color: var(--jw-ivory);
}

.jw-btn--outline {
  background: transparent;
  color: var(--jw-olive);
  border-color: var(--jw-olive);
}

.jw-btn--outline:hover {
  background: var(--jw-olive);
  color: var(--jw-ivory);
}

.jw-btn--shop {
  background: var(--jw-khaki);
  color: var(--jw-white);
}

.jw-btn--shop:hover {
  background: #9a7844;
}

.jw-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--jw-olive);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--jw-ease), gap 0.3s var(--jw-ease);
}

.jw-link:hover {
  border-bottom-color: var(--jw-olive);
  gap: 0.65rem;
}

.jw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Header shell — floating pill styles in layouts-21st.css */
.jw-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  padding: 0;
}

.jw-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.jw-logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--jw-ivory);
  flex-shrink: 0;
}

.jw-logo--image {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.jw-logo__img {
  display: block;
  width: auto;
  height: 2rem;
  max-width: min(11.5rem, 46vw);
  object-fit: contain;
}

.jw-logo--footer .jw-logo__img {
  height: 3.75rem;
  max-width: min(18rem, 80vw);
}

.jw-logo__mark {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.jw-logo__sub {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}

.jw-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.jw-nav__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.05rem;
  flex-wrap: nowrap;
}

.jw-nav__list a {
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(227, 218, 208, 0.88);
  transition: color 0.25s var(--jw-ease);
}

.jw-nav__list a:hover,
.jw-nav__list .current-menu-item > a {
  color: var(--jw-ivory);
}

.jw-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: 0;
  color: var(--jw-ivory);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.4rem 0;
}

.jw-nav__toggle span {
  width: 18px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}

body.jw-nav-open .jw-nav__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.jw-nav__panel {
  position: fixed;
  inset: 0;
  background: rgba(42, 41, 32, 0.96);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--jw-ease), transform 0.4s var(--jw-ease);
  z-index: 100;
}

.jw-nav__panel-close {
  position: absolute;
  top: 1.5rem;
  right: var(--jw-pad);
  background: none;
  border: 0;
  color: var(--jw-ivory);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.jw-nav__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.jw-nav__panel a {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 300;
  color: var(--jw-ivory);
}

.jw-nav__panel .jw-btn {
  margin-top: 1.5rem;
  width: fit-content;
}

@media (min-width: 1100px) {
  .jw-nav__list {
    display: flex;
  }

  .jw-nav__toggle {
    display: none;
  }

  .jw-header__shop {
    display: inline-flex;
  }
}

.jw-header__shop {
  display: none;
}

/* Hero: full bleed like Akay */
.jw-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--jw-ivory);
  overflow: hidden;
  background: #2a2920;
}

.jw-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.jw-hero__media .jw-ph {
  width: 100%;
  height: 115%;
  min-height: 100%;
  border-radius: 0;
}

.jw-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(42, 41, 32, 0.35) 0%, rgba(42, 41, 32, 0.72) 55%, rgba(42, 41, 32, 0.92) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(91, 90, 65, 0.35), transparent 55%);
  pointer-events: none;
}

.jw-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(3.5rem, 8vh, 5.5rem);
  width: min(100% - (var(--jw-pad) * 2), var(--jw-max));
  margin-inline: auto;
  max-width: 44rem;
}

.jw-hero .jw-lead {
  color: rgba(227, 218, 208, 0.82);
}

.jw-hero--page {
  min-height: 52vh;
  align-items: flex-end;
}

.jw-hero--page .jw-hero__content {
  max-width: 40rem;
}

.jw-scroll-cue {
  position: absolute;
  right: var(--jw-pad);
  bottom: 2rem;
  z-index: 2;
  width: 1px;
  height: 56px;
  background: rgba(227, 218, 208, 0.25);
  overflow: hidden;
}

.jw-scroll-cue span {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--jw-ivory);
  animation: jw-cue 1.8s var(--jw-ease) infinite;
}

@keyframes jw-cue {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(280%); }
}

/* Image placeholders */
.jw-ph {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  overflow: hidden;
  border-radius: var(--jw-radius);
  background:
    linear-gradient(145deg, rgba(91, 90, 65, 0.92), rgba(45, 74, 62, 0.75) 55%, rgba(129, 114, 94, 0.65)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(227, 218, 208, 0.04) 18px,
      rgba(227, 218, 208, 0.04) 36px
    );
  color: var(--jw-ivory);
  padding: 1.25rem;
  isolation: isolate;
}

.jw-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 184, 150, 0.22), transparent 42%),
    radial-gradient(circle at 80% 80%, rgba(227, 218, 208, 0.08), transparent 40%);
  z-index: -1;
}

.jw-ph::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(227, 218, 208, 0.28);
  border-radius: calc(var(--jw-radius) - 6px);
  pointer-events: none;
  z-index: 0;
}

.jw-ph__label {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jw-ph__hint {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 300;
  opacity: 0.72;
}

.jw-ph--hero {
  min-height: 100%;
  border-radius: 0;
}

.jw-ph--hero::after {
  inset: 24px;
  border-radius: 0;
}

.jw-ph--hero-sm {
  min-height: 52vh;
}

.jw-ph--portrait {
  min-height: 360px;
  height: 100%;
}

.jw-ph--card {
  min-height: 180px;
  margin: -0.15rem -0.15rem 1.15rem;
  border-radius: calc(var(--jw-radius) - 4px);
}

.jw-ph--card-sm {
  min-height: 120px;
}

.jw-ph--wide {
  min-height: 160px;
  margin-bottom: 1.25rem;
}

.jw-ph--brand {
  min-height: 220px;
  margin-bottom: 1.25rem;
}

.jw-ph-frame {
  position: relative;
  min-height: 360px;
  border-radius: var(--jw-radius);
  overflow: hidden;
  background: transparent;
}

.jw-ph-frame .jw-ph {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.jw-ph-frame .jw-split__media-inner {
  z-index: 2;
}

.jw-card--media {
  transform-style: preserve-3d;
  will-change: transform;
}

.jw-card--media .jw-ph--card {
  margin: 0 0 1.15rem;
}

/* Sections */
.jw-section {
  padding: var(--jw-section) 0;
}

.jw-section--dark {
  background: var(--jw-olive-ink);
  color: var(--jw-ivory);
}

.jw-section--dark .jw-eyebrow {
  color: var(--jw-gold);
}

.jw-section--dark .jw-lead,
.jw-section--dark .jw-text {
  color: rgba(227, 218, 208, 0.78);
}

.jw-section--sand {
  background: var(--jw-sandstone);
}

.jw-section--ivory {
  background: var(--jw-ivory);
}

.jw-section--beige {
  background: var(--jw-beige);
}

.jw-section__head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.jw-section__head--center {
  text-align: center;
  margin-inline: auto;
}

.jw-section__head--center .jw-lead {
  margin-inline: auto;
}

/* Founder / split */
.jw-split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 880px) {
  .jw-split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .jw-split--reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .jw-split--reverse .jw-split__media {
    order: 2;
  }
}

.jw-split__media {
  position: relative;
  min-height: 360px;
  border-radius: var(--jw-radius);
  background: transparent;
  overflow: hidden;
}

.jw-split__media-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: var(--jw-ivory);
}

.jw-stat {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}

.jw-stat span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

/* Brand cards */
.jw-grid {
  display: grid;
  gap: 1.25rem;
}

.jw-grid--3 {
  grid-template-columns: 1fr;
}

.jw-grid--2 {
  grid-template-columns: 1fr;
}

.jw-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .jw-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .jw-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .jw-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.jw-card {
  background: var(--jw-white);
  border-radius: var(--jw-radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid transparent;
  transition: transform 0.4s var(--jw-ease), box-shadow 0.4s var(--jw-ease);
}

.jw-section--beige .jw-card,
.jw-section--sand .jw-card {
  background: rgba(255, 255, 255, 0.72);
}

.jw-section--dark .jw-card {
  background: rgba(227, 218, 208, 0.06);
  border-color: rgba(227, 218, 208, 0.12);
  color: var(--jw-ivory);
}

.jw-section--dark .jw-card .jw-text {
  color: rgba(227, 218, 208, 0.72);
}

.jw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(42, 40, 32, 0.08);
}

.jw-card__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jw-khaki);
  margin: 0 0 0.85rem;
}

.jw-card__cta {
  margin-top: 1.35rem;
}

/* Numbered steps */
.jw-steps {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .jw-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.jw-step {
  padding: 1.5rem 0 0;
}

.jw-step__num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--jw-olive);
  color: var(--jw-ivory);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.jw-step__year {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jw-warm-stone);
  margin: 0 0 0.4rem;
}

/* Offer teaser */
.jw-offer-row {
  display: grid;
  gap: 1px;
  background: var(--jw-line);
  border-radius: var(--jw-radius);
  overflow: hidden;
}

@media (min-width: 800px) {
  .jw-offer-row {
    grid-template-columns: 1fr 1fr;
  }
}

.jw-offer {
  background: var(--jw-ivory);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.jw-section--dark .jw-offer {
  background: rgba(227, 218, 208, 0.04);
}

/* Partner band */
.jw-band {
  border-radius: var(--jw-radius);
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--jw-olive);
  color: var(--jw-ivory);
}

.jw-band .jw-lead {
  color: rgba(227, 218, 208, 0.8);
}

.jw-band .jw-btn--ghost {
  border-color: rgba(227, 218, 208, 0.4);
}

/* Brand detail blocks */
.jw-brand-block {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--jw-line);
}

.jw-brand-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

@media (min-width: 860px) {
  .jw-brand-block {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.jw-brand-block__name {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  margin: 0 0 0.5rem;
}

/* Form */
.jw-form {
  display: grid;
  gap: 1rem;
}

.jw-form__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .jw-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.jw-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  color: var(--jw-warm-stone);
}

.jw-field input,
.jw-field select,
.jw-field textarea {
  width: 100%;
  border: 1px solid var(--jw-line);
  background: var(--jw-white);
  border-radius: var(--jw-radius-sm);
  padding: 0.85rem 1rem;
  color: var(--jw-ink);
  outline: none;
  transition: border-color 0.25s var(--jw-ease);
}

.jw-field input:focus,
.jw-field select:focus,
.jw-field textarea:focus {
  border-color: var(--jw-olive);
}

.jw-field textarea {
  min-height: 140px;
  resize: vertical;
}

.jw-alert {
  padding: 0.9rem 1rem;
  border-radius: var(--jw-radius-sm);
  background: rgba(110, 143, 114, 0.15);
  color: var(--jw-forest);
  margin-bottom: 1rem;
}

.jw-contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .jw-contact-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.jw-aside-links {
  display: grid;
  gap: 1rem;
}

.jw-aside-links a {
  color: var(--jw-olive);
  font-weight: 500;
}

/* Footer */
.jw-footer {
  background: var(--jw-olive-ink);
  color: rgba(227, 218, 208, 0.82);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.75rem;
}

.jw-footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(227, 218, 208, 0.12);
}

@media (min-width: 800px) {
  .jw-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.jw-footer .jw-logo {
  margin-bottom: 1rem;
}

.jw-footer h4 {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jw-gold);
}

.jw-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.jw-footer a {
  color: rgba(227, 218, 208, 0.82);
  font-size: 0.95rem;
  transition: color 0.25s var(--jw-ease);
}

.jw-footer a:hover {
  color: var(--jw-ivory);
}

.jw-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  opacity: 0.75;
}

/* Text reveal (21st.dev Text Reveal — blur + slide words) */
.jw-text-reveal .jw-tr__word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.jw-text-reveal .jw-tr__inner {
  display: inline-block;
  will-change: transform, opacity, filter;
  transform-origin: 50% 100%;
}

.jw-text-reveal em .jw-tr__inner {
  font-style: italic;
}

@media (prefers-reduced-motion: reduce) {
  .jw-text-reveal .jw-tr__inner {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* Elementor content safety */
.elementor-page .jw-page-content,
.elementor-editor-active .jw-page-content {
  padding: 0;
}

.elementor-page .site-main > .jw-hero--page {
  display: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .jw-hero__content,
  .jw-reveal,
  .jw-btn,
  .jw-card,
  .jw-scroll-cue span,
  [data-reveal],
  [data-stagger] > * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
