/* ================================================
   NIVAM — Main: Base Styles & Typography
   ================================================ */

body {
  font-family: var(--ff-body);
  color: var(--clr-text-dark);
  background: var(--clr-bg-ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ── SECTIONS ── */
.section            { padding: var(--section-py) 0; }
.section--light     { background: var(--grad-section-light); }
.section--dark      { background: var(--clr-bg-dark); }
.section--darkest   { background: var(--clr-bg-darkest); }
.section--gold      { background: var(--clr-bg-gold); border-block: 1px solid rgba(242,193,46,0.15); }

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--sp-14, 3.5rem);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-3);
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--clr-gold);
  opacity: 0.55;
}

.section-title {
  font-family: var(--ff-display);
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--clr-text-dark);
  margin-bottom: var(--sp-4);
}
.section-title span { color: var(--clr-gold); font-style: italic; }

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-muted-dark);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Dark-section overrides */
.section--dark .section-title,
.section--darkest .section-title { color: var(--clr-text-light); }
.section--dark .section-eyebrow,
.section--darkest .section-eyebrow { color: var(--clr-gold); }
.section--dark .section-subtitle,
.section--darkest .section-subtitle { color: var(--clr-text-muted-light); }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding-top: calc(var(--nav-height) + var(--sp-16));
  padding-bottom: var(--sp-16);
  background: var(--grad-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(242,193,46,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 {
  font-family: var(--ff-display);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}
.page-header p {
  color: rgba(242,247,244,0.80);
  font-size: var(--fs-md);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(242,247,244,0.55);
  margin-bottom: var(--sp-5);
}
.breadcrumb a { color: var(--clr-gold-light); transition: var(--transition-fast); }
.breadcrumb a:hover { color: var(--clr-white); }
.breadcrumb-sep { opacity: 0.35; }

/* ── UTILITY CLASSES ── */
.text-center  { text-align: center; }
.text-gold    { color: var(--clr-gold); }
.text-green   { color: var(--clr-green); }
.text-primary { color: var(--clr-primary); }
.text-accent  { color: var(--clr-accent); }
.text-muted   { color: var(--clr-text-muted); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

.divider {
  width: 56px; height: 3px;
  background: var(--grad-gold);
  border-radius: var(--radius-full);
  margin: var(--sp-4) auto;
}
.divider--left { margin-left: 0; }

/* ── GRID UTILITIES ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

/* ── LUCIDE ICONS ── */
.lucide-icon {
  display: inline-block;
  vertical-align: middle;
  width: 1.2em; height: 1.2em;
  stroke-width: 1.5px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}
.cta-arrow { transition: transform var(--duration-fast) var(--ease-out); margin-left: 4px; }
.btn:hover .cta-arrow { transform: translateX(5px); }
