:root {
  --maroon: #5b1220;
  --saffron: #d97706;
  --gold: #f5b84b;
  --teal: #0f766e;
  --ink: #20181d;
  --muted: #665b60;
  --cream: #fff8ee;
  --paper: #ffffff;
  --line: rgba(91, 18, 32, 0.16);
  --shadow: 0 24px 70px rgba(32, 24, 29, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(91, 18, 32, 0.12);
  background: rgba(255, 248, 238, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(32, 24, 29, 0.08);
}

.header-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 7px clamp(18px, 4vw, 60px);
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(90deg, var(--maroon), #7f1d2d, var(--teal));
  font-size: 0.78rem;
  font-weight: 800;
}

.header-main {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 13px clamp(18px, 4vw, 60px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(135deg, var(--maroon), var(--teal));
  box-shadow: 0 12px 28px rgba(91, 18, 32, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand > span:last-child {
  min-width: 0;
}

.brand strong {
  max-width: 32ch;
  font-size: 1rem;
  line-height: 1.18;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(91, 18, 32, 0.1);
  border-radius: 8px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.68);
}

.main-nav a,
.header-action {
  border-radius: 8px;
  padding: 10px 12px;
  color: #33252b;
  font-size: 0.93rem;
}

.main-nav a:hover,
.header-action:hover {
  background: rgba(91, 18, 32, 0.08);
}

.header-action {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  font-weight: 900;
}

.header-action span {
  color: var(--teal);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-action.primary {
  color: #311009;
  border-color: rgba(245, 184, 75, 0.46);
  background: linear-gradient(135deg, #ffd27a, var(--gold));
  box-shadow: 0 12px 26px rgba(217, 119, 6, 0.18);
}

.header-action.whatsapp {
  color: #ffffff;
  border-color: rgba(18, 140, 126, 0.34);
  background: #128c7e;
}

.header-action.whatsapp span {
  color: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 118px));
  overflow: hidden;
  color: #ffffff;
  background: #271217;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/spiritual-consultation-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(30, 12, 18, 0.94) 0%, rgba(42, 16, 20, 0.78) 38%, rgba(42, 16, 20, 0.18) 72%),
    linear-gradient(180deg, rgba(16, 11, 12, 0.28), rgba(16, 11, 12, 0.16));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 36px));
  align-self: center;
  margin-left: clamp(18px, 7vw, 90px);
  padding: 44px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd58c;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1;
}

h2 {
  margin-bottom: 14px;
  color: var(--maroon);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-hindi {
  max-width: 610px;
  margin: -12px 0 28px;
  color: #ffe3a6;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.hero-actions,
.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(32, 24, 29, 0.18);
}

.btn-primary {
  color: #301008;
  background: linear-gradient(135deg, #ffd27a, var(--gold));
}

.btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.13);
}

.btn-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.32);
  font-size: 0.92rem;
  line-height: 1;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 36px));
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--line);
}

.trust-strip div {
  padding: 22px clamp(14px, 3vw, 26px);
  background: #ffffff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--maroon);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.language-band {
  padding: 28px 18px 0;
}

.language-band div {
  width: min(1120px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  padding: 18px clamp(18px, 4vw, 32px);
  background: rgba(255, 255, 255, 0.72);
}

.language-band p {
  margin-bottom: 6px;
  color: var(--maroon);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.45;
}

.language-band span {
  color: var(--muted);
}

.section {
  padding: clamp(62px, 9vw, 112px) clamp(18px, 4vw, 60px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(260px, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  width: min(1120px, 100%);
  margin: 0 auto 34px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.section-heading.compact {
  display: block;
  text-align: center;
  margin-bottom: 36px;
}

.service-grid,
.package-grid,
.faq-list,
.seo-link-grid,
.credential-grid,
.payment-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

.service-card,
.package-card,
.booking-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 42px rgba(91, 18, 32, 0.08);
}

.service-card {
  display: flex;
  min-height: 286px;
  flex-direction: column;
  padding: 24px;
}

.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--maroon), var(--teal));
  font-weight: 900;
}

.service-card p,
.package-card li,
.proof-item p,
.process-step p,
.booking-copy p,
.faq-list p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.text-button {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  border: 0;
  border-bottom: 2px solid rgba(15, 118, 110, 0.28);
  padding: 0 0 5px;
  color: var(--teal);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.text-button:hover {
  border-color: var(--teal);
}

.seo-section {
  padding-top: 0;
}

.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.seo-link-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  border: 1px solid rgba(91, 18, 32, 0.16);
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--maroon);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(91, 18, 32, 0.06);
  font-weight: 900;
}

.seo-link-grid a::after {
  content: ">";
  color: var(--teal);
}

.process-section {
  background:
    linear-gradient(90deg, rgba(91, 18, 32, 0.08), rgba(15, 118, 110, 0.08)),
    #ffffff;
}

.split-layout,
.booking-section {
  display: grid;
  grid-template-columns: minmax(270px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: center;
}

.process-copy p,
.booking-copy p {
  max-width: 580px;
}

.inline-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--maroon);
  font-weight: 900;
  border-bottom: 2px solid rgba(91, 18, 32, 0.22);
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  background: #ffffff;
}

.process-step span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--teal);
  font-weight: 900;
}

.packages-section {
  background: var(--cream);
}

.package-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.package-card {
  padding: 24px;
}

.featured-package {
  color: #ffffff;
  background: linear-gradient(145deg, var(--maroon), #842234 58%, #1f625d);
}

.featured-package h3,
.featured-package .price,
.featured-package li,
.featured-package .package-kicker {
  color: #ffffff;
}

.package-kicker {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  margin-bottom: 18px;
  color: var(--maroon);
  font-size: 1.8rem;
  font-weight: 900;
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 19px;
}

.package-action {
  width: 100%;
}

.package-card .btn-secondary {
  color: var(--maroon);
  border-color: var(--line);
  background: rgba(91, 18, 32, 0.06);
}

.proof-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding-top: 0;
}

.proof-item {
  border-left: 4px solid var(--teal);
  padding: 4px 24px 6px;
}

.credentials-section {
  background: #ffffff;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.credential-grid div,
.payment-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fffdf9;
}

.credential-grid p,
.payment-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.payment-section {
  background:
    linear-gradient(90deg, rgba(91, 18, 32, 0.08), rgba(15, 118, 110, 0.08)),
    var(--cream);
}

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

.stone-preview-section,
.stone-catalog {
  background: #ffffff;
}

.stone-preview-grid,
.stone-product-grid,
.assurance-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.stone-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stone-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stone-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.78), rgba(255, 255, 255, 0.95)),
    #ffffff;
  box-shadow: 0 12px 32px rgba(91, 18, 32, 0.08);
}

.stone-card p {
  color: var(--muted);
  line-height: 1.65;
}

.stone-swatch {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow:
    inset -10px -10px 18px rgba(0, 0, 0, 0.22),
    inset 8px 8px 14px rgba(255, 255, 255, 0.42),
    0 12px 24px rgba(32, 24, 29, 0.18);
}

.ruby {
  background: radial-gradient(circle at 32% 28%, #ff7b8e, #be123c 48%, #5b0b18);
}

.pearl {
  background: radial-gradient(circle at 32% 28%, #ffffff, #f1ece0 48%, #b9ad9a);
}

.coral {
  background: radial-gradient(circle at 32% 28%, #ff9a7a, #e54835 48%, #8f1f17);
}

.emerald {
  background: radial-gradient(circle at 32% 28%, #70f3b2, #059669 48%, #064e3b);
}

.yellow-sapphire {
  background: radial-gradient(circle at 32% 28%, #fff3a1, #f5b84b 48%, #b45309);
}

.diamond {
  background: radial-gradient(circle at 32% 28%, #ffffff, #cdeafe 48%, #7c9db7);
}

.blue-sapphire {
  background: radial-gradient(circle at 32% 28%, #75a7ff, #1d4ed8 48%, #172554);
}

.hessonite {
  background: radial-gradient(circle at 32% 28%, #ffbd72, #b45309 48%, #6b2a08);
}

.cats-eye {
  background:
    linear-gradient(90deg, transparent 42%, rgba(255, 255, 255, 0.82) 49%, transparent 56%),
    radial-gradient(circle at 32% 28%, #d8f999, #6b8e23 48%, #2f4f1f);
}

.center-action {
  display: flex;
  justify-content: center;
  width: min(1120px, 100%);
  margin: 24px auto 0;
}

.shop-hero {
  background:
    linear-gradient(90deg, rgba(32, 15, 20, 0.94), rgba(15, 118, 110, 0.72)),
    url("assets/spiritual-consultation-hero.png") center / cover;
}

.shop-assurance {
  padding-top: 34px;
  padding-bottom: 0;
  background: #ffffff;
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.assurance-grid div {
  padding: 20px;
  background: #fffdf9;
}

.assurance-grid strong,
.assurance-grid span {
  display: block;
}

.assurance-grid strong {
  color: var(--maroon);
  font-size: 1.25rem;
}

.assurance-grid span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.booking-section {
  align-items: start;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.contact-lines {
  margin-top: 24px;
}

.contact-lines a {
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--maroon);
  background: rgba(91, 18, 32, 0.07);
  font-weight: 800;
}

.booking-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--maroon);
  font-weight: 850;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.checkbox-line input {
  width: auto;
  margin-top: 3px;
}

.checkbox-line a {
  color: var(--teal);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(91, 18, 32, 0.2);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf9;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

textarea {
  resize: vertical;
}

.full-span {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.faq-section {
  background: linear-gradient(180deg, #ffffff, var(--cream));
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: #ffffff;
}

summary {
  color: var(--maroon);
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: #128c7e;
  box-shadow: 0 14px 34px rgba(18, 140, 126, 0.35);
  font-weight: 900;
}

.site-footer {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.24), transparent 42%),
    #211318;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(24px, 5vw, 58px);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 46px clamp(18px, 4vw, 60px) 30px;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-brand strong {
  max-width: 34ch;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.12;
}

.footer-brand p,
.footer-column p,
.footer-bottom p,
.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badges span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  color: #ffe2a6;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2,
.footer-column h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 0.98rem;
}

.footer-column a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  font-weight: 750;
}

.footer-column a:hover {
  color: #ffd58c;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-links a:hover {
  color: #ffd58c;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px clamp(18px, 4vw, 60px) 28px;
}

.footer-bottom a {
  color: #ffd58c;
  font-weight: 900;
}

.about-trust-section {
  background: #ffffff;
}

.about-panel,
.policy-layout,
.buy-flow-grid,
.quote-grid,
.legal-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 5vw, 42px);
  background:
    linear-gradient(135deg, rgba(91, 18, 32, 0.07), rgba(15, 118, 110, 0.08)),
    #fffdf9;
}

.about-panel p,
.policy-content p,
.policy-content li,
.buy-flow-grid p,
.quote-grid p,
.legal-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.truth-list,
.policy-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.truth-list li,
.policy-list li {
  border-left: 4px solid var(--teal);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  background: #ffffff;
}

.buy-flow-grid,
.quote-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.buy-flow-grid article,
.quote-grid article,
.legal-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fffdf9;
}

.quote-chip {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  background: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.policy-main {
  background: linear-gradient(180deg, #ffffff, var(--cream));
}

.policy-hero {
  padding: clamp(48px, 7vw, 82px) clamp(18px, 4vw, 60px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(32, 15, 20, 0.96), rgba(91, 18, 32, 0.82), rgba(15, 118, 110, 0.62)),
    url("assets/spiritual-consultation-hero.png") center / cover;
}

.policy-hero-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.policy-hero h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.policy-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.7;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  padding: clamp(48px, 7vw, 82px) 18px;
}

.policy-nav {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.policy-nav a {
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--maroon);
  font-weight: 850;
}

.policy-nav a:hover,
.policy-nav a[aria-current="page"] {
  background: rgba(15, 118, 110, 0.1);
}

.policy-content {
  display: grid;
  gap: 18px;
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 30px);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(91, 18, 32, 0.06);
}

.policy-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.policy-card h3 {
  margin-top: 18px;
}

.policy-card ul,
.policy-card ol {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.notice-box {
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  padding: 16px;
  color: var(--maroon);
  background: rgba(15, 118, 110, 0.08);
  font-weight: 800;
  line-height: 1.6;
}

.portal-main {
  background:
    linear-gradient(180deg, #ffffff, var(--cream));
}

.portal-hero {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 4vw, 60px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(32, 15, 20, 0.96), rgba(91, 18, 32, 0.82), rgba(15, 118, 110, 0.64)),
    url("assets/spiritual-consultation-hero.png") center / cover;
}

.portal-hero-inner,
.portal-shell,
.portal-status-band {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.portal-hero h1 {
  max-width: 780px;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
}

.portal-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.7;
}

.portal-status-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: -26px;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.portal-status-band div {
  padding: 18px;
  background: #ffffff;
}

.portal-status-band strong,
.portal-status-band span {
  display: block;
}

.portal-status-band strong {
  color: var(--maroon);
  font-size: 1rem;
}

.portal-status-band span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.portal-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: start;
  padding: clamp(48px, 7vw, 86px) 18px;
}

.portal-card,
.portal-form,
.booking-ticket,
.status-panel,
.admin-toolbar,
.admin-booking-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(91, 18, 32, 0.08);
}

.portal-card,
.portal-form,
.booking-ticket,
.status-panel,
.admin-toolbar,
.admin-booking-list article {
  padding: clamp(20px, 4vw, 30px);
}

.portal-card p,
.portal-card li,
.booking-ticket p,
.status-panel p,
.admin-booking-list p {
  color: var(--muted);
  line-height: 1.65;
}

.portal-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.portal-list li {
  border-left: 4px solid var(--teal);
  padding: 10px 12px;
  border-radius: 0 8px 8px 0;
  background: #fffdf9;
}

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

.portal-form h2,
.portal-form .form-note {
  grid-column: 1 / -1;
}

.full-span {
  grid-column: 1 / -1;
}

.booking-ticket {
  display: none;
  grid-column: 1 / -1;
  border-color: rgba(15, 118, 110, 0.28);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(245, 184, 75, 0.12)), #ffffff;
}

.booking-ticket.is-visible {
  display: block;
}

.sync-note {
  border-left: 4px solid var(--teal);
  padding-left: 12px;
  color: var(--maroon);
  font-weight: 800;
}

.ticket-id {
  display: inline-flex;
  margin: 6px 0 14px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: var(--teal);
  font-weight: 900;
}

.ticket-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.status-lookup {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
}

.status-panel {
  display: none;
  grid-column: 1 / -1;
}

.status-panel.is-visible {
  display: block;
}

.status-timeline {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.status-timeline li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}

.status-dot {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(91, 18, 32, 0.08);
  font-weight: 900;
}

.status-timeline li.is-complete .status-dot,
.status-timeline li.is-current .status-dot {
  color: #ffffff;
  background: var(--teal);
}

.status-timeline strong {
  color: var(--maroon);
}

.status-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.status-meta-grid div {
  border: 1px solid rgba(91, 18, 32, 0.12);
  border-radius: 8px;
  padding: 12px;
  background: #fffdf9;
}

.status-meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-meta-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
}

.status-meta-grid a {
  color: var(--teal);
}

.auth-layout {
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.85fr);
}

.auth-form {
  align-self: start;
}

.auth-button-row,
.cloud-admin-fields {
  display: grid;
  gap: 10px;
}

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

.account-section {
  padding-top: 18px;
  background: #ffffff;
}

.mini-booking-list {
  display: grid;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  gap: 12px;
}

.mini-booking-list article {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fffdf9;
  box-shadow: 0 12px 30px rgba(91, 18, 32, 0.06);
}

.mini-booking-list h3 {
  margin-bottom: 4px;
  color: var(--maroon);
}

.mini-booking-list p {
  margin: 0;
  color: var(--muted);
}

.is-hidden {
  display: none !important;
}

.admin-layout {
  grid-template-columns: minmax(280px, 0.45fr) minmax(340px, 1.55fr);
}

.admin-toolbar {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 14px;
}

.admin-booking-list {
  display: grid;
  gap: 14px;
}

.admin-booking-list article {
  display: grid;
  gap: 12px;
}

.admin-booking-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.admin-booking-head h3 {
  margin-bottom: 4px;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 10px;
  color: #ffffff;
  background: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
}

.admin-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-main {
  background: var(--cream);
}

.detail-hero {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 60px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(32, 15, 20, 0.95), rgba(91, 18, 32, 0.82)),
    url("assets/spiritual-consultation-hero.png") center / cover;
}

.detail-hero-inner,
.detail-section,
.cta-panel {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.detail-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.detail-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  line-height: 1.65;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 24px;
  color: #ffd58c;
  font-weight: 900;
}

.detail-section {
  padding: clamp(46px, 7vw, 76px) 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(300px, 1.12fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.detail-copy p,
.detail-list li {
  color: var(--muted);
  line-height: 1.7;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

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

.detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(91, 18, 32, 0.06);
}

.detail-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cta-section {
  padding: 0 18px clamp(58px, 8vw, 96px);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  border-radius: 8px;
  padding: clamp(24px, 4vw, 38px);
  color: #ffffff;
  background: linear-gradient(135deg, var(--maroon), var(--teal));
}

.cta-panel h2 {
  color: #ffffff;
}

.cta-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .header-main {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    order: 3;
    grid-column: 1 / -1;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(30, 12, 18, 0.94) 0%, rgba(42, 16, 20, 0.76) 56%, rgba(42, 16, 20, 0.2)),
      linear-gradient(180deg, rgba(16, 11, 12, 0.18), rgba(16, 11, 12, 0.18));
  }

  .section-heading,
  .split-layout,
  .booking-section,
  .detail-grid,
  .cta-panel,
  .portal-shell,
  .auth-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .package-grid,
  .proof-section,
  .seo-link-grid,
  .credential-grid,
  .payment-grid,
  .stone-preview-grid,
  .stone-product-grid,
  .assurance-grid,
  .about-panel,
  .policy-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .buy-flow-grid,
  .quote-grid,
  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .status-lookup,
  .admin-edit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-toolbar {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-header {
    overflow: hidden;
  }

  .header-topline {
    display: grid;
    gap: 2px;
    padding: 6px 14px;
    font-size: 0.72rem;
  }

  .header-topline span:first-child {
    display: none;
  }

  .header-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 9px 14px 10px;
    gap: 8px;
  }

  .brand {
    flex: 1 1 100%;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    flex: 1 0 100%;
    min-width: 0;
    max-width: 100%;
    gap: 3px;
    padding: 3px;
  }

  .main-nav a {
    padding: 8px 9px;
    font-size: 0.82rem;
  }

  .brand small,
  .header-action strong,
  .header-action.primary span {
    display: none;
  }

  .header-action span {
    display: inline;
  }

  .brand strong {
    max-width: calc(100vw - 90px);
    font-size: 0.84rem;
  }

  .header-action {
    min-width: 54px;
    min-height: 38px;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .header-actions {
    order: 2;
    display: grid;
    flex: 1 1 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .hero {
    min-height: 74svh;
  }

  .hero-content {
    width: min(100% - 28px, 560px);
    margin-left: 14px;
    padding: 32px 0;
  }

  h1 {
    font-size: clamp(2.35rem, 15vw, 4rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .hero-actions .btn,
  .booking-panel .btn {
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .package-grid,
  .proof-section,
  .seo-link-grid,
  .credential-grid,
  .payment-grid,
  .stone-preview-grid,
  .stone-product-grid,
  .assurance-grid,
  .about-panel,
  .buy-flow-grid,
  .quote-grid,
  .legal-grid,
  .policy-layout,
  .booking-panel,
  .portal-form,
  .portal-status-band,
  .status-meta-grid,
  .status-lookup,
  .auth-button-row,
  .admin-edit-grid {
    grid-template-columns: 1fr;
  }

  .mini-booking-list article {
    display: grid;
  }

  .detail-card-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: -18px;
  }

  .section {
    padding: 54px 14px;
  }

  .service-card {
    min-height: auto;
  }

  .process-step {
    grid-template-columns: 44px 1fr;
    padding: 16px;
  }

  .process-step span {
    width: 40px;
    height: 40px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
    padding: 34px 14px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column a {
    font-size: 0.88rem;
  }

  .footer-bottom {
    display: grid;
    padding: 16px 14px 86px;
  }

  .policy-nav {
    position: static;
  }

  .detail-hero {
    overflow: hidden;
    padding: 42px 14px;
  }

  .portal-hero {
    padding: 42px 14px;
  }

  .portal-shell {
    padding: 44px 14px;
  }

  .portal-status-band {
    margin-top: -16px;
  }

  .portal-status-band div {
    padding: 15px;
  }

  .status-lookup .btn {
    width: 100%;
  }

  .detail-hero-inner,
  .portal-hero-inner,
  .portal-shell,
  .section-heading,
  .section-heading.compact,
  .stone-preview-grid,
  .stone-product-grid,
  .assurance-grid,
  .booking-panel,
  .faq-list {
    max-width: calc(100vw - 28px);
  }

  .detail-hero h1,
  .portal-hero h1,
  .section-heading.compact h2,
  .detail-hero p,
  .portal-hero p,
  .section-heading p,
  .stone-card p {
    overflow-wrap: anywhere;
  }

  .detail-hero h1 {
    max-width: calc(100% - 12px);
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .portal-hero h1 {
    max-width: calc(100% - 12px);
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .section-heading.compact h2 {
    max-width: min(100%, 270px);
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.38rem, 6vw, 1.75rem);
  }

  .detail-hero p,
  .section-heading p,
  .stone-card p {
    max-width: min(100%, 310px);
  }
}
