/* YogArunyam unified premium wellness theme */
:root {
  --bg-deep: #ffffff;
  --bg-mid: #f7fbf8;
  --bg-card: #ffffff;
  --bg-card-alt: #eef8f1;
  --cream: #14231d;
  --cream-muted: #52675c;
  --gold: #7cb27d;
  --gold-light: #a9dbca;
  --gold-dim: #315f45;
  --mint-pale: #d4f4cd;
  --mint-soft: #d2f4e6;
  --mist: #bbe1ea;
  --white: #ffffff;
  --danger: #9f3a3a;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 18px 50px rgba(20, 35, 29, 0.08);
  --shadow-pop: 0 28px 90px rgba(20, 35, 29, 0.18);
  --shadow-gold: 0 16px 48px rgba(124, 178, 125, 0.22);
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@keyframes animated-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

body.yoga-site {
  background:
    linear-gradient(125deg, #d2f4e6, #f7fbf8, #bbe1ea, #f7fbf8, #d2f4e6);
  background-size: 400% 400%;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  margin: 0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  animation: animated-gradient 25s ease infinite;
}

body.yoga-site img {
  display: block;
  max-width: 100%;
}

body.yoga-site a {
  color: inherit;
}

.site-shell {
  overflow: hidden;
}

.container {
  width: min(1160px, 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.section {
  padding-block: clamp(64px, 10vw, 118px);
}

.section--mid {
  background: var(--bg-mid);
}

.section--deep {
  background: var(--bg-deep);
}

.section-header {
  max-width: 760px;
  margin: 0 auto clamp(36px, 6vw, 70px);
  text-align: center;
}

.eyebrow,
.section-eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dim);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title,
.section-title {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.018em;
}

.hero-title {
  max-width: 840px;
  font-size: clamp(2.55rem, 6.2vw, 5rem);
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}

.hero-title em,
.section-title em {
  background: linear-gradient(100deg, #315f45 0%, #7cb27d 54%, #a9dbca 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--cream-muted);
  font-size: clamp(1rem, 2vw, 1.17rem);
}

.section-subtitle {
  margin: 16px auto 0;
  max-width: 660px;
  color: var(--cream-muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 26px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.btn--primary {
  background: linear-gradient(135deg, #315f45 0%, #7cb27d 100%);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(124, 178, 125, 0.28);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #244d37 0%, #6da16f 100%);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  border: 1.5px solid rgba(49, 95, 69, 0.2);
  background: transparent;
  color: var(--gold-dim);
}

.btn--outline:hover {
  border-color: rgba(124, 178, 125, 0.52);
  color: #244d37;
  background: rgba(210, 244, 230, 0.42);
}

.text-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.stick_it {
  position: sticky;
  top: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(49, 95, 69, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  backdrop-filter: blur(18px) saturate(140%);
  padding: 0 20px !important;
}


.logo {
  /* color: #14231d !important; */
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(1.65rem, 3vw, 2.05rem) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo::after {
  content: none !important;
}



.logo::after {
  background: linear-gradient(90deg, #7cb27d, #a9dbca) !important;
  height: 2px !important;
  animation: none !important;
}

.logo i { display: none !important; }

.desktop-nav {
  position: sticky;
  top: 76px;
  z-index: 1000;
  min-height: 54px;
  background: rgba(247, 251, 248, 0.9) !important;
  border-bottom: 1px solid rgba(49, 95, 69, 0.09);
  backdrop-filter: blur(16px) saturate(140%);
}

.desktop-nav ul {
  min-height: 54px;
  align-items: center;
  gap: 10px !important;
}

.desktop-nav ul li a {
  color: #52675c !important;
  padding: 10px 18px !important;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a[aria-current="page"] {
  background: rgba(210, 244, 230, 0.58) !important;
  color: #244d37 !important;
}

.hamburger {
  top: 15px !important;
  left: 16px !important;
  color: #315f45 !important;
  font-size: 2rem !important;
}

.side-nav {
  background: #ffffff !important;
  border-right: 1px solid rgba(49, 95, 69, 0.12);
  box-shadow: var(--shadow-pop);
}

.side-nav a,
.side-nav .closebtn {
  color: #14231d !important;
}

.side-nav a:hover {
  background: rgba(210, 244, 230, 0.58) !important;
  color: #244d37 !important;
}

.hero-modern {
  min-height: calc(100svh - 120px);
  display: grid;
  align-items: center; 
  position: relative;
  padding-block: clamp(40px, 8vw, 90px);
  background: transparent;
}

.hero-modern::after {
  content: "";
  position: absolute;
  inset: auto 0 60px;
  height: 90px;
  background:
    linear-gradient(90deg, transparent, rgba(124, 178, 125, 0.18), transparent),
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(169, 219, 202, 0.2) 82px, transparent 84px);
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 45C120 12 240 78 360 45S600 12 720 45s240 33 360 0 240-33 360 0' fill='none' stroke='black' stroke-width='18'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  opacity: 0.35;
  pointer-events: none;
}

.hero-grid {
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(38px, 6vw, 90px);
  position: relative;
  align-items: center;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: #52675c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip span {
  position: relative;
}

.trust-strip span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #7cb27d;
}

.microcopy {
  margin: 12px 0 0;
  color: var(--cream-muted);
  font-size: 0.82rem;
}

.hero-orb {
  position: relative;
  min-height: 430px;
  perspective: 1000px;
}

.lotus-3d {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(360px, 74vw);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(62deg) rotateZ(-12deg);
  animation: slowSpin 22s linear infinite;
}

.lotus-3d span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36%;
  height: 12%;
  border: 1px solid rgba(124, 178, 125, 0.42);
  border-radius: 100% 12px 100% 12px;
  background: linear-gradient(90deg, rgba(124, 178, 125, 0.18), rgba(169, 219, 202, 0.1));
  box-shadow: 0 0 34px rgba(124, 178, 125, 0.15);
  transform-origin: 0 50%;
}

.lotus-3d span:nth-child(1) { transform: rotate(0deg) translateX(34%); }
.lotus-3d span:nth-child(2) { transform: rotate(30deg) translateX(34%); }
.lotus-3d span:nth-child(3) { transform: rotate(60deg) translateX(34%); }
.lotus-3d span:nth-child(4) { transform: rotate(90deg) translateX(34%); }
.lotus-3d span:nth-child(5) { transform: rotate(120deg) translateX(34%); }
.lotus-3d span:nth-child(6) { transform: rotate(150deg) translateX(34%); }
.lotus-3d span:nth-child(7) { transform: rotate(180deg) translateX(34%); }
.lotus-3d span:nth-child(8) { transform: rotate(210deg) translateX(34%); }
.lotus-3d span:nth-child(9) { transform: rotate(240deg) translateX(34%); }
.lotus-3d span:nth-child(10) { transform: rotate(270deg) translateX(34%); }
.lotus-3d span:nth-child(11) { transform: rotate(300deg) translateX(34%); }
.lotus-3d span:nth-child(12) { transform: rotate(330deg) translateX(34%); }

.orb-card {
  position: absolute;
  right: 0;
  bottom: 22px;
  max-width: 290px;
  padding: 22px;
  border: 1px solid rgba(49, 95, 69, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.orb-card strong {
  display: block;
  margin-bottom: 8px;
  color: #315f45;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.orb-card p {
  margin: 0;
  color: var(--cream-muted);
  font-size: 0.92rem;
}

@keyframes slowSpin {
  from { transform: translate(-50%, -50%) rotateX(62deg) rotateZ(-12deg); }
  to { transform: translate(-50%, -50%) rotateX(62deg) rotateZ(348deg); }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.premium-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(49, 95, 69, 0.1);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.premium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 178, 125, 0.32);
  box-shadow: var(--shadow-card);
}

.premium-card--quiet {
  background: var(--bg-card-alt);
}

.card-number,
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid rgba(124, 178, 125, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(212, 244, 205, 0.58), rgba(210, 244, 230, 0.48));
  color: #315f45;
  font-weight: 800;
}

.premium-card h3 {
  margin: 0 0 10px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.18;
}

.premium-card p,
.premium-card li {
  color: var(--cream-muted);
  font-size: 0.95rem;
}

.premium-card p {
  margin: 0;
}

.premium-card ul,
.clean-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.premium-card li,
.clean-list li {
  position: relative;
  padding-left: 19px;
  margin-top: 9px;
}

.premium-card li::before,
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold-dim);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(49, 95, 69, 0.1);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-pop);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-frame::after {
  content: "B.Sc. Yoga | Shantikunj, Haridwar";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(124, 178, 125, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  color: #315f45;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.badge {
  padding: 7px 13px;
  border: 1px solid rgba(124, 178, 125, 0.26);
  border-radius: 999px;
  background: rgba(210, 244, 230, 0.55);
  color: #315f45;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.program-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(49, 95, 69, 0.1);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.program-table th,
.program-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(49, 95, 69, 0.09);
  text-align: left;
  vertical-align: top;
}

.program-table th {
  background: #f7fbf8;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.program-table td {
  color: var(--cream-muted);
  font-size: 0.92rem;
}

.program-table tr:last-child td {
  border-bottom: 0;
}

.highlight {
  color: var(--gold);
}

.quote-panel {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid rgba(49, 95, 69, 0.1);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(210, 244, 230, 0.65), transparent 45%),
    var(--bg-card);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.quote-panel blockquote {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-style: italic;
  line-height: 1.28;
}

.quote-panel p {
  margin: 18px 0 0;
  color: var(--cream-muted);
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(49, 95, 69, 0.1);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-card label {
  display: grid;
  gap: 6px;
  color: var(--cream-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid rgba(49, 95, 69, 0.14);
  border-radius: var(--radius-sm);
  background: var(--bg-card-alt);
  color: var(--cream);
  font: inherit;
  padding: 13px 14px;
}

.form-card textarea {
  min-height: 130px;
  resize: vertical;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: 3px solid rgba(169, 219, 202, 0.38);
  border-color: var(--gold);
}

.site-footer {
  border-top: 1px solid rgba(49, 95, 69, 0.12);
  background:
    radial-gradient(circle at 20% 0%, rgba(169, 219, 202, 0.2), transparent 30%),
    #14231d;
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 0.9fr;
  gap: 28px;
}

.site-footer h4 {
  margin: 0 0 12px;
  color: #ffffff;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #d2f4e6;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.78rem;
  text-align: center;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  display: grid;
  gap: 10px;
}

.floating-actions button {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(124, 178, 125, 0.28);
  border-radius: 999px;
  background: var(--bg-card);
  color: #315f45;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.floating-actions img {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  object-fit: cover;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.64);
}

.popup-overlay iframe {
  width: min(820px, 100%);
  height: min(720px, 86vh);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: var(--shadow-pop);
}

.popup-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1400;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(124, 178, 125, 0.28);
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible,
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }


@media (max-width: 1024px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-orb {
    min-height: 330px;
  }

  .card-grid,
  .card-grid--four,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }

  .stick_it {
    top: 0;
  }

  .hero-modern {
    min-height: auto;
    padding-top: 62px;
  }

  .btn-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-strip span:not(:last-child)::after {
    display: none;
  }

  .card-grid,
  .card-grid--four,
  .footer-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .program-table {
    min-width: 680px;
  }

  .table-scroll {
    overflow-x: auto;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.28rem;
  }

  .section-title {
    font-size: 1.84rem;
  }

  .hero-orb {
    min-height: 270px;
  }

  .orb-card {
    left: 0;
    right: 0;
    bottom: 0;
    margin-inline: auto;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Premium conversion polish: richer contrast, calmer motion, tighter mobile rhythm */
:root {
  --bg-deep: #fffdf7;
  --bg-mid: #f1f7f0;
  --bg-card: #ffffff;
  --bg-card-alt: #edf7ef;
  --cream: #122419;
  --cream-muted: #40564a;
  --gold: #c07a2d;
  --gold-light: #e3b36c;
  --gold-dim: #1f6a49;
  --mint-pale: #d9efd8;
  --mint-soft: #eaf7ec;
  --mist: #d8ece8;
  --shadow-card: 0 18px 48px rgba(18, 36, 25, 0.1);
  --shadow-pop: 0 30px 90px rgba(18, 36, 25, 0.18);
  --shadow-gold: 0 18px 46px rgba(192, 122, 45, 0.24);
}

body.yoga-site {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(241, 247, 240, 0.96)),
    repeating-linear-gradient(135deg, rgba(31, 106, 73, 0.035) 0 1px, transparent 1px 22px);
  animation: none;
}

body.yoga-site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(216, 236, 232, 0.55), transparent 36%),
    linear-gradient(285deg, rgba(227, 179, 108, 0.18), transparent 40%);
  background-size: 140% 140%;
  animation: tranquilWash 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes tranquilWash {
  from { background-position: 0% 20%, 100% 80%; }
  to { background-position: 80% 0%, 10% 90%; }
}

.stick_it,
.desktop-nav {
  box-shadow: 0 10px 30px rgba(18, 36, 25, 0.055);
}

.logo {
  color: var(--cream) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.desktop-nav ul li a {
  position: relative;
  color: #354c40 !important;
}

.desktop-nav ul li a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.desktop-nav ul li a:hover::after,
.desktop-nav ul li a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero-modern {
  min-height: min(760px, calc(100svh - 110px));
  padding-block: clamp(44px, 7vw, 82px);
}

.hero-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.72), rgba(255, 253, 247, 0.3)),
    repeating-linear-gradient(90deg, transparent 0 84px, rgba(31, 106, 73, 0.045) 85px 86px, transparent 87px 168px);
  mask-image: linear-gradient(to bottom, black 0%, black 74%, transparent 100%);
  pointer-events: none;
}

.hero-modern::after {
  background:
    linear-gradient(90deg, transparent, rgba(31, 106, 73, 0.24), rgba(192, 122, 45, 0.14), transparent),
    repeating-linear-gradient(90deg, transparent 0 84px, rgba(31, 106, 73, 0.14) 86px, transparent 88px);
  animation: breathRibbon 8s ease-in-out infinite;
}

@keyframes breathRibbon {
  0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.22; }
  50% { transform: translateY(-8px) scaleY(0.76); opacity: 0.42; }
}

.hero-title,
.section-title {
  color: var(--cream);
  letter-spacing: 0;
}

.hero-title em,
.section-title em {
  background: linear-gradient(100deg, #1f6a49 0%, #c07a2d 58%, #6f4a98 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead,
.section-subtitle,
.premium-card p,
.premium-card li,
.program-table td,
.orb-card p {
  color: var(--cream-muted);
}

.eyebrow,
.section-eyebrow {
  color: #7b4d1d;
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.34) 42%, transparent 74%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn--primary {
  background: linear-gradient(135deg, #1f6a49 0%, #2f8a63 54%, #c07a2d 100%);
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(31, 106, 73, 0.22), 0 4px 14px rgba(192, 122, 45, 0.18);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #18543a 0%, #287657 54%, #a76424 100%);
}

.btn--outline {
  border-color: rgba(31, 106, 73, 0.28);
  background: rgba(255, 255, 255, 0.52);
  color: #1f5d42;
}

.btn--outline:hover {
  border-color: rgba(192, 122, 45, 0.46);
  background: rgba(255, 253, 247, 0.9);
  color: #7b4d1d;
}

.trust-strip span,
.badge,
.credential-badge {
  color: #1f5d42;
}

.premium-card,
.form-card,
.quote-panel,
.program-table,
.portrait-frame,
.orb-card {
  border-color: rgba(31, 106, 73, 0.13);
}

.premium-card,
.form-card,
.quote-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 247, 0.96));
}

.premium-card {
  transform: translateY(0) rotateX(0);
  will-change: transform;
}

.premium-card:hover,
.form-card:hover,
.quote-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 122, 45, 0.24);
  box-shadow: 0 22px 58px rgba(18, 36, 25, 0.13);
}

.premium-card--quiet {
  background:
    linear-gradient(155deg, rgba(237, 247, 239, 0.94), rgba(255, 253, 247, 0.95));
}

.card-number,
.card-icon {
  border-color: rgba(192, 122, 45, 0.28);
  background: linear-gradient(180deg, rgba(227, 179, 108, 0.18), rgba(217, 239, 216, 0.7));
  color: #1f6a49;
  animation: softPulse 5.4s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 rgba(31, 106, 73, 0); }
  50% { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(31, 106, 73, 0.12); }
}

.lotus-3d span {
  border-color: rgba(31, 106, 73, 0.34);
  background: linear-gradient(90deg, rgba(31, 106, 73, 0.16), rgba(192, 122, 45, 0.1));
}

.orb-card {
  animation: floatCard 7s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.portrait-frame img {
  transition: transform 1.1s ease, filter 1.1s ease;
}

.portrait-frame:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.reveal {
  transform: translateY(22px) scale(0.985);
  transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.is-visible,
.reveal.active {
  transform: translateY(0) scale(1);
}

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

@media (max-width: 768px) {
  .container {
    padding-inline: 18px;
  }

  .hero-modern {
    min-height: auto;
    padding-block: 42px 48px;
  }

  .hero-title {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .section {
    padding-block: 48px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .premium-card,
  .form-card,
  .quote-panel {
    padding: 22px;
  }

  .trust-strip {
    gap: 8px;
  }

  .trust-strip span {
    padding: 7px 10px;
    border: 1px solid rgba(31, 106, 73, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
  }

  .floating-actions {
    transform: scale(0.92);
    transform-origin: right bottom;
  }
}

@media (max-width: 480px) {
  .hero-title,
  .section-title {
    overflow-wrap: anywhere;
  }

  .hero-orb {
    min-height: 245px;
  }

  .orb-card {
    max-width: 260px;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.yoga-site::before,
  .hero-modern::after,
  .card-number,
  .card-icon,
  .orb-card {
    animation: none !important;
  }
}

/* Light genuine wellness finish */
:root {
  --bg-deep: #fffefa;
  --bg-mid: #f3f8f2;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-alt: #edf6ef;
  --cream: #13261c;
  --cream-muted: #506457;
  --gold: #8f6f42;
  --gold-light: #d9bd83;
  --gold-dim: #2f7554;
  --mint-pale: #dff1dc;
  --mint-soft: #eef8ef;
  --mist: #e6f4f5;
  --shadow-card: 0 16px 42px rgba(37, 73, 53, 0.08);
  --shadow-pop: 0 26px 76px rgba(37, 73, 53, 0.14);
  --shadow-gold: 0 16px 42px rgba(47, 117, 84, 0.16);
}

body.yoga-site {
  background:
    linear-gradient(120deg, rgba(255, 254, 250, 0.98) 0%, rgba(243, 248, 242, 0.94) 46%, rgba(230, 244, 245, 0.9) 100%),
    repeating-linear-gradient(115deg, rgba(47, 117, 84, 0.034) 0 1px, transparent 1px 34px);
  position: relative;
  isolation: isolate;
}

body.yoga-site::before {
  background:
    linear-gradient(100deg, transparent 0%, rgba(223, 241, 220, 0.48) 22%, transparent 48%),
    linear-gradient(260deg, transparent 0%, rgba(246, 229, 220, 0.46) 30%, transparent 60%),
    linear-gradient(180deg, rgba(255, 254, 250, 0.5), rgba(230, 244, 245, 0.32));
  background-size: 180% 180%, 170% 170%, 100% 100%;
  animation: livingLight 22s ease-in-out infinite alternate;
}

body.yoga-site::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(47, 117, 84, 0.035) 89px 90px, transparent 91px 178px),
    repeating-linear-gradient(0deg, transparent 0 96px, rgba(143, 111, 66, 0.028) 97px 98px, transparent 99px 194px);
  opacity: 0.65;
  animation: peacefulGrid 28s linear infinite;
  pointer-events: none;
}

body.yoga-site::before {
  z-index: 0;
}

body.yoga-site > * {
  position: relative;
  z-index: 1;
}

@keyframes livingLight {
  from { background-position: 0% 35%, 100% 65%, center; }
  to { background-position: 90% 10%, 10% 90%, center; }
}

@keyframes peacefulGrid {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-44px, -32px, 0); }
}

.section--mid,
.section--deep {
  background: transparent;
}

.stick_it,
.desktop-nav {
  background: rgba(255, 254, 250, 0.86) !important;
  border-bottom-color: rgba(47, 117, 84, 0.1);
}

.hero-modern::before {
  background:
    linear-gradient(90deg, rgba(255, 254, 250, 0.78), rgba(255, 254, 250, 0.26)),
    repeating-linear-gradient(90deg, transparent 0 90px, rgba(47, 117, 84, 0.035) 91px 92px, transparent 93px 180px);
}

.hero-modern::after {
  background:
    linear-gradient(90deg, transparent, rgba(47, 117, 84, 0.16), rgba(143, 111, 66, 0.1), transparent),
    repeating-linear-gradient(90deg, transparent 0 84px, rgba(47, 117, 84, 0.1) 86px, transparent 88px);
}

.hero-title em,
.section-title em {
  background: linear-gradient(100deg, #2f7554 0%, #6c9f7b 48%, #8f6f42 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.eyebrow,
.section-eyebrow {
  color: #6d5a37;
}

.btn--primary {
  background: linear-gradient(135deg, #2f7554 0%, #6c9f7b 100%);
  box-shadow: 0 14px 32px rgba(47, 117, 84, 0.18);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #285f47 0%, #5c8d6f 100%);
}

.btn--outline {
  background: rgba(255, 254, 250, 0.72);
  border-color: rgba(47, 117, 84, 0.24);
  color: #2f7554;
}

.btn--outline:hover {
  background: rgba(238, 248, 239, 0.86);
  color: #285f47;
}

.premium-card,
.form-card,
.quote-panel,
.orb-card,
.program-table {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 254, 250, 0.86));
  border-color: rgba(47, 117, 84, 0.12);
  backdrop-filter: blur(10px);
}

.premium-card:hover,
.form-card:hover,
.quote-panel:hover {
  border-color: rgba(108, 159, 123, 0.34);
}

.card-number,
.card-icon {
  background: linear-gradient(180deg, rgba(223, 241, 220, 0.86), rgba(230, 244, 245, 0.6));
  border-color: rgba(47, 117, 84, 0.2);
  color: #2f7554;
}

.site-footer {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 22px),
    linear-gradient(150deg, #173123 0%, #2f7554 100%);
}

@media (prefers-reduced-motion: reduce) {
  body.yoga-site::before,
  body.yoga-site::after {
    animation: none !important;
  }
}

/* Stabilize layout after live background: never reposition page children globally */
body.yoga-site {
  background:
    linear-gradient(120deg, rgba(255, 254, 250, 0.98) 0%, rgba(243, 248, 242, 0.94) 46%, rgba(230, 244, 245, 0.9) 100%),
    repeating-linear-gradient(115deg, rgba(47, 117, 84, 0.034) 0 1px, transparent 1px 34px);
  background-size: 180% 180%, 100% 100%;
  animation: pageLightDrift 24s ease-in-out infinite alternate;
  isolation: auto;
}

body.yoga-site::before,
body.yoga-site::after {
  display: none !important;
}

body.yoga-site > * {
  position: static;
  z-index: auto;
}

.site-shell {
  position: relative;
  z-index: auto;
}

.stick_it {
  position: sticky !important;
  top: 0 !important;
  z-index: 1001 !important;
}

.desktop-nav {
  position: sticky !important;
  top: 76px !important;
  z-index: 1000 !important;
}

#overlay {
  position: fixed !important;
  z-index: 900 !important;
}

.side-nav {
  position: fixed !important;
  z-index: 1200 !important;
}

.floating-actions {
  position: fixed !important;
  z-index: 1100 !important;
}

.popup-overlay {
  position: fixed !important;
  z-index: 1300 !important;
}

.popup-close {
  position: fixed !important;
  z-index: 1400 !important;
}

.card-icon,
.pas__icon,
.popular-badge i,
.site-footer i {
  display: inline-grid;
  place-items: center;
  line-height: 1;
  font-style: normal;
}

.pas__icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(238, 248, 239, 0.92);
}

@keyframes pageLightDrift {
  from { background-position: 0% 40%, 0 0; }
  to { background-position: 100% 60%, 34px 22px; }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.yoga-site {
    animation: none !important;
  }
}

/* Shared footer polish: consistent, balanced, and readable on every page */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 22px),
    linear-gradient(150deg, #173123 0%, #255f45 58%, #2f7554 100%) !important;
  padding-block: clamp(42px, 6vw, 64px) 30px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(223, 241, 220, 0.12), transparent 46%),
    linear-gradient(290deg, rgba(230, 244, 245, 0.1), transparent 48%);
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(150px, 0.75fr) minmax(210px, 1fr) minmax(150px, 0.75fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.site-footer .logo {
  display: inline-block;
  margin: 0 0 14px;
  color: #fffefa !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(1.8rem, 3vw, 2.25rem) !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-shadow: none;
}

.site-footer .logo::after {
  content: "" !important;
  display: block;
  width: 54px;
  height: 2px !important;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dff1dc, rgba(217, 189, 131, 0.9)) !important;
}

.site-footer h4 {
  margin: 2px 0 14px;
  color: #fffefa;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 254, 250, 0.76);
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-footer p {
  max-width: 340px;
  margin: 0;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.site-footer a:hover {
  color: #fffefa;
}

.footer-bottom {
  margin-top: clamp(28px, 5vw, 42px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 254, 250, 0.62);
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-block: 38px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer p {
    max-width: none;
  }
}
