/* ==========================================================================
   Patidar Jeevan Sathi — Homepage styles
   Scoped under body.pjs-home to avoid leaking into other templates.
   ========================================================================== */

:root {
  --maroon: #7a1830;
  --maroon-dark: #560f22;
  --burgundy: #430817;
  --gold: #c9a24d;
  --gold-soft: #e3c875;
  --ivory: #fbf8f2;
  --white: #ffffff;
  --text: #2b2020;
  --muted: #746a67;
  --line: rgba(43, 32, 32, 0.1);
  --shadow-sm: 0 2px 10px rgba(43, 32, 32, 0.06);
  --shadow-md: 0 12px 32px rgba(67, 8, 23, 0.14);
  --shadow-lg: 0 24px 60px rgba(67, 8, 23, 0.22);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --header-h: 87px;
  --font-heading: "Playfair Display", "Georgia", serif;
  --font-body: "Poppins", Arial, sans-serif;
}

body.pjs-home {
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.pjs-home * {
  box-sizing: border-box;
}

body.pjs-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.pjs-home a {
  color: inherit;
  text-decoration: none;
}

body.pjs-home h1,
body.pjs-home h2,
body.pjs-home h3,
body.pjs-home h4 {
  font-family: var(--font-heading);
  color: var(--maroon-dark);
  line-height: 1.15;
  margin: 0;
}

body.pjs-home p {
  margin: 0;
}

body.pjs-home section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

body.pjs-home :focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.pjs-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.pjs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--maroon);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.pjs-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
}

.pjs-section-head {
  max-width: 640px;
  margin: 0 0 clamp(1.75rem, 3.5vw, 2.5rem);
}

.pjs-section-head.pjs-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pjs-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

body.pjs-home .pjs-section-title {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.pjs-section-copy {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.02rem);
}

/* small gold squiggle divider used under centered headings */
.pjs-divider {
  display: block;
  width: 90px;
  height: 14px;
  margin: 0.35rem auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='14' viewBox='0 0 90 14'%3E%3Cpath d='M2 7c8-9 14 9 22 0s14 9 22 0 14 9 22 0 14 9 22 0' stroke='%23C9A24D' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pjs-section-head.pjs-center .pjs-divider {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.pjs-section {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.pjs-section--tint {
  background: linear-gradient(180deg, var(--white), var(--ivory));
}

/* Buttons -------------------------------------------------------------- */

.pjs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

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

.pjs-btn-primary {
  background: var(--maroon);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.pjs-btn-primary:hover {
  background: var(--maroon-dark);
  color: var(--white);
}

.pjs-btn-gold {
  background: var(--gold);
  color: var(--burgundy);
}

.pjs-btn-gold:hover {
  background: var(--gold-soft);
  color: var(--burgundy);
}

.pjs-btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.pjs-btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.pjs-btn-ghost {
  background: transparent;
  border-color: var(--maroon);
  color: var(--maroon);
}

.pjs-btn-ghost:hover {
  background: var(--maroon);
  color: var(--white);
}

.pjs-btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.pjs-btn-block {
  width: 100%;
}

.pjs-btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Header ----------------------------------------------------------------- */

.pjs-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.pjs-header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.pjs-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.pjs-brand-mark {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: translateY(12px);
}

body.pjs-home .pjs-brand-mark img {
  width: 88px;
  height: 88px;
  max-height: 88px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.pjs-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 1.7rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.pjs-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.4rem 0;
  position: relative;
}

.pjs-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.pjs-nav a:hover::after,
.pjs-nav a:focus-visible::after,
.pjs-nav a.is-active::after {
  transform: scaleX(1);
}

.pjs-nav a:hover,
.pjs-nav a.is-active {
  color: var(--maroon);
  font-weight: 600;
}

.pjs-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.pjs-user-menu {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.pjs-user-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--maroon-dark);
  font-size: 0.9rem;
}

.pjs-user-chip .pjs-avatar-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

/* logged-in / logged-out visibility toggles, driven by body[data-auth] */
body.pjs-home[data-auth="in"] .pjs-guest-only {
  display: none !important;
}

body.pjs-home[data-auth="in"] .pjs-user-menu {
  display: flex !important;
}

body.pjs-home:not([data-auth="in"]) .pjs-member-only {
  display: none !important;
}

.pjs-hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pjs-hamburger span,
.pjs-hamburger span::before,
.pjs-hamburger span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--maroon-dark);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pjs-hamburger span::before {
  position: absolute;
  top: -6px;
}

.pjs-hamburger span::after {
  position: absolute;
  top: 6px;
}

.pjs-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
}

.pjs-mobile-nav a {
  padding: 0.7rem 0.25rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.pjs-mobile-nav .pjs-header-actions {
  margin-top: 0.75rem;
  flex-direction: column;
  align-items: stretch;
}

body.pjs-home.pjs-nav-open .pjs-mobile-nav {
  display: flex;
}

/* Hero --------------------------------------------------------------------- */

.pjs-hero {
  position: relative;
  min-height: clamp(360px, 44vh, 400px);
  display: flex;
  align-items: center;
  padding: clamp(1.1rem, 2.5vw, 1.5rem) 0;
  background-color: var(--maroon-dark);
  background-image: linear-gradient(90deg, rgba(18, 2, 6, 0.88) 0%, rgba(45, 5, 15, 0.72) 38%, rgba(86, 15, 34, 0.32) 65%, rgba(86, 15, 34, 0.05) 100%),
    url("../images/home/hero-wedding.jpg");
  background-size: cover;
  background-position: right center;
  color: var(--white);
  overflow: hidden;
}

.pjs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(201, 162, 77, 0.14), transparent 45%);
  pointer-events: none;
}

.pjs-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin-left: 0;
  margin-right: auto;
  padding-left: clamp(32px, 6.5vw, 96px);
  text-align: left;
}

.pjs-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.pjs-hero .pjs-hero-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.08;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-wrap: balance;
}

body.pjs-home .pjs-hero-subtitle {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  max-width: 480px;
  margin-bottom: 1rem;
}

/* Search panel */

.pjs-search-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(0.85rem, 2vw, 1.1rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
  color: var(--text);
  width: min(760px, calc(100vw - 2rem));
  max-width: none;
}

.pjs-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
  min-width: 0;
}

.pjs-field label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.pjs-field select,
.pjs-field input {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ivory);
}

.pjs-field select:focus,
.pjs-field input:focus {
  border-color: var(--gold);
  background: var(--white);
}

.pjs-age-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 150px;
}

.pjs-age-range input {
  width: 58px;
  min-width: 58px;
  flex: 0 0 58px;
  box-sizing: border-box;
  text-align: center;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  -moz-appearance: textfield;
}

.pjs-age-range input::-webkit-outer-spin-button,
.pjs-age-range input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pjs-age-range span {
  flex-shrink: 0;
  color: var(--muted);
  font-weight: 600;
}

.pjs-search-submit {
  height: 100%;
  border: 1px solid #ffffff;
  padding: 0.7rem 1.5rem;
}

.pjs-search-submit-heart {
  color: var(--gold);
  font-size: 0.7em;
  margin-left: 0.15rem;
}

@media (min-width: 1025px) {
  .pjs-search-panel {
    grid-template-columns: 128px 150px minmax(200px, 1fr) 180px;
  }

  .pjs-search-submit {
    width: 180px;
    height: 58px;
    padding: 0;
  }
}

.pjs-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.pjs-hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pjs-hero-proof i {
  color: var(--gold);
}

/* Statistics ----------------------------------------------------------- */

.pjs-stats {
  background: var(--maroon);
}

.pjs-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
}

.pjs-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.pjs-stat:last-child {
  border-right: none;
}

.pjs-stat-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.pjs-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.pjs-stat-label {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 500;
}

/* How it works ----------------------------------------------------------- */

.pjs-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pjs-step-card {
  text-align: center;
  position: relative;
  padding: 0 0.5rem;
}

.pjs-step-card:not(:last-child)::after {
  content: "\f285";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 34px;
  right: -1.1rem;
  color: var(--gold);
  font-size: 1.3rem;
}

.pjs-step-icon-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.1rem;
}

.pjs-step-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--gold-soft);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.pjs-step-number {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

body.pjs-home .pjs-step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.pjs-step-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Potential matches -------------------------------------------------------- */

.pjs-profile-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}

.pjs-profile-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pjs-profile-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pjs-profile-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #f1e4d8, #e7d3c1);
}

body.pjs-home .pjs-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pjs-verified-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--maroon);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.pjs-fav-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.94);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pjs-fav-btn:hover {
  transform: scale(1.08);
}

.pjs-fav-btn.is-active {
  background: var(--maroon);
  color: var(--white);
}

.pjs-profile-body {
  padding: 0.85rem 0.9rem 1.05rem;
}

.pjs-profile-name {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--maroon-dark);
  margin-bottom: 0.25rem;
}

.pjs-profile-name i {
  color: #1f9d55;
  font-size: 0.82rem;
}

.pjs-profile-location {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pjs-profile-occupation {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pjs-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.pjs-profile-meta span:not(:last-child)::after {
  content: "\00b7";
  margin-left: 0.5rem;
  color: var(--gold);
}

.pjs-profile-view {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--maroon);
  background: none;
  border: none;
  padding: 0.5rem 0 0;
  font-family: inherit;
  cursor: pointer;
}

.pjs-profile-view:hover {
  color: var(--maroon-dark);
}

.pjs-empty-note {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 1rem;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
}

/* Why choose us ----------------------------------------------------------- */

.pjs-why-split {
  display: grid;
  grid-template-columns: 0.85fr 2.15fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.pjs-why-heading h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.pjs-value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.pjs-value-card {
  text-align: center;
  padding: 1.35rem 0.9rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
}

.pjs-value-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: 1px solid var(--gold-soft);
}

body.pjs-home .pjs-value-card h3 {
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.pjs-value-card p {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Community --------------------------------------------------------------- */

.pjs-community-section {
  background-color: var(--ivory);
  background-image: radial-gradient(rgba(201, 162, 77, 0.16) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
}

.pjs-community {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.pjs-community-media {
  border-radius: var(--radius-lg);
  min-height: 340px;
  background-color: var(--maroon-dark);
  background-image: linear-gradient(160deg, rgba(122, 24, 48, 0.12), rgba(43, 5, 16, 0.28)), url("../images/home/community.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}

.pjs-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.35rem 0 1.6rem;
}

.pjs-tag {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gold-soft);
  color: var(--maroon-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Success stories --------------------------------------------------------- */

.pjs-story-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pjs-story-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 1.25rem) / 3);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.pjs-story-track::-webkit-scrollbar {
  display: none;
}

.pjs-story-card {
  scroll-snap-align: start;
  display: flex;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.pjs-story-photo-block {
  flex-shrink: 0;
  width: 96px;
}

.pjs-story-photos {
  display: flex;
}

body.pjs-home .pjs-story-photos img,
.pjs-story-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.pjs-story-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--maroon);
  color: var(--gold-soft);
  font-weight: 800;
  font-size: 0.85rem;
}

.pjs-story-photos span + span {
  margin-left: -16px;
}

.pjs-story-body {
  min-width: 0;
}

body.pjs-home .pjs-story-quote {
  color: var(--text);
  font-size: 0.88rem;
  font-style: italic;
  margin-bottom: 0.7rem;
}

.pjs-story-names {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--maroon-dark);
}

.pjs-story-year {
  font-size: 0.78rem;
  color: var(--muted);
}

.pjs-story-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pjs-story-arrow:hover {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}

.pjs-story-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.pjs-story-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  padding: 0;
  cursor: pointer;
}

.pjs-story-dots button.is-active {
  background: var(--maroon);
  width: 22px;
  border-radius: 999px;
  transition: width 0.2s ease;
}

/* Mobile app --------------------------------------------------------------- */

.pjs-app {
  background: linear-gradient(120deg, var(--maroon-dark), var(--burgundy));
  color: var(--white);
  padding: clamp(1.5rem, 3vw, 2.1rem) 0;
}

.pjs-app .pjs-eyebrow {
  color: var(--white);
}

.pjs-app-inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.pjs-phone-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(190px, 20vw, 240px);
}

.pjs-phone {
  position: absolute;
  width: min(120px, 34%);
  aspect-ratio: 9 / 18.5;
  border-radius: 16px;
  background: linear-gradient(160deg, #fff, #f4ece1);
  border: 4px solid #2b0510;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  color: var(--text);
}

.pjs-phone-side {
  width: min(88px, 26%);
  opacity: 0.75;
  transform: scale(0.88);
}

.pjs-phone-side.pjs-phone-left {
  left: 10%;
  transform: rotate(-8deg) scale(0.82);
}

.pjs-phone-side.pjs-phone-right {
  right: 10%;
  transform: rotate(8deg) scale(0.82);
}

.pjs-phone-main {
  z-index: 1;
}

.pjs-phone-card {
  background: var(--ivory);
  border-radius: var(--radius-sm);
  padding: 0.45rem;
  border: 1px solid var(--line);
}

.pjs-phone-photo {
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(160deg, #e7d3c1, #d9b98f);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 1.15rem;
}

body.pjs-home .pjs-phone-card h4 {
  font-size: 0.62rem;
  color: var(--maroon-dark);
  margin-bottom: 0.1rem;
}

.pjs-phone-card p {
  font-size: 0.5rem;
  line-height: 1.25;
  color: var(--muted);
}

body.pjs-home .pjs-app .pjs-phone-card h4,
body.pjs-home .pjs-app .pjs-phone-card p {
  color: #000000;
}

body.pjs-home .pjs-app h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 0.4rem;
}

.pjs-app p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1rem;
}

.pjs-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.pjs-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.55rem 1rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.pjs-store-btn i {
  font-size: 1.4rem;
  color: var(--gold-soft);
}

.pjs-store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.pjs-store-btn-text small {
  font-size: 0.62rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pjs-store-btn-text strong {
  font-size: 0.86rem;
  font-weight: 700;
}

.pjs-store-btn.is-placeholder {
  opacity: 0.7;
  cursor: default;
}

/* Footer ------------------------------------------------------------------ */

.pjs-footer {
  background: var(--burgundy);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
}

.pjs-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 1.75rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.pjs-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.pjs-footer-brand .pjs-brand-mark {
  width: 70px;
  height: 34px;
}

body.pjs-home .pjs-footer-brand .pjs-brand-mark img {
  width: 70px;
  height: 34px;
  max-height: 34px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.pjs-footer-copy {
  font-size: 0.87rem;
  max-width: 300px;
  margin-bottom: 1rem;
}

body.pjs-home .pjs-footer-title {
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.pjs-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  /* gap: 0.6rem; */
}

.pjs-footer-links a {
  font-size: 0.87rem;
}

.pjs-footer-links a:hover {
  color: var(--gold);
}

.pjs-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pjs-footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.pjs-footer-contact i {
  color: var(--gold);
}

.pjs-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.83rem;
}

.pjs-socials {
  display: flex;
  gap: 0.6rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pjs-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pjs-socials a:hover {
  background: var(--gold);
  color: var(--burgundy);
}

/* Modals -------------------------------------------------------------- */

.pjs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38, 20, 26, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 2000;
}

.pjs-modal-overlay.is-open {
  display: flex;
}

.pjs-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.pjs-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--ivory);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

.pjs-modal h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}


.pjs-prompt-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pjs-prompt-store-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pjs-prompt-store-row .pjs-store-btn {
  justify-content: center;
  min-width: 0;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.pjs-whatsapp-btn {
  background: var(--maroon-dark);
  border-color: var(--gold);
  color: #fff !important;
  min-height: 48px;
}

.pjs-whatsapp-btn:hover {
  background: var(--maroon);
  color: var(--white);
}
body.pjs-home .pjs-modal-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pjs-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.pjs-form-row label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.pjs-form-row input,
.pjs-form-row select {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--ivory);
}

.pjs-form-row input:focus,
.pjs-form-row select:focus {
  border-color: var(--gold);
  background: var(--white);
}

.pjs-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.pjs-phone-input {
  display: flex;
  gap: 0.5rem;
}

.pjs-phone-input span {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  font-weight: 700;
  color: var(--muted);
}

.pjs-form-alert {
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.pjs-form-alert.is-visible {
  display: block;
}

.pjs-form-alert.is-error {
  background: #fbe6e9;
  color: #8a1f2c;
}

.pjs-form-alert.is-success {
  background: #e7f3ea;
  color: #1f6e3c;
}

body.pjs-home .pjs-modal-switch {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1.25rem;
}

.pjs-modal-switch button {
  background: none;
  border: none;
  color: var(--maroon);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.pjs-otp-inputs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.pjs-otp-inputs input {
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.75rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ivory);
}

.pjs-resend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.pjs-resend-row button {
  background: none;
  border: none;
  color: var(--maroon);
  font-weight: 700;
  cursor: pointer;
}

.pjs-resend-row button[disabled] {
  color: var(--muted);
  cursor: not-allowed;
}

/* Toast -------------------------------------------------------------- */

.pjs-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--maroon-dark);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pjs-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Reduced motion --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  body.pjs-home * {
    transition: none !important;
  }
}

/* ==========================================================================
   Responsive breakpoints
   ========================================================================== */

@media (max-width: 1280px) {
  .pjs-profile-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1200px) {
  .pjs-value-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pjs-why-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .pjs-nav,
  .pjs-header-actions {
    display: none;
  }

  .pjs-hamburger {
    display: flex;
  }

  .pjs-search-panel {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 100%;
  }

  .pjs-search-submit {
    grid-column: 1 / -1;
  }

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

  .pjs-community,
  .pjs-app-inner {
    grid-template-columns: 1fr;
  }

  .pjs-community-media {
    min-height: 260px;
    order: -1;
  }

  .pjs-phone-stack {
    margin-bottom: 1.5rem;
  }

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

  .pjs-step-card:not(:last-child)::after {
    display: none;
  }

  .pjs-story-track {
    grid-auto-columns: calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .pjs-section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .pjs-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding-bottom: 1.1rem;
  }

  .pjs-steps {
    grid-template-columns: 1fr;
  }

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

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

  .pjs-story-track {
    grid-auto-columns: 100%;
  }

  .pjs-story-card {
    flex-direction: column;
  }

  .pjs-story-photo-block {
    width: auto;
  }

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

@media (max-width: 480px) {
  .pjs-profile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }

  .pjs-search-panel {
    grid-template-columns: 1fr;
  }

  .pjs-value-grid {
    grid-template-columns: 1fr;
  }

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


  .pjs-prompt-store-row {
    gap: 0.5rem;
  }

  .pjs-prompt-store-row .pjs-store-btn {
    padding: 0.55rem 0.5rem;
  }

  .pjs-prompt-store-row .pjs-store-btn-text strong {
    font-size: 0.78rem;
  }
  .pjs-otp-inputs {
    gap: 0.4rem;
  }

  .pjs-phone-side {
    display: none;
  }
}


