/* ============================================================
   YAMI ADVISORS — Inner page components (Page Hero, Prose, Forms…)
   ============================================================ */

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  position: relative;
  padding: 190px 0 110px;
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(196,154,58,0.16) 0%, transparent 55%),
    linear-gradient(160deg, var(--ink) 0%, var(--deep-navy) 50%, var(--navy) 100%);
  overflow: hidden;
}

.page-hero .orb-gold { top: -140px; right: -120px; opacity: 0.5; }
.page-hero .orb-navy { bottom: -220px; left: -160px; }

.page-hero .hero-img img { opacity: 0.22; }

.page-hero-content { position: relative; z-index: 2; max-width: 860px; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}

.breadcrumbs a { color: rgba(255,255,255,0.65); transition: color 0.3s; }
.breadcrumbs a:hover { color: var(--light-gold); }
.breadcrumbs .sep { opacity: 0.4; }
.breadcrumbs .current { color: var(--light-gold); }

.page-hero .label-pill { margin-bottom: 24px; }
.page-hero h1 { color: var(--white); margin-bottom: 22px; }

.page-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin-bottom: 38px;
}

/* ============ PROSE (rich text blocks) ============ */
.prose { max-width: 860px; margin: 0 auto; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 1.6em 0 0.6em; }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 0.5em; color: var(--navy); }
.prose h4 { font-size: 1.05rem; margin: 1.2em 0 0.4em; color: var(--navy); }
.prose p { font-size: 16.5px; line-height: 1.85; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.75;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--light-gold));
  box-shadow: 0 4px 10px rgba(196,154,58,0.3);
}
.prose ol { counter-reset: li; list-style: none; padding-left: 0; }
.prose ol li {
  counter-increment: li;
  position: relative;
  padding-left: 46px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}
.prose ol li::before {
  content: counter(li, decimal-leading-zero);
  position: absolute;
  left: 0; top: 2px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--deep-navy);
  color: var(--light-gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prose strong { color: var(--deep-navy); font-weight: 700; }
.prose .gold-line {
  display: inline-block;
  width: 54px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--light-gold));
  margin: 1.6em 0 0;
}

.prose-block { max-width: 860px; margin: 0 auto; }
.prose-block .label-pill { margin-bottom: 20px; }
.prose-block h2 { margin-bottom: 18px; }
.prose-block > p { font-size: 17px; line-height: 1.85; margin-bottom: 20px; }

/* ============ CARDS GRID ============ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.mini-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(11,49,91,0.08);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s;
  overflow: hidden;
}

.mini-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--light-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.mini-card:hover { transform: translateY(-6px); border-color: rgba(196,154,58,0.35); box-shadow: 0 24px 48px rgba(6,31,61,0.12); }
.mini-card:hover::before { transform: scaleX(1); }

.mini-card .mc-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--navy), var(--deep-navy));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(6,31,61,0.25);
}

.mini-card .mc-icon svg { width: 24px; height: 24px; stroke: var(--white); }
.mini-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.mini-card p { font-size: 14.5px; margin: 0; }

/* Dark variant (for navy sections) */
.card-grid.dark .mini-card {
  background: rgba(255,255,255,0.05);
  border-color: var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card-grid.dark .mini-card h3 { color: var(--white); }
.card-grid.dark .mini-card p { color: rgba(255,255,255,0.62); }
.card-grid.dark .mini-card .mc-icon { background: linear-gradient(135deg, var(--gold), var(--light-gold)); box-shadow: 0 10px 24px rgba(196,154,58,0.3); }
.card-grid.dark .mini-card .mc-icon svg { stroke: var(--deep-navy); }
.card-grid.dark .mini-card::before { background: linear-gradient(90deg, var(--light-gold), var(--gold), transparent); }

/* ============ CHECKLIST ============ */
.check-list { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(11,49,91,0.07);
  box-shadow: var(--shadow-card);
  font-weight: 500;
  color: #2b3a52;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.check-list li:hover { transform: translateX(6px); border-color: rgba(196,154,58,0.4); }
.check-list li .check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--light-gold));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  box-shadow: 0 6px 16px rgba(196,154,58,0.3);
}
.check-list li .check svg { width: 12px; height: 12px; stroke: var(--deep-navy); stroke-width: 3; }

/* ============ NOTICE / DISCLAIMER ============ */
.notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 26px;
  border-radius: 18px;
  background: var(--gold-soft);
  border: 1px solid rgba(196,154,58,0.3);
  font-size: 14.5px;
  line-height: 1.7;
  color: #5a4a1e;
  max-width: 860px;
  margin: 0 auto;
}
.notice svg { width: 22px; height: 22px; stroke: var(--gold); flex-shrink: 0; margin-top: 3px; }
.notice strong { color: var(--deep-navy); }

/* ============ VERTICAL STEPS (process pages) ============ */
.step-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; }
.step-row {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 34px;
  padding: 34px 0;
}
.step-row::before {
  content: '';
  position: absolute;
  left: 43px; top: 96px; bottom: -10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(196,154,58,0.5), rgba(196,154,58,0.08));
}
.step-row:last-child::before { display: none; }
.step-row .step-dot { margin: 0; }
.step-row h3 { font-size: 20px; margin-bottom: 8px; }
.step-row p { font-size: 15.5px; color: var(--text-gray); max-width: 620px; }

/* ============ TABLE (EMI page) ============ */
.table-wrap {
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11,49,91,0.1);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}
.table-wrap table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 560px; }
.table-wrap th {
  background: var(--deep-navy);
  color: var(--light-gold);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 16px 22px;
}
.table-wrap td {
  padding: 15px 22px;
  font-size: 14.5px;
  border-top: 1px solid rgba(11,49,91,0.06);
  color: var(--text-gray);
}
.table-wrap tbody tr:nth-child(even) { background: var(--light-bg); }
.table-wrap td:first-child { font-weight: 600; color: var(--deep-navy); }

/* ============ DOCUMENT GRID ============ */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; }
.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(11,49,91,0.08);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.doc-card:hover { transform: translateY(-4px); border-color: rgba(196,154,58,0.4); }
.doc-card .dc-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.doc-card .dc-icon svg { width: 20px; height: 20px; stroke: var(--gold); }
.doc-card h4 { font-size: 15px; margin-bottom: 2px; }
.doc-card p { font-size: 13px; color: var(--text-gray); margin: 0; }

/* ============ SPLIT WITH IMAGE (inner pages) ============ */
.split-media .media-slot { aspect-ratio: 16 / 10.5; }

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.contact-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(11,49,91,0.08);
  box-shadow: var(--shadow-card);
  padding: 44px;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--light-gold), transparent);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--deep-navy);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--deep-navy);
  padding: 15px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(11,49,91,0.14);
  background: var(--off-white);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  width: 100%;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(196,154,58,0.12);
}

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

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-gray);
  margin: 6px 0 24px;
  line-height: 1.6;
}
.form-privacy svg { width: 15px; height: 15px; stroke: var(--gold); flex-shrink: 0; margin-top: 3px; }

.info-panel {
  position: sticky;
  top: 110px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 90% 0%, rgba(196,154,58,0.18) 0%, transparent 55%),
    linear-gradient(160deg, var(--ink), var(--deep-navy) 60%, var(--navy));
  border: 1px solid rgba(196,154,58,0.25);
  box-shadow: 0 40px 90px rgba(6,31,61,0.3);
}

.info-panel .ip-media { position: relative; height: 200px; overflow: hidden; }
.info-panel .ip-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.info-panel .ip-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--deep-navy) 100%);
}

.info-panel .ip-body { padding: 34px; }
.info-panel h3 { color: var(--white); font-size: 21px; margin-bottom: 8px; }
.info-panel .ip-sub { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 26px; }

.ip-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.ip-row { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-border); transition: background 0.3s; }
.ip-row:hover { background: var(--glass-strong); }
.ip-row .ip-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ip-row .ip-icon svg { width: 17px; height: 17px; stroke: var(--light-gold); }
.ip-row .ip-label { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); font-weight: 700; }
.ip-row .ip-value { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--white); }

/* ============ LEGAL PAGES ============ */
.legal-prose { max-width: 860px; margin: 0 auto; }
.legal-prose h2 { font-size: 1.55rem; margin: 2em 0 0.6em; padding-top: 0.4em; border-top: 1px solid rgba(11,49,91,0.08); }
.legal-prose h3 { font-size: 1.15rem; margin: 1.5em 0 0.5em; }
.legal-prose p { font-size: 15.5px; line-height: 1.85; margin-bottom: 1em; }
.legal-prose ul { padding-left: 1.4em; margin-bottom: 1em; }
.legal-prose li { font-size: 15.5px; line-height: 1.8; margin-bottom: 8px; }
.legal-prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal-prose .legal-date { font-size: 13.5px; color: var(--text-gray); margin-bottom: 2em; }

/* ============ CITY CHIPS (PAN India coverage) ============ */
.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
}

.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  padding: 11px 20px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid rgba(11, 49, 91, 0.12);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, color 0.35s, background 0.35s;
}

.city-chip::before {
  content: '◆';
  font-size: 8px;
  color: var(--gold);
}

.city-chip:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  color: var(--deep-navy);
  background: var(--gold-soft);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .doc-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .info-panel { position: static; }
}

@media (max-width: 640px) {
  .page-hero { padding: 150px 0 80px; }
  .card-grid, .card-grid.cols-2, .card-grid.cols-4, .doc-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 30px 24px; }
  .step-row { grid-template-columns: 64px 1fr; gap: 20px; }
  .step-row::before { left: 31px; }
  .step-row .step-dot { width: 64px; height: 64px; }
  .table-wrap th, .table-wrap td { padding: 12px 14px; font-size: 13px; }
}
