/* Site footer: airy, dotted-divider layout — logo + tagline, nav row, icon row, legal, copyright.
   Content sourced from the existing site; only the format changed. */
.site-footer { position: relative; background: #fff; border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 84px) 0 clamp(28px, 4vw, 40px); }

/* ---- top: logo + short tagline ---- */

.sf__logo img { height: 30px; width: auto; display: block; }
.sf__contactline {
  margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px;
  font-size: 13.5px; color: var(--mute);
}
.sf__contactline a { color: var(--plum); font-weight: 600; transition: color 0.25s; }
.sf__contactline a:hover { color: var(--o); }

/* ---- dotted section dividers ---- */
.sf__rule { border: 0; border-top: 1px dotted rgba(0, 0, 0, 0.18); }

/* ---- nav columns ---- */
.sf__cols {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px;
  padding: clamp(28px, 3.4vw, 40px) 0;
}
.sf__col { flex: 1 1 160px; min-width: 140px; }
.sf__col h2 { margin: 0 0 14px; line-height: 1.4; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.sf__col a { display: block; padding: 6px 0; font-size: 13.5px; color: var(--plum); transition: color 0.25s; }
.sf__col a:hover { color: var(--o); }
.sf__col p { margin: 0; font-size: 13.5px; color: var(--plum); line-height: 1.6; }
.sf__col--office { flex-basis: 220px; }
.sf__col--app { flex-basis: 200px; }

/* charts-partner logo (TradingView) */
.sf__tv { height: 22px; width: auto; display: block; opacity: 0.82; transition: opacity 0.25s; }
.sf__tv:hover { opacity: 1; }

/* app store / play store badges */
.sf__badges { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.sf__badge { display: inline-block; width: fit-content; transition: transform 0.3s var(--ease), opacity 0.3s; }
.sf__badge:hover { transform: translateY(-2px); opacity: 0.85; }
.sf__badge img { display: block; height: 40px; width: auto; }

/* ---- contact + social icon row ---- */

/* ---- legal small print ---- */
.sf__legal { padding-top: clamp(20px, 2.6vw, 28px); color: #6b6785; font-size: 11.5px; line-height: 1.75; }
.sf__legal p { margin: 0 0 9px; }
.sf__legal b { color: var(--plum); }
.sf__legal a { color: var(--plum); text-decoration: underline; text-decoration-color: rgba(122, 118, 146, 0.35); transition: color 0.25s; }
.sf__legal a:hover { color: var(--o); }

/* SEBI investor awareness message: always visible, sits with the risk disclosures */
.sf__aware { margin: 0 0 16px; padding: 14px 20px 15px; border-radius: 12px; background: #faf8ff; border: 1px solid rgba(55, 48, 92, 0.12); border-left: 3px solid var(--o); }
.sf__aware-title { margin: 0 0 8px; font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: -0.005em; color: var(--plum); }
.sf__aware-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 6px 28px; }
.sf__aware-list li { position: relative; padding-left: 18px; font-size: 12.5px; line-height: 1.5; font-weight: 600; color: #4a4670; }
.sf__aware-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--o); box-shadow: 0 0 0 3px rgba(241, 135, 23, 0.16); }
@media (max-width: 900px) { .sf__aware-list { grid-template-columns: repeat(2, minmax(0, auto)); } }
@media (max-width: 520px) { .sf__aware { padding: 13px 16px 14px; } .sf__aware-list { grid-template-columns: 1fr; } }

/* ---- bottom link row (policies + exchanges) ---- */
.sf__bottomlinks {
  margin-top: clamp(18px, 2.4vw, 26px); display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 20px; padding-top: clamp(18px, 2.4vw, 26px); border-top: 1px dotted rgba(0, 0, 0, 0.18);
}
.sf__bottomlinks a { font-size: 12px; font-weight: 600; color: var(--plum); transition: color 0.25s; }
.sf__bottomlinks a:hover { color: var(--o); }

/* ---- bottom copyright ---- */
.sf__bottom { margin-top: clamp(14px, 2vw, 20px); text-align: center; font-size: 12px; color: #6b6785; }
.sf__made { display: inline-flex; align-items: center; gap: 4px; }
.sf__made i { color: var(--o); font-size: 13px; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .sf__col { flex-basis: 45%; }
}
@media (max-width: 520px) {
  .sf__cols { gap: 24px; }
  .sf__col, .sf__col--office, .sf__col--app { flex-basis: 100%; }
  .sf__badges { flex-direction: row; flex-wrap: wrap; }
}

/* ---- official brand marks (monochrome SVG via mask; brand colour on hover) ---- */
.brand { width: 20px; height: 20px; display: block; background: var(--bc, currentColor); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; transition: background 0.25s; }

.brand--facebook { --m: url(../assets/social/facebook.svg); --bc: #1877f2; }
.brand--instagram { --m: url(../assets/social/instagram.svg); --bc: #e4405f; }
.brand--youtube { --m: url(../assets/social/youtube.svg); --bc: #ff0000; }
.brand--linkedin { --m: url(../assets/social/linkedin.svg); --bc: #0a66c2; }
.brand--x { --m: url(../assets/social/x.svg); --bc: #111; }

.brand--instagram { --bc: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }

/* ---- Read More / Read Less: collapses the long regulatory text, nothing is removed ---- */
.sf__more { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.45s var(--ease), visibility 0s linear 0.45s; }
.sf__more-in { overflow: hidden; min-height: 0; }
.sf__legal.is-open .sf__more { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.45s var(--ease), visibility 0s; }
.sf__toggle {
  margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 2px;
  font-size: 12.5px; font-weight: 700; color: var(--purple); cursor: pointer; transition: color 0.25s;
}
.sf__toggle:hover { color: var(--o); }
.sf__toggle:focus-visible { outline: 2px solid var(--o); outline-offset: 3px; border-radius: 6px; }
.sf__toggle i { transition: transform 0.3s var(--ease); }
.sf__toggle[aria-expanded="true"] i { transform: rotate(180deg); }

/* ---- contact details live under the registered office address ---- */
.sf__col--office .sf__contactline { display: grid; justify-content: start; justify-items: start; text-align: left; gap: 6px; margin: 16px 0 0; padding: 0; font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.sf__col--office .sf__contactline span { display: block; }
.sf__col--office .sf__contactline a { display: inline; padding: 0; font-size: inherit; color: var(--ink); font-weight: 600; }
.sf__col--office .sf__contactline a:hover { color: var(--o); }
/* ---- four-column footer: Registered Office (with logo) | Support | Follow Us | Download Our App ---- */
.sf__cols { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: clamp(24px, 3vw, 48px); padding: 0 0 clamp(28px, 3.4vw, 40px); }
.sf__col { min-width: 0; }
.sf__col--office .sf__logo { display: inline-block; margin-bottom: 20px; }
.sf__col--office .sf__logo img { height: 34px; width: auto; display: block; }
.sf__col a.sf__follow { display: flex; align-items: center; gap: 12px; padding: 7px 0; }
.sf__follow .brand { flex: 0 0 22px; width: 22px; height: 22px; }
.sf__follow-txt { display: grid; min-width: 0; line-height: 1.25; }
.sf__follow-txt b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.sf__follow-txt small { font-size: 12px; color: var(--mute); overflow-wrap: anywhere; }
.sf__follow:hover .sf__follow-txt b { color: var(--o); }

/* "Charts powered by TradingView" sits under the four columns */
.sf__powered { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 0 clamp(20px, 2.6vw, 28px); font-size: 12.5px; color: var(--mute); }
.sf__powered a { display: inline-flex; }

/* ---- right → left ticker for the investor notices ---- */
.sf__notices { display: grid; gap: 10px; margin-bottom: 14px; }
.sf__ticker { overflow: hidden; max-width: 100%; padding: 9px 0; border-radius: 10px; background: #faf8ff; border: 1px solid rgba(55, 48, 92, 0.1); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.sf__ticker-track { display: flex; width: max-content; animation: sf-tick 90s linear infinite; will-change: transform; }
.sf__ticker:hover .sf__ticker-track { animation-play-state: paused; }
.sf__ticker-set { flex: 0 0 auto; display: flex; padding-right: 64px; }
.sf__tick-item { white-space: nowrap; font-size: 12.5px; color: var(--plum); }
.sf__tick-item b, .sf__tick-item strong { color: var(--ink); }
@keyframes sf-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 980px) { .sf__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sf__cols { grid-template-columns: 1fr; } }

/* TradingView credit now lives under the app badges */
.sf__col--app .sf__powered { justify-content: flex-start; flex-wrap: wrap; gap: 8px 10px; padding: 16px 0 0; }
.sf__col--app .sf__powered { flex-direction: column; align-items: flex-start; gap: 6px; }
.sf__tv { height: 40px; opacity: 1; }
