/* RSB Wealth Pvt. Ltd. — shared styles
   Palette pulled from the company logo:
   coral/terracotta accent, charcoal ink, warm cream background */
:root {
  --coral: #D9704A;
  --coral-dark: #B85A38;
  --coral-light: #F2C4AC;
  --ink: #3F3A38;
  --ink-soft: #6B6462;
  --cream: #FAF6F1;
  --cream-deep: #F1E9DF;
  --white: #FFFFFF;
  --border: #E7DDD0;
  --shadow: 0 10px 30px rgba(63, 58, 56, 0.08);
  --radius: 14px;
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

a { color: var(--coral-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top notice bar ---------- */
.notice-bar {
  background: var(--ink);
  color: var(--cream);
  font-size: 12.5px;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: 0.2px;
}
.notice-bar strong { color: var(--coral-light); }

/* ---------- Header ---------- */
header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.brand img.logo {
  height: 46px;
  width: auto;
  border-radius: 6px;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text .name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-text .tag {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
}
nav.main-nav a:hover { color: var(--coral-dark); text-decoration: none; }

.nav-cta {
  display: inline-block;
  background: var(--coral);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--coral-dark); text-decoration: none; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-deep) 100%);
  padding: 56px 0 52px;
  border-bottom: 1px solid var(--border);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--coral-light);
  color: var(--coral-dark);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; }
.badge-row .eyebrow { margin-bottom: 18px; }
.eyebrow-alt { background: var(--cream-deep); color: var(--ink-soft); border: 1px solid var(--border); }
.hero h1 {
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--ink);
}
.hero h1 span { color: var(--coral-dark); }
.hero p.lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); text-decoration: none; }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); text-decoration: none; }

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.hero-illustration { width: 100%; height: auto; margin-bottom: 18px; }
.hero-card h3 { margin-top: 0; font-size: 16px; color: var(--coral-dark); }
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 10px;
}
.stat { border-top: 3px solid var(--coral); padding-top: 8px; }
.stat .num { font-size: 26px; font-weight: 800; color: var(--ink); }
.stat .label { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Sections ---------- */
section { padding: 60px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: 30px; margin: 0 0 12px; color: var(--ink); }
.section-head p { color: var(--ink-soft); margin: 0; }

.alt-bg { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-list { list-style: none; padding: 0; margin: 22px 0 0; }
.about-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.about-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--coral);
  color: var(--white);
  border-radius: 50%;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.greeting-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.greeting-illustration { width: 220px; max-width: 100%; height: auto; display: block; margin: 0 auto; }
.reg-list { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.reg-list > div {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.reg-list > div:last-child { border-bottom: none; padding-bottom: 0; }
.reg-list dt { font-weight: 700; color: var(--ink); margin: 0; font-size: 12.5px; }
.reg-list dd { margin: 0; }
.reg-note { display: block; margin-top: 14px; font-size: 12px; line-height: 1.5; }

/* Services */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--coral-light);
  color: var(--coral-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.card .icon-illustration { display: block; margin-bottom: 16px; }
.card h3 { margin: 0 0 10px; font-size: 17px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* Process */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-top: 12px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 14px;
}
.step h4 { margin: 0 0 8px; font-size: 15.5px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 13.5px; }
.step-icon {
  position: absolute;
  top: 0; right: 0;
  color: var(--coral);
  opacity: 0.55;
}

/* Trust / why choose us */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  text-align: center;
}
.trust-item {
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 26px 18px;
}
.trust-item .num { font-size: 24px; font-weight: 800; color: var(--coral-dark); }
.trust-item .label { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-illustration { width: 100%; max-width: 280px; height: auto; margin-bottom: 20px; }
.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li {
  display: flex; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-list .ic {
  width: 38px; height: 38px; flex: none;
  border-radius: 10px;
  background: var(--coral-light);
  color: var(--coral-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.contact-info-list .label { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 2px; }
.contact-info-list .value { font-weight: 600; color: var(--ink); font-size: 14.5px; }

form.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 14px;
  background: var(--cream);
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--coral);
}
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 18px; }
.consent input { margin-top: 3px; }
.form-note { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }

/* CTA banner */
.cta-banner {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { margin: 0 0 8px; font-size: 24px; color: var(--white); }
.cta-banner p { margin: 0; color: #D8D2CD; }
.cta-banner-copy { display: flex; align-items: center; gap: 20px; }
.cta-illustration { width: 64px; height: 64px; flex: none; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #2E2A28;
  color: #C9C2BC;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid #47413E;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; min-width: 0; }
.footer-brand img { height: auto; width: 100%; max-width: 190px; border-radius: 6px; background: var(--white); padding: 4px 8px; display: block; }
footer.site-footer p { font-size: 13.5px; line-height: 1.7; color: #ABA39D; }
footer.site-footer h4 {
  color: var(--white);
  font-size: 13.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer ul li { margin-bottom: 10px; }
footer.site-footer a { color: #C9C2BC; font-size: 13.5px; }
footer.site-footer a:hover { color: var(--coral-light); text-decoration: none; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #47413E;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 14px;
}
.social-row a:hover { background: var(--coral); }

.footer-bottom {
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #928B85;
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: #928B85; }
.footer-bottom a:hover { color: var(--coral-light); }

.rbi-disclaimer {
  background: #241F1D;
  color: #928B85;
  font-size: 12px;
  padding: 14px 0;
  text-align: center;
}
.rbi-disclaimer .wrap { max-width: 900px; }

.footer-legal {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
}
.footer-legal summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  list-style: none;
}
.footer-legal summary::-webkit-details-marker { display: none; }
.footer-legal summary::before { content: "+ "; color: var(--coral-dark); }
.footer-legal[open] summary::before { content: "\2212 "; }
.footer-legal .reg-list { margin-top: 16px; }

/* ---------- Placeholder tag ---------- */
.ph {
  background: #FFF1DE;
  border-bottom: 1px dashed #C98A2E;
  color: #8A5A16;
  padding: 0 3px;
  font-style: normal;
}

/* ---------- Legal / policy pages ---------- */
.legal-hero {
  background: var(--cream-deep);
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}
.legal-hero h1 { margin: 0 0 8px; font-size: 30px; }
.legal-hero p { margin: 0; color: var(--ink-soft); font-size: 13.5px; }
.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal-body h2 {
  font-size: 19px;
  margin: 36px 0 12px;
  color: var(--coral-dark);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 15px; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 8px;
}
.legal-toc h3 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.4px; }
.legal-toc ol { margin: 0; padding-left: 20px; }
.legal-toc a { font-size: 13.5px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; margin-bottom: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
}
@media (max-width: 720px) {
  .hero h1 { font-size: 30px; }
  .card-grid, .process-row, .trust-grid, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .brand img.logo { height: 36px; }
  .brand-text .tag { display: none; }
  .brand-text .name { font-size: 13px; }
  .nav-row { padding: 10px 16px; }
  .notice-bar { font-size: 11.5px; padding: 7px 12px; }
  .reg-list > div { grid-template-columns: 1fr; gap: 2px; }
}

nav.main-nav.open {
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 20px;
}
nav.main-nav.open ul { flex-direction: column; gap: 16px; }
