/* ============================================================
   PAGES — Page-Specific Compositions
   Shri Ram Jyotish Kendra — Cosmic Wisdom Design System
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding-top: 80px; /* header offset */
  background-color: var(--color-navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 45, 91, 0.88) 0%,
    rgba(15, 45, 91, 0.7) 45%,
    rgba(15, 45, 91, 0.4) 70%,
    rgba(15, 45, 91, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-7);
  align-items: center;
  padding-block: var(--space-8);
}

.hero-text {
  color: var(--color-white);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-gold-light);
  font-size: var(--text-eyebrow);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  line-height: var(--leading-display);
  color: var(--color-white);
  margin-bottom: var(--space-5);
  max-width: 18ch;
}

.hero-title em {
  font-style: normal;
  color: var(--color-gold-light);
}

.hero-description {
  font-size: var(--text-body-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-6);
  max-width: 48ch;
  line-height: var(--leading-body);
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.hero-trust-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.6);
}

.hero-trust-note svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-gold);
  stroke-width: 2;
  fill: none;
}

/* Hero Offer Card */
.hero-offer-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light), var(--color-gold));
}

.hero-offer-badge {
  display: inline-block;
  background: var(--color-blue-mist);
  color: var(--color-blue);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.hero-offer-price {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.hero-offer-price span {
  font-size: 1.75rem;
  color: var(--color-gold);
}

.hero-offer-duration {
  font-size: 1.125rem;
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-5);
}

.hero-offer-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.hero-offer-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--color-text);
}

.hero-offer-feature svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-gold);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

.hero-offer-card .btn {
  width: 100%;
  margin-bottom: var(--space-3);
}

.hero-offer-note {
  font-size: var(--text-small);
  color: var(--color-muted);
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   FEATURED CONSULTATION BAND
   ══════════════════════════════════════════════════════════════ */
.featured-consultation {
  position: relative;
  overflow: hidden;
}

.featured-consultation::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transform: translateY(-50%);
  pointer-events: none;
}

.featured-consultation::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.06);
  transform: translateY(-50%);
  pointer-events: none;
}

.featured-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.featured-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
}

.featured-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-body);
}

.featured-list-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-gold-light);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.featured-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  margin-top: var(--space-5);
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.75);
}

.featured-notice svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-gold-light);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════════ */
.about-hero-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-8);
  align-items: start;
}

.about-philosophy {
  background: var(--color-ivory);
  border-left: 3px solid var(--color-gold);
  padding: var(--space-5) var(--space-6);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: var(--space-6);
}

.about-philosophy p {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-navy);
  line-height: var(--leading-tight);
}

/* ══════════════════════════════════════════════════════════════
   CONSULTATION PAGE
   ══════════════════════════════════════════════════════════════ */
.consultation-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  max-width: 800px;
  margin-inline: auto;
}

.consultation-header {
  text-align: center;
  padding: var(--space-6);
  background: linear-gradient(135deg, var(--color-navy) 0%, #163A6E 100%);
  border-radius: var(--radius-lg);
  color: var(--color-white);
}

.consultation-price-display {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-gold-light);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.consultation-sidebar {
  position: sticky;
  top: 100px;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.contact-info-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-navy) 0%, #1a3c6d 100%);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(13, 27, 62, 0.15);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-gold);
  stroke-width: 2;
  fill: none;
}

.contact-info-text {
  flex: 1;
}

.contact-info-text h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-1);
}

.contact-info-text p,
.contact-info-text a {
  color: var(--color-body);
  font-size: var(--text-base);
  text-decoration: none;
  line-height: var(--leading-normal);
  transition: color var(--transition-fast);
}

.contact-info-text a:hover {
  color: var(--color-gold);
}

.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-card);
}


/* ══════════════════════════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════════════════════════ */
.legal-content {
  max-width: 800px;
  margin-inline: auto;
}

.legal-content h2 {
  font-size: var(--text-h3);
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
}

.legal-content h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
}

.legal-content p {
  color: var(--color-muted);
  margin-bottom: var(--space-4);
  max-width: none;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-5);
}

.legal-content li {
  color: var(--color-muted);
  margin-bottom: var(--space-2);
  list-style: disc;
}

.legal-content ol li {
  list-style: decimal;
}

/* ══════════════════════════════════════════════════════════════
   THANK YOU / ERROR PAGES
   ══════════════════════════════════════════════════════════════ */
.status-page {
  text-align: center;
  padding-block: var(--space-10);
}

.status-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto var(--space-5);
}

.status-icon--success {
  background: rgba(23, 107, 77, 0.1);
}

.status-icon--success svg {
  width: 40px;
  height: 40px;
  stroke: var(--color-success);
  stroke-width: 2;
  fill: none;
}

.status-icon--error {
  background: rgba(163, 38, 38, 0.1);
}

.status-icon--error svg {
  width: 40px;
  height: 40px;
  stroke: var(--color-error);
  stroke-width: 2;
  fill: none;
}

.status-title {
  font-size: var(--text-h2);
  margin-bottom: var(--space-4);
}

.status-text {
  font-size: var(--text-body-lg);
  color: var(--color-muted);
  margin-bottom: var(--space-6);
  max-width: 48ch;
  margin-inline: auto;
}

.reference-id {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-5);
  font-family: monospace;
  font-size: 1.125rem;
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-6);
}

.status-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.next-steps {
  text-align: left;
  max-width: 540px;
  margin: var(--space-7) auto 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
}

.next-steps h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  margin-bottom: var(--space-4);
}

.next-steps ol {
  padding-left: var(--space-5);
}

.next-steps li {
  list-style: decimal;
  color: var(--color-muted);
  margin-bottom: var(--space-3);
  font-size: var(--text-body);
}

/* ══════════════════════════════════════════════════════════════
   SERVICES GRID PAGE
   ══════════════════════════════════════════════════════════════ */
.service-detail-content {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-7);
  align-items: start;
}

.service-detail-sidebar {
  position: sticky;
  top: 100px;
}

.service-detail-sidebar .practitioner-img-wrapper img {
  aspect-ratio: 3 / 4;
}

/* ══════════════════════════════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════════════════════════════ */
.page-404 {
  text-align: center;
  padding-block: var(--space-10);
}

.page-404-code {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: var(--space-4);
}
