/* Krishna Samarpan — Home page design */

body.kss-home-page {
  background: #fff9f0;
}

body.kss-home-page.has-celestial-bg {
  background: #fff9f0;
}

body.kss-home-page .at-promo-bar {
  background: linear-gradient(90deg, #5c0f0f, #8b1a1a, #c2410c);
}

/* Hero */
.kss-hero {
  position: relative;
  margin-top: calc(-1 * (36px + var(--nav-h)));
  padding: calc(36px + var(--nav-h) + 48px) 0 80px;
  overflow: hidden;
  background: linear-gradient(165deg, #fff9f0 0%, #fdebd0 45%, #f5d5a8 100%);
}

.kss-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.kss-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.kss-hero-orb--1 {
  width: 420px;
  height: 420px;
  background: rgba(212, 160, 23, 0.35);
  top: -80px;
  right: -60px;
}

.kss-hero-orb--2 {
  width: 320px;
  height: 320px;
  background: rgba(194, 65, 12, 0.2);
  bottom: 10%;
  left: -80px;
}

.kss-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 4 L44 20 L60 20 L48 30 L52 46 L40 36 L28 46 L32 30 L20 20 L36 20 Z' fill='%235c0f0f'/%3E%3C/svg%3E");
}

.kss-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.kss-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(92, 15, 15, 0.08);
  border: 1px solid rgba(139, 26, 26, 0.15);
  color: #5c0f0f;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.kss-hero-badge i {
  color: #c2410c;
}

.kss-hero-copy h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  color: #3d1515;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.kss-gold-text {
  background: linear-gradient(135deg, #b8860b, #d4a017, #c2410c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kss-hero-lead {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: #6b4c3b;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.kss-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.kss-btn-primary {
  background: linear-gradient(135deg, #c2410c, #8b1a1a);
  border: none;
  color: #fff !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 28px;
  box-shadow: 0 10px 28px rgba(139, 26, 26, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.kss-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(139, 26, 26, 0.35);
  color: #fff !important;
}

.kss-btn-outline {
  background: transparent;
  border: 2px solid #8b1a1a;
  color: #5c0f0f !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 26px;
}

.kss-btn-outline:hover {
  background: rgba(139, 26, 26, 0.06);
  color: #5c0f0f !important;
}

.kss-btn-light {
  background: #fff;
  color: #5c0f0f !important;
  font-weight: 800;
  border-radius: 999px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.kss-hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.kss-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #8b1a1a;
}

.kss-stat span {
  font-size: 0.75rem;
  color: #7c5c4a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero panel */
.kss-hero-panel {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}

.kss-hero-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(139, 26, 26, 0.1);
  box-shadow: 0 16px 48px rgba(92, 15, 15, 0.1);
}

.kss-hero-card--main {
  grid-column: 1 / -1;
  padding: 28px;
  background: linear-gradient(145deg, #5c0f0f, #8b1a1a);
  color: #fff;
  border: none;
}

.kss-hero-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.kss-hero-card--main h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.kss-hero-card--main p {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.65;
  margin-bottom: 16px;
}

.kss-hero-card-link {
  color: #f5d78e;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
}

.kss-hero-card--side {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.kss-hero-card--side i {
  font-size: 1.5rem;
  color: #c2410c;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(194, 65, 12, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.kss-hero-card--side strong {
  display: block;
  font-size: 0.875rem;
  color: #3d1515;
}

.kss-hero-card--side span {
  font-size: 0.75rem;
  color: #7c5c4a;
}

.kss-hero-card--alt {
  background: linear-gradient(135deg, #fff8e7, #fff);
}

.kss-hero-arch {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 48px;
  background: #fff9f0;
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* Pillars */
.kss-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: -48px auto 0;
  position: relative;
  z-index: 5;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(92, 15, 15, 0.1);
  border: 1px solid rgba(139, 26, 26, 0.08);
}

.kss-pillar {
  text-align: center;
  padding: 16px 10px;
  border-radius: 14px;
  text-decoration: none;
  color: #3d1515;
  transition: background 0.2s, transform 0.2s;
}

.kss-pillar:hover {
  background: rgba(194, 65, 12, 0.06);
  transform: translateY(-4px);
  color: #8b1a1a;
}

.kss-pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.2), rgba(194, 65, 12, 0.15));
  color: #c2410c;
  font-size: 1.35rem;
}

.kss-pillar-title {
  display: block;
  font-weight: 800;
  font-size: 0.875rem;
}

.kss-pillar-desc {
  display: block;
  font-size: 0.75rem;
  color: #7c5c4a;
  margin-top: 2px;
}

/* Sections */
.kss-section {
  padding: 72px 0;
}

.kss-section-head {
  text-align: center;
  margin-bottom: 44px;
}

.kss-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(194, 65, 12, 0.1);
  color: #c2410c;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.kss-section-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #3d1515;
  margin: 0 0 12px;
}

.kss-section-head p {
  color: #7c5c4a;
  max-width: 560px;
  margin: 0 auto;
}

/* Mission */
.kss-mission {
  background: #fff;
}

.kss-mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kss-mission-card {
  padding: 32px 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff9f0, #fff);
  border: 1px solid rgba(139, 26, 26, 0.1);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.kss-mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(92, 15, 15, 0.1);
}

.kss-mission-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b1a1a, #c2410c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.kss-mission-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #3d1515;
  margin-bottom: 10px;
}

.kss-mission-card p {
  font-size: 0.9rem;
  color: #7c5c4a;
  line-height: 1.65;
  margin: 0;
}

/* Zodiac grid */
.kss-zodiac {
  background: linear-gradient(180deg, #fff9f0, #fdebd0);
}

.kss-zodiac-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.kss-zodiac-card {
  text-align: center;
  padding: 20px 12px;
  background: #fff;
  border-radius: 16px;
  border: 2px solid transparent;
  text-decoration: none;
  color: #3d1515;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.kss-zodiac-card:hover {
  border-color: #c2410c;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(139, 26, 26, 0.12);
  color: #8b1a1a;
}

.kss-zodiac-symbol {
  display: block;
  font-size: 2rem;
  margin-bottom: 6px;
}

.kss-zodiac-name {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Experts */
.kss-experts-wrap {
  background: #fff;
}

.kss-experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.kss-expert-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(139, 26, 26, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}

.kss-expert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(92, 15, 15, 0.12);
  color: inherit;
}

.kss-expert-top {
  height: 120px;
  background: linear-gradient(135deg, #5c0f0f, #8b2942);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.kss-expert-avatar {
  font-size: 3rem;
}

.kss-online {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #15803d;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.kss-expert-body {
  padding: 20px;
}

.kss-expert-body h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: #3d1515;
}

.kss-expert-body p {
  font-size: 0.8rem;
  color: #7c5c4a;
  margin-bottom: 12px;
}

.kss-expert-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(139, 26, 26, 0.1);
  font-size: 0.875rem;
}

.kss-expert-foot span:first-child {
  color: #d4a017;
  font-weight: 700;
}

.kss-expert-foot span:last-child {
  color: #c2410c;
  font-weight: 800;
}

.kss-expert-foot small {
  font-weight: 500;
  color: #7c5c4a;
}

/* Bento services */
.kss-services {
  background: #fff9f0;
}

.kss-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kss-bento-item {
  padding: 24px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(139, 26, 26, 0.08);
  text-decoration: none;
  color: #3d1515;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.kss-bento-item:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 65, 12, 0.25);
  box-shadow: 0 12px 32px rgba(92, 15, 15, 0.1);
  color: #8b1a1a;
}

.kss-bento-item--wide {
  grid-column: span 2;
}

.kss-bento-item i {
  font-size: 1.75rem;
  color: #c2410c;
  display: block;
  margin-bottom: 12px;
}

.kss-bento-item h4 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 6px;
}

.kss-bento-item p {
  font-size: 0.8rem;
  color: #7c5c4a;
  margin: 0;
}

/* Products */
.kss-products {
  background: #fff;
}

.kss-product-card {
  border-radius: 18px !important;
  border: 1px solid rgba(139, 26, 26, 0.08) !important;
}

.kss-product-card:hover {
  border-color: rgba(194, 65, 12, 0.2) !important;
}

body.kss-home-page .product-price {
  color: #c2410c !important;
}

/* Reviews */
.kss-reviews {
  background: linear-gradient(180deg, #fff9f0, #fdebd0);
}

.kss-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kss-review-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(139, 26, 26, 0.08);
  margin: 0;
}

.kss-review-stars {
  color: #d4a017;
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.kss-review-card p {
  font-size: 0.95rem;
  color: #4a3028;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}

.kss-review-card footer {
  font-weight: 800;
  color: #3d1515;
  font-size: 0.875rem;
}

.kss-review-card footer span {
  display: block;
  font-weight: 500;
  color: #7c5c4a;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* CTA */
.kss-cta {
  padding: 0 var(--at-page-gutter, 24px) 64px;
}

.kss-cta-inner {
  max-width: var(--at-content-max, 1180px);
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, #5c0f0f 0%, #8b1a1a 50%, #c2410c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.kss-cta-inner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.25), transparent 70%);
  top: -150px;
  right: -80px;
}

.kss-cta-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  position: relative;
}

.kss-cta-inner h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.kss-cta-inner p {
  opacity: 0.9;
  margin-bottom: 24px;
  position: relative;
}

/* Responsive */
@media (max-width: 991px) {
  .kss-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .kss-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .kss-hero-actions,
  .kss-hero-stats {
    justify-content: center;
  }

  .kss-hero-panel {
    max-width: 480px;
    margin: 0 auto;
  }

  .kss-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .kss-mission-grid,
  .kss-review-grid {
    grid-template-columns: 1fr;
  }

  .kss-zodiac-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .kss-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .kss-bento-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 575px) {
  .kss-pillars {
    grid-template-columns: 1fr 1fr;
    margin-top: -32px;
    padding: 16px;
  }

  .kss-zodiac-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .kss-bento {
    grid-template-columns: 1fr;
  }

  .kss-bento-item--wide {
    grid-column: span 1;
  }

  .kss-hero-panel {
    grid-template-columns: 1fr;
  }
}
