/* ==========================================================================
   DK CONSULTANCY - PRODUCTION STYLESHEET
   Quality in everything we do | Smart Finance Guidance
   ========================================================================== */

:root {
  --primary: #e87528;
  --primary-hover: #d26318;
  --primary-light: #fff2e7;
  --primary-soft: rgba(232, 117, 40, 0.12);
  --primary-gradient: linear-gradient(135deg, #e87528 0%, #ff8c3b 100%);
  --maroon: #512c2c;
  --maroon-dark: #371c1c;
  --maroon-light: #6a3c3c;
  --maroon-soft: rgba(81, 44, 44, 0.08);
  --ink: #2b2220;
  --ink-light: #443733;
  --muted: #736560;
  --cream: #faf5f0;
  --cream-dark: #f3eae1;
  --surface: #ffffff;
  --line: #eedfd5;
  --line-light: #f7efe9;
  --green: #2c7757;
  --green-bg: #eaf6f0;
  --shadow-sm: 0 4px 14px rgba(75, 48, 32, 0.05);
  --shadow: 0 12px 32px rgba(75, 48, 32, 0.08);
  --shadow-lg: 0 22px 50px rgba(75, 48, 32, 0.13);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --transition: all 0.22s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button, a {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Header Notification Bar
   ========================================================================== */
.topline {
  background: var(--maroon);
  color: #fff6ee;
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.topline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.topline-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52c41a;
  box-shadow: 0 0 0 2px rgba(82, 196, 26, 0.3);
  display: inline-block;
}

.topline-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 500;
}

.topline-contacts a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topline-contacts a:hover {
  color: #ffb787;
  text-decoration: underline;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 251, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.navin {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: var(--maroon);
  text-decoration: none;
}

.brandmark.logoimg {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 3px;
}

.brandmark.logoimg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--maroon);
  letter-spacing: 0.5px;
}

.brand-sub {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
  color: #55453f;
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 20px;
  color: var(--maroon);
}

/* Mobile Drawer Menu */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}

.mobile-drawer.active {
  display: flex;
}

.mobile-drawer a {
  font-size: 15px;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--ink);
}

/* Buttons */
.btn {
  border: 0;
  border-radius: 11px;
  padding: 12px 20px;
  font-weight: 800;
  font-size: 13.5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(232, 117, 40, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d36319 0%, #f07b28 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(232, 117, 40, 0.35);
}

.btn-dark {
  background: var(--maroon);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(81, 44, 44, 0.25);
}

.btn-dark:hover {
  background: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(81, 44, 44, 0.35);
}

.btn-outline {
  border: 1.5px solid #d8c3b5;
  background: #ffffff;
  color: var(--maroon) !important;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

.btn-soft {
  background: var(--primary-light);
  color: #ad5217 !important;
  font-weight: 800;
}

.btn-soft:hover {
  background: #ffe3ce;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12.5px;
  border-radius: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: radial-gradient(circle at 85% 20%, #ffe3cb 0%, transparent 40%),
              linear-gradient(125deg, #fff9f4 0%, #ffffff 65%);
  padding: 68px 0 62px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

h1 {
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin: 18px 0 20px;
  color: var(--maroon);
  font-weight: 900;
}

h1 em {
  font-style: normal;
  color: var(--primary);
  position: relative;
  white-space: nowrap;
}

.lead {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 24px;
}

.trust-badges {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: #61524b;
  font-size: 13px;
  font-weight: 700;
}

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

.trust-badge-item svg, .trust-badge-item .check {
  color: var(--green);
  font-weight: 900;
  display: inline-flex;
}

/* Hero Card */
.hero-card {
  background: #ffffff;
  border: 1px solid #ebd9cb;
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}

.hero-card-head h3 {
  margin: 6px 0 0;
  font-size: 22px;
  color: var(--maroon);
}

.kicker {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--primary);
}

.pill-status {
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  background: var(--green-bg);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-stat {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  transition: var(--transition);
}

.mini-stat:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.mini-stat small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.mini-stat strong {
  display: block;
  font-size: 26px;
  color: var(--maroon);
  margin: 4px 0 2px;
  font-weight: 900;
}

.floating-highlight {
  margin-top: 18px;
  border-radius: 14px;
  padding: 14px;
  background: #fff5eb;
  border: 1px solid #fedbc0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: #674c3e;
}

.float-icon {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Metrics Bar
   ========================================================================== */
.metrics-band {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-item strong {
  display: block;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 950;
  color: var(--maroon);
  line-height: 1;
}

.metric-item span {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-item p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================================================
   Sections General
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-tint {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-head h2, .split h2 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -1.2px;
  color: var(--maroon);
  margin: 10px 0 12px;
  font-weight: 900;
}

.section-head p, .muted {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ==========================================================================
   Loan Services Grid
   ========================================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-light);
  font-size: 24px;
  margin-bottom: 16px;
  border: 1px solid rgba(232, 117, 40, 0.15);
}

.card h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--maroon);
  font-weight: 800;
}

.card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 16px;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #69564f;
  font-weight: 600;
}

.card-action {
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.textlink {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.card:hover .textlink {
  color: var(--primary-hover);
  transform: translateX(3px);
}

.textlink:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ==========================================================================
   Interactive Loan & Document Modal Popup
   ========================================================================== */
.loan-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.loan-modal-backdrop.hidden {
  display: none !important;
}

.loan-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  max-width: 1140px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.loan-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 20;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.loan-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.05);
}

.loan-modal-tabs-wrapper {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 60px 10px 20px;
  overflow-x: auto;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
}

.loan-modal-tabs-wrapper::-webkit-scrollbar {
  height: 4px;
}

.loan-modal-tabs-wrapper::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.loan-modal-tabs {
  display: flex;
  gap: 8px;
  min-width: max-content;
}

.modal-tab-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 7px 15px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}

.modal-tab-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.modal-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(232, 117, 40, 0.28);
}

.loan-modal-body {
  padding: 24px 28px 28px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.loan-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.loan-modal-meta {
  flex: 1;
  min-width: 260px;
}

.loan-modal-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 6px 0 6px;
  line-height: 1.25;
}

.loan-modal-desc {
  font-size: 14px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
  max-width: 680px;
}

.loan-modal-footer {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.modal-footer-info {
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
  flex: 1;
  min-width: 240px;
}

.modal-footer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 768px) {
  .loan-modal-backdrop {
    padding: 12px;
  }
  .loan-modal-dialog {
    max-height: 94vh;
    border-radius: 16px;
  }
  .loan-modal-body {
    padding: 16px 16px 20px;
  }
  .loan-modal-title {
    font-size: 20px;
  }
  .loan-modal-header {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }
  .loan-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .modal-footer-actions {
    flex-direction: column;
  }
  .modal-footer-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Interactive Tools: Split Panels (EMI & Finder)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.panel h3 {
  color: var(--maroon);
  margin: 8px 0 12px;
  font-size: 24px;
  font-weight: 900;
}

.field {
  margin: 18px 0;
}

.field label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #55443e;
}

.field-hint {
  font-size: 12px;
  font-weight: normal;
  color: var(--primary);
}

.field input[type="text"],
.field input[type="number"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid #dfd0c7;
  background: #fffdfc;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  outline: none;
  color: var(--ink);
  transition: var(--transition);
  font-size: 14px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(232, 117, 40, 0.16);
}

/* Slider Controls */
.slider-control {
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: #e9ded7;
  outline: none;
  margin-top: 10px;
  -webkit-appearance: none;
  cursor: pointer;
}

.slider-control::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(232, 117, 40, 0.4);
  cursor: pointer;
  border: 2px solid #ffffff;
  transition: transform 0.15s ease;
}

.slider-control::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-control::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(232, 117, 40, 0.4);
  cursor: pointer;
  border: 2px solid #ffffff;
}

.quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.quick-pill {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #635048;
  cursor: pointer;
  transition: var(--transition);
}

.quick-pill:hover, .quick-pill.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* EMI Result Box */
.resultbox {
  background: #fff6ee;
  border: 1.5px solid #fedbc0;
  border-radius: 16px;
  padding: 22px;
  margin-top: 20px;
}

.resultbox small {
  font-size: 12px;
  font-weight: 700;
  color: #8b5635;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.resultbox strong {
  display: block;
  color: var(--maroon);
  font-size: 32px;
  font-weight: 950;
  margin: 4px 0 12px;
}

.emi-breakdown-bar {
  height: 10px;
  background: #f1ded2;
  border-radius: 10px;
  display: flex;
  overflow: hidden;
  margin: 14px 0 12px;
}

.emi-bar-principal {
  background: var(--primary);
  height: 100%;
}

.emi-bar-interest {
  background: var(--maroon);
  height: 100%;
}

.emi-breakdown-legend {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6e584d;
  font-weight: 700;
  margin-bottom: 12px;
}

.legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 5px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid #f2ded0;
}

.result-row:last-child {
  border: 0;
}

.notice {
  font-size: 11.5px;
  color: #8c786e;
  line-height: 1.6;
  margin-top: 12px;
}

/* Loan Finder Results */
.finder-card-result {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
  border: 1px solid #fedbc0;
}

.finder-card-result h4 {
  margin: 0 0 6px;
  color: var(--maroon);
  font-size: 17px;
}

/* ==========================================================================
   Fintech-Grade Document Checklist Hub (Stripe / CRED / BankBazaar UI)
   ========================================================================== */
.fintech-doc-section {
  background: linear-gradient(180deg, #f0f7ff 0%, #f8fbff 40%, #ffffff 100%);
  padding: 40px 0 60px;
}

.max-w-7xl {
  max-width: 80rem !important;
}

.bg-gray-50\/50 {
  background-color: rgba(249, 250, 251, 0.7) !important;
}

.border-gray-100 {
  border-color: #f3f4f6 !important;
}

.border-gray-200\/80 {
  border-color: rgba(229, 231, 235, 0.8) !important;
}

.shadow-xs {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.hover\:shadow-md:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-2px);
}

.duration-300 {
  transition-duration: 300ms !important;
}

.p-2\.5 {
  padding: 0.625rem !important;
}

.bg-blue-50 {
  background-color: #eff6ff !important;
}

.text-blue-600 {
  color: #2563eb !important;
}

.text-blue-500 {
  color: #3b82f6 !important;
}

.text-blue-800 {
  color: #1e40af !important;
}

.bg-blue-50\/60 {
  background-color: rgba(239, 246, 255, 0.6) !important;
}

.border-blue-100 {
  border-color: #dbeafe !important;
}

.bg-emerald-50 {
  background-color: #ecfdf5 !important;
}

.text-emerald-600 {
  color: #059669 !important;
}

.text-emerald-500 {
  color: #10b981 !important;
}

.bg-amber-50 {
  background-color: #fffbeb !important;
}

.text-amber-600 {
  color: #d97706 !important;
}

.text-amber-500 {
  color: #f59e0b !important;
}

.text-gray-800 {
  color: #1f2937 !important;
}

.text-gray-600 {
  color: #4b5563 !important;
}

.text-gray-400 {
  color: #9ca3af !important;
}

.tracking-tight {
  letter-spacing: -0.025em !important;
}

.tracking-wider {
  letter-spacing: 0.05em !important;
}

.space-y-3 > * + * {
  margin-top: 0.75rem !important;
}

.gap-2\.5 {
  gap: 0.625rem !important;
}

@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}

.fintech-doc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Category Navigation Pills */
.fintech-cat-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.fintech-cat-nav::-webkit-scrollbar {
  height: 4px;
}

.fintech-cat-nav::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.fintech-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 7px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  font-family: inherit;
}

.fintech-tab-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
}

.fintech-tab-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.fintech-tab-btn.active .tab-icon {
  transform: scale(1.1);
}

/* Header Hierarchy (Exact Match to Reference Image) */
.fintech-doc-header {
  margin-bottom: 28px;
  text-align: left;
}

.fintech-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0edff;
  color: #1d4ed8;
  border: 1px solid rgba(29, 78, 216, 0.08);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0;
}

.fintech-heading {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.fintech-subtitle {
  font-size: 15px;
  color: #475569;
  margin: 0 0 16px;
  line-height: 1.5;
  max-width: 720px;
}

.fintech-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.fintech-btn-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.fintech-btn-soft:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* 3-Column Card Grid */
.fintech-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

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

@media (max-width: 680px) {
  .fintech-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Card Styling (Exact Match to Reference Image) */
.fintech-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fintech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  border-color: #cbd5e1;
}

/* Card Header (Icon beside Title, clean divider line) */
.fintech-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 22px;
}

.fintech-card-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.fintech-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

/* Itemized Checklist */
.fintech-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.fintech-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Bare Emerald Green Checkmark matching reference screenshot */
.fintech-check-icon {
  width: 18px;
  height: 18px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.fintech-item-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fintech-item-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 3px;
}

.fintech-item-desc {
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
}

/* Pro Advisory Banner */
.fintech-tip-strip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0f172a;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.fintech-tip-strip b {
  color: #0f172a;
}

.fintech-tip-text {
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
}

/* Doorstep Assistance Banner */
.fintech-doorstep-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 24px 28px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
}

.fintech-doorstep-banner h4 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}

.fintech-doorstep-banner p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
  max-width: 650px;
}

.fintech-doorstep-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Toast Notification */
.doc-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 99999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.doc-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Legacy & Compatibility */
.checklist {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}

.checklist-item {
  padding: 8px 10px;
  font-size: 13px;
}

/* ==========================================================================
   "Ask DK" AI Assistant Chat
   ========================================================================== */
.chat-window {
  height: 330px;
  overflow-y: auto;
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

.bubble {
  max-width: 86%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.65;
  word-wrap: break-word;
}

.bubble.bot {
  background: #ffffff;
  border: 1px solid #ebd9cb;
  border-top-left-radius: 4px;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  align-self: flex-start;
}

.bubble.user {
  background: var(--primary-gradient);
  color: #ffffff;
  border-top-right-radius: 4px;
  align-self: flex-end;
  box-shadow: 0 3px 12px rgba(232, 117, 40, 0.25);
}

.bubble.typing {
  font-style: italic;
  color: var(--muted);
  background: #f7ede5;
}

.chat-input-row {
  display: flex;
  gap: 10px;
}

.chat-input-row input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid #dfd0c7;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

.chat-input-row input:focus {
  border-color: var(--primary);
}

.chat-quick-queries {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

/* ==========================================================================
   Trust & Why Choose DK Section
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.why-card strong {
  font-size: 18px;
  color: var(--maroon);
  display: block;
  margin-bottom: 8px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testi-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testi-stars {
  color: #ff9800;
  font-size: 15px;
  margin-bottom: 12px;
}

.testi-text {
  font-size: 13.5px;
  color: #4b3d37;
  line-height: 1.7;
  flex: 1;
  font-style: italic;
  margin: 0 0 16px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line-light);
  padding-top: 12px;
}

.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 15px;
}

/* ==========================================================================
   Enquiry / Contact Section
   ========================================================================== */
.contact-checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}

.contact-checklist li {
  padding: 10px 0;
  border-bottom: 1px solid #f2e7e0;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 15px;
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq button {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--maroon);
}

.faq button:hover {
  color: var(--primary);
}

.faq p {
  display: none;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0 0 18px;
  padding-right: 20px;
}

.faq.open p {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #251919;
  color: #fff2e8;
  padding: 56px 0 28px;
  border-top: 4px solid var(--primary);
}

.footergrid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.footer h4 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.footer p, .footer a {
  font-size: 13px;
  color: #d1beaf;
  line-height: 1.8;
}

.footer a:hover {
  color: #ff9e58;
}

.footbottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 22px;
  font-size: 12px;
  color: #bfaaa0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Sticky Mobile Action Bar
   ========================================================================== */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  padding: 8px 12px;
  z-index: 999;
  justify-content: space-around;
  gap: 8px;
}

.mobile-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  line-height: 1;
}

/* ==========================================================================
   Toast & Modal Notifications
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: var(--maroon);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: none;
  max-width: 360px;
  font-size: 13.5px;
  font-weight: 600;
  border-left: 4px solid var(--primary);
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  .topline, .nav, .hero, .metrics-band, #tools, #assistant, .why-choose, 
  .testimonials, #contact, .footer, .mobile-action-bar, .btn {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  #documents {
    padding: 0;
  }

  .wrap {
    max-width: 100%;
    padding: 0;
  }

  .panel {
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .checklist-item {
    border-bottom: 1px solid #ccc;
    page-break-inside: avoid;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footergrid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-grid, .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero {
    padding: 48px 0;
  }
  .hero-card {
    max-width: 560px;
    margin: 0 auto;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .mobile-action-bar {
    display: flex;
  }
  body {
    padding-bottom: 64px; /* offset for sticky bar */
  }
}

@media (max-width: 580px) {
  .wrap {
    padding: 0 16px;
  }
  .grid, .why-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .hero-stat-grid {
    gap: 8px;
  }
  .hero-card {
    padding: 20px;
  }
  .footergrid {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .topline-contacts {
    font-size: 11.5px;
  }
}
