/* ==========================================================================
   CV DOST — MINIMAL EDITORIAL DESIGN SYSTEM (cvdost.in)
   Clean White Canvas • Editorial Serif Headings • Soft Blue Pill Buttons
   Dedicated Illustration Space • Zero Clutter / Zero Card Boxes
   ========================================================================== */

:root {
  --bg-page: #FFFFFF;
  --text-heading: #1B2233;     /* Deep Charcoal/Navy Serif */
  --text-body: #606B82;        /* Soft Slate */
  --text-muted: #8E98AC;
  
  --btn-blue: #6B92E8;         /* Soft Powder Blue (Reference Pill Button) */
  --btn-blue-hover: #5A83DC;
  
  --font-serif: 'Besley', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  
  --container-max: 1380px;     /* Balanced, cohesive width without over-stretching */
}

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

html {
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.5;
  overflow-x: hidden;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 56px);
  width: 100%;
}

/* ═══════════════════════════════════════════════════════
   1. MINIMAL TOP NAVIGATION
   ═══════════════════════════════════════════════════════ */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(10px, 1.8vh, 22px) clamp(20px, 3.5vw, 56px);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  color: var(--text-heading);
}

.brand-logo-small {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.nav-links-wrap a {
  font-size: clamp(0.85rem, 0.95vw, 0.94rem);
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.15s ease;
}

.nav-links-wrap a:hover,
.nav-links-wrap a.active {
  color: var(--text-heading);
}

.nav-pill-btn {
  display: inline-block;
  background: var(--btn-blue);
  color: #FFFFFF !important;
  font-size: clamp(0.82rem, 0.9vw, 0.88rem);
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-pill-btn:hover {
  background: var(--btn-blue-hover);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════
   2. HERO STAGE (Big Hero Illustration + Unified Composition)
   ═══════════════════════════════════════════════════════ */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.hero-stage {
  padding: clamp(4px, 1vh, 14px) 0;
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr; /* 46% text, 54% big illustration */
  align-items: center;
  gap: clamp(28px, 4vw, 56px);       /* Cozy cohesive gap */
  width: 100%;
}

/* Left: Editorial Typography */
.hero-text-block {
  max-width: 520px;
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: clamp(10px, 1.5vh, 18px);
}

.hero-lead-text {
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: clamp(14px, 2.2vh, 26px);
  max-width: 480px;
}

.btn-pill {
  display: inline-block;
  background: var(--btn-blue);
  color: #FFFFFF !important;
  font-size: clamp(0.88rem, 1vw, 0.95rem);
  font-weight: 600;
  padding: clamp(9px, 1.3vh, 12px) clamp(22px, 2vw, 28px);
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-pill:hover {
  background: var(--btn-blue-hover);
  transform: translateY(-1px);
}

/* Right: Prominent, Large Illustration */
.illustration-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  position: relative;
}

.illustration-slot {
  width: 100%;
  max-width: 660px; /* Large illustration frame */
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-slot img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: clamp(280px, 52vh, 540px); /* Prominent, large on screen */
  object-fit: contain;
}

/* ═══════════════════════════════════════════════════════
   3. CLEAN SECONDARY CONTENT (Compact Footer Band)
   ═══════════════════════════════════════════════════════ */
.details-section {
  padding: clamp(8px, 1.4vh, 16px) 0 clamp(6px, 1.1vh, 12px);
  border-top: 1px solid #F1F3F7;
  flex-shrink: 0;
}

.simple-points-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3.2vw, 52px);
}

.simple-point h3 {
  font-family: var(--font-serif);
  font-size: clamp(0.96rem, 1.1vw, 1.16rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 3px;
}

.simple-point p {
  font-size: clamp(0.78rem, 0.85vw, 0.88rem);
  line-height: 1.44;
  color: var(--text-body);
}

/* ═══════════════════════════════════════════════════════
   4. MINIMAL FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer-simple {
  padding: clamp(8px, 1.1vh, 12px) 0;
  border-top: 1px solid #F1F3F7;
  font-size: clamp(0.76rem, 0.82vw, 0.84rem);
  color: var(--text-muted);
  flex-shrink: 0;
}

.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  list-style: none;
}

.footer-nav a {
  color: var(--text-body);
}

.footer-nav a:hover {
  color: var(--text-heading);
}

/* Responsive / Small Screen Fallback */
@media (max-width: 860px), (max-height: 520px) {
  body {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }
  .hero-stage {
    padding: 30px 0 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 32px;
  }
  .simple-points-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .nav-links-wrap {
    display: none;
  }
  .illustration-container,
  .illustration-slot {
    justify-content: center;
    min-height: 200px;
  }
  .illustration-slot img {
    max-height: 360px;
  }
  .details-section {
    padding: 36px 0;
  }
}

/* ═══════════════════════════════════════════════════════
   5. COLOR-MATCHED SERVICES THEME (Exact Poster Canvas)
   ═══════════════════════════════════════════════════════ */
body.services-canvas {
  background-color: #E8E3F8;
  background: linear-gradient(135deg, #F3F1FD 0%, #E8E3F8 50%, #DFDAF3 100%);
  min-height: 100vh;
}

body.services-canvas .site-nav {
  background: transparent;
}

body.services-canvas .hero-main-title {
  color: #171E38;
}

body.services-canvas .hero-lead-text {
  color: #4F5872;
}

body.services-canvas .btn-pill,
body.services-canvas .nav-pill-btn {
  background: #3A62DE;
}

body.services-canvas .btn-pill:hover,
body.services-canvas .nav-pill-btn:hover {
  background: #2E52C4;
}

body.services-canvas .details-section {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(165, 155, 210, 0.3);
}

body.services-canvas .site-footer-simple {
  background: rgba(225, 220, 243, 0.7);
  border-top: 1px solid rgba(165, 155, 210, 0.3);
}
