/* ==========================================================================
   AyuNivesh Capital — Design System & Master Stylesheet
   Mobile-First, Responsive, Accessible, High-Performance
   ========================================================================== */

:root {
  /* Brand Palette (Matched to AyuNivesh Capital Green Logo) */
  --navy-primary: #0E4429;
  --navy-dark: #072717;
  --navy-mid: #145937;
  --gold-muted: #6CB420;
  --gold-light: #8FD13F;
  --gold-tint: rgba(108, 180, 32, 0.12);
  --warm-white: #F6F8F6;
  --white: #FFFFFF;
  --light-gray: #E2E8E3;
  --border-subtle: #D5DFD7;
  --text-dark: #13221A;
  --text-secondary: #5A6B61;
  --text-on-dark: #F6F8F6;
  --text-muted-on-dark: #BDD0C4;
  --danger-soft: #E57373;
  --success-soft: #2E7D32;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing & Layout */
  --container-max: 1280px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(13, 27, 42, 0.05);
  --shadow-sm: 0 4px 14px rgba(13, 27, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(13, 27, 42, 0.12);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.2s var(--ease);
  --t-base: 0.35s var(--ease);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 16px;
}

:focus-visible {
  outline: 2px solid var(--gold-muted);
  outline-offset: 3px;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--navy-dark);
  margin: 0 0 0.55em;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background-color: var(--gold-muted);
  border-radius: 2px;
}

.section-header {
  max-width: 920px;
  margin-bottom: 40px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-header.center .eyebrow {
  justify-content: center;
}

.section-header p {
  font-size: 1.03rem;
  line-height: 1.68;
  max-width: 720px;
}

.section-header.center p {
  margin-inline: auto;
}

/* Sections */
.section {
  padding-block: 64px;
}

@media (min-width: 768px) {
  .section {
    padding-block: 84px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: 100px;
  }
}

.section-white {
  background-color: var(--white);
}

.section-warm {
  background-color: var(--warm-white);
}

.section-dark {
  background-color: var(--navy-dark);
  color: var(--text-on-dark);
}

.section-navy {
  background-color: var(--navy-primary);
  color: var(--text-on-dark);
}

.section-dark h2,
.section-dark h3,
.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-dark p,
.section-navy p {
  color: var(--text-muted-on-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform var(--t-fast), background-color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--navy-primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--navy-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-gold {
  background-color: var(--gold-muted);
  color: var(--navy-dark);
  box-shadow: var(--shadow-sm);
}

.btn-gold:hover {
  background-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--navy-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--navy-primary);
  background-color: rgba(20, 43, 64, 0.04);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 480px) {
  .btn-group .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-gray);
  transition: box-shadow var(--t-fast), background-color var(--t-fast);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.99);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .brand-logo img {
    height: 60px;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 26px;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  position: relative;
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 2px;
  transition: color var(--t-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold-muted);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy-primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  color: var(--navy-primary);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Navigation Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 27, 42, 0.48);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background-color: var(--white);
  z-index: 120;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform var(--t-base);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  color: var(--navy-dark);
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  background-color: var(--warm-white);
  color: var(--navy-primary);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-contact-mini {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--white) 0%, var(--warm-white) 100%);
  padding-block: 44px 56px;
  border-bottom: 1px solid var(--light-gray);
}

@media (min-width: 1024px) {
  .hero {
    padding-block: 76px 88px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 56px;
  }
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-trust-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-item svg {
  color: var(--gold-muted);
  flex-shrink: 0;
}

/* Hero Visual Card */
.hero-visual {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .hero-visual {
    padding: 32px;
  }
}

.hero-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hero-visual-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.hero-visual-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-primary);
  background-color: var(--gold-tint);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.hero-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.hero-pillar-box {
  background-color: var(--warm-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.hero-pillar-label {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.hero-pillar-val {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-primary);
}

/* ==========================================================================
   Trust Strip (Section 2)
   ========================================================================== */
.trust-strip {
  background-color: var(--white);
  border-bottom: 1px solid var(--light-gray);
  padding-block: 24px;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-strip-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-primary);
}

.trust-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: var(--gold-tint);
  color: var(--gold-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(185, 154, 80, 0.45);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--warm-white);
  border: 1px solid var(--light-gray);
  color: var(--navy-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Dark Cards */
.card-dark {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}

.card-dark:hover {
  border-color: rgba(215, 189, 122, 0.45);
  background-color: rgba(255, 255, 255, 0.06);
}

.card-dark-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(185, 154, 80, 0.14);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-dark-icon.negative {
  background-color: rgba(229, 115, 115, 0.14);
  color: #F29C9C;
}

/* ==========================================================================
   How AyuNivesh Works — Timeline (Section 4)
   ========================================================================== */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 1024px) {
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .timeline::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-muted) 0%, var(--light-gray) 100%);
    z-index: 0;
  }
}

.timeline-step {
  position: relative;
  z-index: 1;
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.timeline-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--navy-primary);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 4px solid var(--warm-white);
  box-shadow: 0 0 0 1px var(--light-gray);
}

.timeline-outcome {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--light-gray);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-outcome::before {
  content: "→";
  color: var(--gold-muted);
  font-weight: 700;
}

/* ==========================================================================
   Certificate Showcase & Lightbox
   ========================================================================== */
.certificate-feature {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .certificate-feature {
    grid-template-columns: 280px 1fr;
    padding: 36px;
    gap: 40px;
  }
}

.certificate-thumb {
  background-color: var(--warm-white);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: var(--text-secondary);
  overflow: hidden;
  cursor: pointer;
}

.certificate-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 27, 42, 0.78);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 20px;
}

.modal-close {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-gray);
  background: var(--warm-white);
  color: var(--navy-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  min-height: 60px;
  padding: 18px 24px;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-dark);
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--warm-white);
  color: var(--navy-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-fast), background-color var(--t-fast);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background-color: var(--gold-tint);
  color: var(--navy-dark);
}

.faq-panel {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-panel.is-open {
  display: block;
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 64px 48px;
  }
}

.cta-banner h2 {
  color: var(--white);
  max-width: 860px;
  margin-inline: auto;
}

.cta-banner p {
  color: var(--text-muted-on-dark);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 28px;
}

/* ==========================================================================
   Page Header (Inner Pages)
   ========================================================================== */
.page-hero {
  background-color: var(--white);
  border-bottom: 1px solid var(--light-gray);
  padding-block: 44px 48px;
}

@media (min-width: 768px) {
  .page-hero {
    padding-block: 56px 60px;
  }
}

.page-hero p {
  font-size: 1.08rem;
  max-width: 820px;
  margin-bottom: 0;
}

.page-hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .page-hero-split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

/* Media / Image Slots */
.media-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  background: linear-gradient(135deg, var(--warm-white) 0%, #EDF1F6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-slot-caption {
  text-align: center;
  padding: 20px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.media-slot-caption strong {
  display: block;
  color: var(--navy-dark);
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

/* ==========================================================================
   Forms & Calculators
   ========================================================================== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--text-dark);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--navy-primary);
  box-shadow: 0 0 0 3px rgba(20, 43, 64, 0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  font-size: 0.84rem;
  color: #C62828;
  margin-top: 6px;
  display: none;
}

.form-group.has-error .form-control {
  border-color: #C62828;
}

.form-group.has-error .form-error {
  display: block;
}

.alert-box {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background-color: var(--warm-white);
  font-size: 0.94rem;
  color: var(--text-dark);
}

.alert-box.is-success {
  border-color: #A5D6A7;
  background-color: #F1F8E9;
}

/* Calculator Specific */
.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.calc-tab {
  min-height: 48px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background-color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--t-fast);
}

.calc-tab.is-active {
  background-color: var(--navy-primary);
  color: var(--white);
  border-color: var(--navy-primary);
}

.calc-panel {
  display: none;
}

.calc-panel.is-active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 1024px) {
  .calc-panel.is-active {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.calc-card {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

@media (min-width: 768px) {
  .calc-card {
    padding: 32px;
  }
}

.range-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.range-input {
  width: 100%;
  accent-color: var(--navy-primary);
  cursor: pointer;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .calc-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.calc-metric {
  background-color: var(--warm-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.calc-metric.highlight {
  grid-column: 1 / -1;
  background-color: var(--navy-primary);
  border-color: var(--navy-primary);
  color: var(--white);
}

.calc-metric-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.calc-metric.highlight .calc-metric-label {
  color: var(--gold-light);
}

.calc-metric-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.calc-metric.highlight .calc-metric-value {
  font-size: 1.7rem;
  color: var(--white);
}

/* ==========================================================================
   Learning Center & Articles
   ========================================================================== */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.category-pill {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background-color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
}

.category-pill.is-active {
  background-color: var(--navy-primary);
  color: var(--white);
  border-color: var(--navy-primary);
}

.article-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-muted);
  margin-bottom: 10px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
  }
}

.article-body {
  width: 100%;
}

.article-body h2 {
  margin-top: 1.75rem;
  font-size: clamp(1.25rem, 1.8vw, 1.48rem);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body ul,
.article-body ol {
  color: var(--text-secondary);
  padding-left: 20px;
  margin-bottom: 1.25rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .article-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }
}

/* ==========================================================================
   Quick Short Form (Global Pre-Footer)
   ========================================================================== */
.quick-form-section {
  background-color: var(--warm-white);
  border-top: 1px solid var(--light-gray);
  padding-block: 44px;
}

.quick-form-card {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-top: 3px solid var(--gold-muted);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .quick-form-card {
    padding: 30px 32px;
  }
}

.quick-form-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.quick-form-head h2 {
  font-size: 1.35rem;
  margin-bottom: 0;
}

.quick-form-head p {
  font-size: 0.94rem;
  margin-bottom: 0;
}

.quick-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

@media (min-width: 640px) {
  .quick-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .quick-form-grid {
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 14px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--navy-dark);
  color: var(--text-muted-on-dark);
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-logo-wrap {
  display: inline-flex;
  background-color: transparent;
  padding: 0;
  margin-bottom: 18px;
}

.footer-logo-wrap img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-disclaimer {
  padding-block: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #96A4B5;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal-links a:hover {
  color: var(--gold-light);
}

.footer-credit a {
  color: var(--gold-light);
  font-weight: 600;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 95;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}

.whatsapp-float:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   Reveal Animation (Lightweight)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   YouTube Shorts Video Showcase & Social Follow Row
   ========================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

.video-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform var(--t-fast), border-color var(--t-fast);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
}

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 14;
  background-color: #051B10;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-base);
}

.video-card:hover .video-thumb img {
  transform: scale(1.04);
}

.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.94);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-fast), background-color var(--t-fast);
}

.video-card:hover .video-play-btn {
  transform: scale(1.08);
  background-color: var(--gold-light);
}

.video-meta {
  padding: 12px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

.social-follow-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.social-pill:hover {
  background-color: var(--gold-muted);
  border-color: var(--gold-muted);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.social-pill.primary-social {
  background-color: var(--white);
  color: var(--navy-dark);
  border-color: var(--white);
}

.social-pill.primary-social:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
}

/* ==========================================================================
   Sticky Bottom Consultation Pill (All Pages)
   ========================================================================== */
.sticky-consult-btn {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 94;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background-color: var(--navy-primary);
  color: var(--white);
  border: 1.5px solid var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-fast), background-color var(--t-fast);
}

.sticky-consult-btn:hover {
  background-color: var(--navy-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   Founder Profile Card
   ========================================================================== */
.founder-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .founder-card {
    grid-template-columns: 240px 1fr;
    padding: 36px;
    gap: 40px;
  }
}

.founder-avatar {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  background-color: var(--warm-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.founder-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--gold-tint);
  color: var(--navy-dark);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================================================
   Social Media Brand-Colored Icon Buttons (Footer & Contact Page)
   ========================================================================== */
.social-icons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast);
}

.social-icon-btn:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: var(--shadow-md);
}

.social-icon-btn.is-facebook {
  background-color: #1877F2;
}

.social-icon-btn.is-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon-btn.is-youtube {
  background-color: #FF0000;
}

.social-icon-btn.is-linkedin {
  background-color: #0A66C2;
}

.social-icon-btn.is-twitter {
  background-color: #111111;
}
