/* ============================================================
   Pujari24 - Premium Design
   Palette: Deep Ivory + Temple Crimson + Antique Gold
   ============================================================ */

/* -- Reset -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* -- Tokens -- */
:root {
  /* Core palette */
  --ivory:       #F9F4EE;
  --ivory-dk:    #F0E8DC;
  --ivory-dkr:   #E5D9CC;
  --crimson:     #E8550A;
  --crimson-lt:  #FF6B20;
  --gold:        #C8952A;
  --gold-lt:     #F4E6C4;
  --ink:         #0A1E3F;
  --ink-2:       #2D4470;
  --ink-3:       #7A90B8;
  --border:      #DDD0BC;
  --border-lt:   #EEE5D8;
  /* Dark section */
  --dark-bg:     #070E1E;
  --dark-surface:#0D1A35;
  --dark-border: rgba(255,255,255,.08);
  /* Misc */
  --radius-sm:   6px;
  --radius:      14px;
  --radius-lg:   22px;
  --radius-full: 999px;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --nav-h:       72px;
  --shadow:      0 2px 16px rgba(28,18,8,.10);
  --shadow-md:   0 6px 32px rgba(28,18,8,.14);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
sup { font-size: .6em; vertical-align: super; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.75rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .01em;
  transition: all .22s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
}
.btn--primary:hover {
  background: var(--crimson-lt);
  border-color: var(--crimson-lt);
  box-shadow: 0 4px 20px rgba(139,26,26,.32);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--crimson); color: var(--crimson); }
.btn--lg { padding: .875rem 2.25rem; font-size: 1rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(249,244,238,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-lt);
}
.nav__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
}
.nav__logo img { height: 40px; width: auto; }
.nav__logo span {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--crimson);
  letter-spacing: .01em;
}
.nav__links { display: flex; gap: 2rem; margin: 0 auto; }
.nav__links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s;
  letter-spacing: .01em;
}
.nav__links a:hover { color: var(--crimson); }
.nav__cta { margin-left: auto; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .2s;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1.75rem 1.5rem;
  background: rgba(249,244,238,.98);
  border-top: 1px solid var(--border-lt);
}
.nav__mobile a {
  color: var(--ink);
  font-weight: 500;
  padding: .625rem 0;
  border-bottom: 1px solid var(--border-lt);
  font-size: .95rem;
}
.nav__mobile a:last-child { border-bottom: none; margin-top: .5rem; justify-content: center; }
.nav__mobile.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--ivory);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__ornament {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  color: var(--gold);
  opacity: .18;
  pointer-events: none;
  z-index: 0;
}
.hero__ornament svg { width: 100%; height: 100%; }
.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 3rem;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.75rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .14em;
}
.hero__gem {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
}
.hero__title em {
  color: var(--crimson);
  font-style: italic;
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 440px;
  margin-bottom: 2.75rem;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__media { position: relative; z-index: 1; }
.hero__media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.hero__media-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(28,18,8,.15) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero__media-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* Stats bar */
.hero__stats-bar {
  position: relative;
  z-index: 1;
  background: var(--crimson);
  margin-top: 0;
}
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2rem 1.75rem;
}
.hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  text-align: center;
}
.hero__stat strong {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero__stat em {
  font-style: normal;
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.hero__stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 6rem 0; background: var(--ivory); }
.section--cream { background: var(--ivory-dk); }
.section--dark { background: var(--dark-bg); }

.section__header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.section__header--light { color: #fff; }

.section__eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: .875rem;
}
.section__eyebrow--gold { color: var(--gold); }

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}
.section__title--light { color: #fff; }
.section__sub { color: var(--ink-2); font-size: 1rem; line-height: 1.75; }
.section__sub--muted { color: rgba(255,255,255,.5); }

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  position: relative;
  background: #fff;
  padding: 2rem 1.75rem;
  transition: background .22s;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.service-card:hover { background: var(--ivory); }
.service-card--gold {
  background: var(--gold-lt);
}
.service-card--gold:hover { background: #eddda8; }
.service-card--more {
  background: var(--ivory-dk);
}
.service-card--more:hover { background: var(--ivory-dkr); }
.service-card__num {
  display: block;
  font-family: var(--font-serif);
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.service-card__icon {
  font-size: 1.75rem;
  margin-bottom: .875rem;
  line-height: 1;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .5rem;
  line-height: 1.25;
}
.service-card p {
  font-size: .875rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.service-card__tag {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--gold);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .625rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.service-card__link {
  display: inline-block;
  margin-top: 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--crimson);
  transition: gap .2s;
}
.service-card__link:hover { text-decoration: underline; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(200,149,42,.2));
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
}
.step__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.5rem;
  opacity: .8;
}
.step h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .75rem;
}
.step p { font-size: .9rem; color: rgba(255,255,255,.5); line-height: 1.65; }

/* ============================================================
   WHY US
   ============================================================ */
.why__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: center;
}
.why__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: .75rem 0 1.25rem;
  letter-spacing: -.01em;
}
.why__sub {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.75;
  max-width: 340px;
  margin-bottom: 2rem;
}
.why__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-card {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
  padding: 1.75rem;
  background: #fff;
  transition: background .2s;
}
.why-card:hover { background: var(--ivory); }
.why-card__icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  width: 46px;
  height: 46px;
  background: var(--gold-lt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .375rem;
}
.why-card p { font-size: .85rem; color: var(--ink-2); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.review--featured {
  background: var(--crimson);
  border-color: var(--crimson);
}
.review__quote {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: .75;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: .6;
}
.review--featured .review__quote { color: rgba(255,255,255,.4); opacity: 1; }
.review p {
  font-size: .9375rem;
  color: var(--ink-2);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}
.review--featured p { color: rgba(255,255,255,.85); }
.review__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-lt);
}
.review--featured .review__footer { border-top-color: rgba(255,255,255,.12); }
.review__stars { color: var(--gold); font-size: .8rem; letter-spacing: 2px; }
.review--featured .review__stars { color: rgba(255,255,255,.7); }
.review__author strong {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}
.review--featured .review__author strong { color: #fff; }
.review__author span { font-size: .78rem; color: var(--ink-3); }
.review--featured .review__author span { color: rgba(255,255,255,.5); }

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}
.download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 30% 50%, rgba(139,26,26,.35) 0%, transparent 70%);
  pointer-events: none;
}
.download__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.download__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin: .875rem 0 1.25rem;
  letter-spacing: -.01em;
}
.download__sub { color: rgba(255,255,255,.55); font-size: 1rem; margin-bottom: 2.5rem; }
.download__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.download__btn {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1.625rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  color: #fff;
  transition: background .2s, border-color .2s;
}
.download__btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
}
.download__btn small { display: block; font-size: .68rem; opacity: .6; margin-bottom: .1rem; }
.download__btn strong { display: block; font-size: .95rem; font-weight: 600; }
.download__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.download__visual img { width: 100%; height: 480px; object-fit: cover; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: border-color .2s, box-shadow .2s;
  color: var(--ink);
}
.contact-card:hover {
  border-color: var(--crimson);
  box-shadow: var(--shadow);
}
.contact-card__icon { font-size: 1.75rem; margin-bottom: .875rem; }
.contact-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--ink);
}
.contact-card span { font-size: .875rem; color: var(--crimson); font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.45);
  padding: 5rem 0 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer__brand p {
  font-size: .875rem;
  line-height: 1.7;
  max-width: 260px;
  margin: 1.125rem 0 1.75rem;
}
.footer__logo { display: flex; align-items: center; gap: .625rem; }
.footer__logo img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.footer__logo span {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}
.footer__social { display: flex; gap: .75rem; }
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.45);
  transition: all .2s;
}
.footer__social a:hover { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.footer__links h5 {
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.25rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer__links ul { display: flex; flex-direction: column; gap: .75rem; }
.footer__links a {
  font-size: .875rem;
  color: rgba(255,255,255,.4);
  transition: color .18s;
}
.footer__links a:hover { color: rgba(255,255,255,.9); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.75rem;
  text-align: center;
  font-size: .82rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__layout { gap: 3rem; }
  .why__layout { grid-template-columns: 1fr; gap: 3rem; }
  .why__title { font-size: 2.25rem; }
  .why__sub { max-width: 100%; }
  .download__inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .download__buttons { justify-content: center; }
  .download__visual { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__text { text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__media img { height: 340px; }
  .hero__ornament { display: none; }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .steps::before { display: none; }
  .reviews__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; max-width: 360px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 620px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .section { padding: 4rem 0; }
  .services__grid { grid-template-columns: 1fr; }
  .why__features { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: 2rem; }
  .hero__stat-sep { display: none; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .download__buttons { flex-direction: column; align-items: center; }
}