/**
 * home.css — the Ganpati homepage: hero slider, festival timeline, the
 * "build your Ganpati" configurator, the service cards and the samagri
 * split.
 */

/* ================= HERO SLIDER ================= */
.hero {
  position: relative;
  height: clamp(560px, 78vh, 660px);
  overflow: hidden;
  background: var(--maroon-900);
}
.hero__track {
  display: flex;
  height: 100%;
  transition: transform 620ms cubic-bezier(.4, 0, .2, 1);
}
.hero__slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(165deg, #f4e9d6, #efe0c0 55%, #e7d3a8);
}
.hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__slide::before,
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__slide::before {
  background: linear-gradient(90deg, rgba(46, 10, 17, .93) 0%, rgba(46, 10, 17, .72) 40%, rgba(46, 10, 17, .08) 78%);
}
.hero__slide::after {
  background: linear-gradient(0deg, rgba(46, 10, 17, .86) 0%, rgba(46, 10, 17, .1) 46%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(224, 163, 37, .22) 1.6px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 48%);
          mask-image: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 48%);
}
.hero__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.hero__copy > div {
  width: 100%;
  max-width: var(--container);
  padding: 0 var(--gutter) clamp(128px, 17vh, 168px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(11px, 1.6vh, 16px);
}
.hero__tag { align-self: flex-start; white-space: nowrap; }
.hero__title {
  margin: 0;
  font-size: clamp(31px, 6.4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  max-width: 16ch;
  text-shadow: 0 4px 40px rgba(224, 163, 37, .28);
}
.hero__blurb {
  font-size: clamp(14.5px, 1.7vw, 17.5px);
  line-height: 1.55;
  color: rgba(255, 248, 240, .85);
  max-width: 44ch;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  margin-top: 4px;
  font-size: clamp(12.5px, 1.4vw, 14px);
  color: rgba(255, 248, 240, .82);
}
.hero__facts span { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--gold); }
.hero__price {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  color: var(--on-dark);
}
.hero__cta { pointer-events: auto; align-self: flex-start; margin-top: 10px; }

.hero__controls {
  position: absolute;
  inset: auto 0 clamp(18px, 3vh, 34px) 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.hero__controls > div {
  width: 100%;
  max-width: var(--container);
  padding-inline: var(--gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.hero__arrows { display: flex; gap: 10px; pointer-events: auto; flex-shrink: 0; }
.hero__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 240, .4);
  background: rgba(255, 248, 240, .1);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all var(--t);
}
.hero__arrow:hover {
  background: rgba(224, 163, 37, .3);
  border-color: var(--gold);
  box-shadow: 0 0 24px -4px rgba(224, 163, 37, .8);
}
.hero__arrow svg { width: 18px; height: 18px; }
.hero__arrow--prev svg { transform: scaleX(-1); }

.hero__thumbs {
  display: flex;
  gap: 10px;
  pointer-events: auto;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 740px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  justify-content: flex-end;
}
.hero__thumbs::-webkit-scrollbar { display: none; }
.hero__thumb {
  cursor: pointer;
  text-align: left;
  padding: 11px 13px;
  border-radius: 14px;
  flex: 0 0 clamp(118px, 23vw, 172px);
  border: 1px solid rgba(255, 248, 240, .24);
  background: rgba(255, 248, 240, .08);
  backdrop-filter: blur(8px);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: all var(--t-slow);
}
.hero__thumb:hover { transform: translateY(-4px); }
.hero__thumb[aria-current="true"] {
  background: rgba(224, 163, 37, .24);
  border-color: var(--gold);
  box-shadow: 0 0 30px -6px rgba(224, 163, 37, .9);
}
.hero__thumb-day {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: rgba(255, 248, 240, .6);
  white-space: nowrap;
}
.hero__thumb[aria-current="true"] .hero__thumb-day { color: var(--gold); }
.hero__thumb-name { font-size: clamp(12.5px, 1.4vw, 13.5px); font-weight: 700; line-height: 1.25; }
.hero__thumb-bar {
  height: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255, 248, 240, .2);
  margin-top: 3px;
}
.hero__thumb[aria-current="true"] .hero__thumb-bar { background: var(--gold); }

/* ================= TRUST ROW ================= */
.trust-row {
  padding-block: clamp(28px, 4vw, 34px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  border-bottom: 1px solid var(--line-warm);
}
.trust-row__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 14px;
  transition: all var(--t-slow);
}
.trust-row__item:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .6); }
.trust-row__item strong { display: block; font-size: 14.5px; }
.trust-row__item span { font-size: 13px; color: var(--ink-3); }

/* ================= TIMELINE ================= */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  margin-top: clamp(30px, 4vw, 44px);
}
.timeline__item { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.timeline__rail { display: flex; align-items: center; gap: 14px; align-self: stretch; }
.timeline__marker {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #a97f31;
  color: var(--maroon-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 26px -6px rgba(201, 116, 26, .75);
  transition: all var(--t-slow);
}
.timeline__item:hover .timeline__marker {
  transform: scale(1.08);
  box-shadow: 0 0 34px -2px rgba(224, 163, 37, .95);
}
.timeline__marker svg { width: 21px; height: 21px; }
.timeline__dash { flex: 1; height: 0; border-top: 2px dashed #dfd0b2; }
.timeline__day { font-family: var(--font-mono); font-size: 12px; color: var(--ink-5); margin-bottom: 5px; }
.timeline__item h3 { font-size: clamp(18px, 2.2vw, 20px); line-height: 1.2; margin-bottom: 6px; }
.timeline__item p { font-size: 14px; color: var(--ink-3); line-height: 1.55; }

/* ================= CONFIGURATOR ================= */
.configurator {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 44px);
  align-items: flex-start;
}
.configurator__main { flex: 1 1 500px; min-width: 0; }
.configurator__group-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-5);
  margin-bottom: 12px;
}
.duration-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.duration-btn {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 20px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid #cdbda2;
  background: #fff;
  color: var(--ink);
  transition: all var(--t);
}
.duration-btn:hover { transform: translateY(-2px); }
.duration-btn[aria-pressed="true"] {
  background: var(--maroon-800);
  border-color: var(--maroon-800);
  color: var(--on-dark);
  box-shadow: 0 8px 26px -12px rgba(74, 21, 33, .9), 0 0 26px -8px rgba(224, 163, 37, .7);
}

.rite-list { display: flex; flex-direction: column; gap: 12px; }
.rite {
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: clamp(10px, 2vw, 16px);
  align-items: center;
  padding: clamp(16px, 2.4vw, 20px) clamp(16px, 2.6vw, 22px);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-warm);
  box-shadow: 0 6px 20px -16px rgba(36, 31, 26, .5);
  transition: all var(--t);
}
.rite:hover { transform: translateY(-3px); }
.rite[aria-pressed="true"] {
  border-color: var(--amber);
  box-shadow: 0 12px 30px -18px rgba(201, 116, 26, .75), 0 0 34px -14px rgba(224, 163, 37, .8);
}
.rite[disabled] { opacity: .62; cursor: not-allowed; transform: none; }
.rite__box {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1.5px solid #cdbda2;
  background: #fff;
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t);
}
.rite__box svg { width: 15px; height: 15px; opacity: 0; transition: opacity var(--t); }
.rite[aria-pressed="true"] .rite__box {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 18px -2px rgba(224, 163, 37, .9);
}
.rite[aria-pressed="true"] .rite__box svg { opacity: 1; }
.rite__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rite__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rite__head strong {
  font-family: var(--font-display);
  font-size: clamp(15.5px, 1.8vw, 16.5px);
  font-weight: 600;
}
.rite__note { font-size: 14px; color: var(--ink-3); line-height: 1.5; }
.rite__price { text-align: right; }
.rite__price b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 20px);
  font-weight: 600;
  color: var(--maroon-800);
  white-space: nowrap;
}
.rite__price span { display: block; font-size: 11.5px; color: var(--ink-5); white-space: nowrap; }

.estimate {
  flex: 1 1 330px;
  min-width: 0;
  max-width: 420px;
  position: sticky;
  top: 24px;
  background: #fff;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 50px -22px rgba(74, 21, 33, .4),
              0 0 0 1px rgba(224, 163, 37, .18),
              0 0 46px -14px rgba(224, 163, 37, .5);
}
.estimate__head {
  position: relative;
  overflow: hidden;
  padding: 20px 24px;
  background: var(--maroon-800);
  color: var(--on-dark);
}
.estimate__head::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(80% 160% at 88% 20%, rgba(224, 163, 37, .42), transparent 68%);
  animation: om-halo 8s ease-in-out infinite;
}
.estimate__head strong {
  position: relative;
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
}
.estimate__head span {
  position: relative;
  display: block;
  font-size: 13px;
  color: rgba(255, 248, 240, .75);
  margin-top: 3px;
}
.estimate__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.estimate__lines { display: flex; flex-direction: column; gap: 13px; }
.estimate__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
}
.estimate__line small { display: block; font-size: 12px; color: var(--ink-5); margin-top: 2px; }
.estimate__line b { font-family: var(--font-mono); font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.estimate__empty { margin: 0; font-size: 14px; color: var(--ink-5); line-height: 1.55; }
.estimate__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1ebe0;
}
.estimate__total span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-5);
}
.estimate__total b {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 30px);
  font-weight: 600;
  color: var(--maroon-800);
}
.estimate__fine { margin: 0; font-size: 12.5px; color: var(--ink-5); line-height: 1.55; }

/* ================= SERVICE CARDS ================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(18px, 2.6vw, 26px);
}
.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3.2vw, 30px) clamp(22px, 3vw, 28px) clamp(22px, 3vw, 26px);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--on-dark);
  background: linear-gradient(158deg, #5a1b2d 0%, #41131f 52%, #340f19 100%);
  border: 1px solid rgba(224, 163, 37, .22);
  box-shadow: 0 18px 46px -26px rgba(74, 21, 33, .6), 0 0 40px -18px rgba(224, 163, 37, .42);
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) ease, border-color var(--t-slow) ease;
}
.service-card:hover {
  color: var(--on-dark);
  transform: translateY(-10px) scale(1.018);
  border-color: var(--gold);
  box-shadow: 0 30px 70px -24px rgba(74, 21, 33, .72),
              0 0 0 1px rgba(224, 163, 37, .6),
              0 0 70px -8px rgba(224, 163, 37, .7);
}
.service-card[data-featured="true"] {
  border-color: rgba(224, 163, 37, .55);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -26px rgba(74, 21, 33, .66), 0 0 56px -14px rgba(224, 163, 37, .62);
}
.service-card__bloom {
  position: absolute;
  top: -48%;
  right: -30%;
  width: 78%;
  height: 150%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(224, 163, 37, .42), rgba(224, 163, 37, 0) 66%);
  animation: om-bloom 12s ease-in-out infinite;
}
.service-card[data-featured="true"] .service-card__bloom { animation-duration: 8s; }
.service-card__shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 248, 240, .16) 48%, transparent 62%);
  background-size: 220% 100%;
  animation: om-shimmer 9s linear infinite;
}
.service-card > *:not(.service-card__bloom):not(.service-card__shimmer) { position: relative; }
.service-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-card__flag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: var(--gold);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 0 22px -2px rgba(224, 163, 37, .9);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 24px);
  font-weight: 600;
  line-height: 1.15;
  text-shadow: 0 2px 22px rgba(224, 163, 37, .3);
}
.service-card__body {
  font-size: clamp(14px, 1.6vw, 14.8px);
  line-height: 1.6;
  color: rgba(255, 248, 240, .78);
}
.service-card__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 248, 240, .14);
}
.service-card__meta { font-size: 13px; color: rgba(255, 248, 240, .62); }
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gold);
}
.service-card__cta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ================= SAMAGRI SPLIT ================= */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4.5vw, 56px);
  align-items: flex-start;
}
.split__copy { flex: 1 1 420px; min-width: 0; }
.split__media {
  flex: 1 1 320px;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: clamp(280px, 44vw, 520px);
  background: linear-gradient(165deg, #f4e9d6, #efe0c0 55%, #e7d3a8);
  border: 1px solid #dfd2bb;
  box-shadow: var(--shadow-float), 0 0 50px -18px rgba(224, 163, 37, .6);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.note-card {
  margin-top: 26px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line-warm);
  border-radius: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 0 34px -14px rgba(224, 163, 37, .7);
}
.note-card svg { width: 22px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--amber); }
.note-card p { margin: 0; font-size: 14px; color: var(--ink-3); line-height: 1.6; }

/* ================= HOW IT WORKS ================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(22px, 3vw, 30px);
  margin-top: clamp(26px, 4vw, 36px);
}
.steps__n {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #a97f31;
  color: var(--maroon-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 15px;
  margin-bottom: 14px;
  box-shadow: 0 0 26px -8px rgba(201, 116, 26, .8);
  transition: all var(--t-slow);
}
.steps > div:hover .steps__n {
  transform: translateY(-4px);
  box-shadow: 0 0 34px -4px rgba(224, 163, 37, .95);
}
.steps h4 { margin: 0 0 6px; font-family: var(--font-body); font-size: clamp(16px, 1.8vw, 17px); font-weight: 700; }
.steps p { font-size: 14.5px; color: var(--ink-3); line-height: 1.55; }

/* ================= CLOSING CTA ================= */
.closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(52px, 7vw, 76px);
}
.closing__copy { flex: 1 1 440px; min-width: 0; }
.closing__copy h2 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 5.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 20ch;
  text-shadow: 0 4px 40px rgba(224, 163, 37, .3);
}
.closing__copy p {
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(255, 248, 240, .82);
  line-height: 1.6;
  max-width: 48ch;
}
.closing__actions { flex: 0 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.closing__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(224, 163, 37, .18) 1.6px, transparent 1.6px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 0%, rgba(0, 0, 0, .75), transparent 72%);
          mask-image: radial-gradient(70% 90% at 50% 0%, rgba(0, 0, 0, .75), transparent 72%);
}

@media (max-width: 700px) {
  .hero__thumbs { justify-content: flex-start; }
  .estimate { position: static; max-width: none; }
}
