/* Trend Money — Request Portfolio Consultation form
   Converted from app/components/campaign/LeadForm.tsx + LeadSuccess.tsx (Tailwind v4) */
.tm-lead-section {
  background: #0E1020;
  padding: 72px 16px;
  scroll-margin-top: 84px
}

.tm-lead-inner {
  max-width: 520px;
  margin: 0 auto
}

.tm-lf,
.tm-lf * {
  box-sizing: border-box
}

.tm-lf {
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  color: #fff;
  text-align: left
}

.tm-lf-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #0D0F14;
  padding: 24px 18px 20px
}

.tm-lf-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff
}

.tm-lf-body {
  margin-top: 20px
}

.tm-lf-body>:not(:last-child) {
  margin-bottom: 20px
}

.tm-lf-label {
  display: block;
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .75)
}

.tm-lf-rel {
  position: relative
}

.tm-lf-field {
  display: block;
  height: 52px;
  width: 100%;
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .6);
  font: inherit;
  font-size: 16px;
  color: #fff;
  outline: none;
  padding: 0 16px;
  transition: color .15s cubic-bezier(.4, 0, .2, 1), background-color .15s cubic-bezier(.4, 0, .2, 1), border-color .15s cubic-bezier(.4, 0, .2, 1), box-shadow .15s cubic-bezier(.4, 0, .2, 1), opacity .15s cubic-bezier(.4, 0, .2, 1)
}

.tm-lf-field::placeholder {
  color: rgba(255, 255, 255, .4);
  opacity: 1
}

.tm-lf-field:focus {
  border-color: oklch(67.3% .182 276.935 / .7);
  box-shadow: 0 0 0 2px oklch(67.3% .182 276.935 / .2)
}

.tm-lf-field:disabled {
  opacity: .6
}

select.tm-lf-field {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  padding: 0 40px 0 16px
}

select.tm-lf-field.is-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

select.tm-lf-field:disabled {
  cursor: default
}

.tm-lf-field option {
  background: #111;
  color: #fff
}

.tm-lf-chev {
  pointer-events: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .6)
}

.tm-lf-phone {
  display: flex;
  gap: 10px
}

.tm-lf-cc {
  display: flex;
  height: 52px;
  width: 72px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .6);
  font-size: 16px;
  color: #fff
}

.tm-lf-grow {
  position: relative;
  min-width: 0;
  flex: 1
}

.tm-lf-err {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 16px;
  color: oklch(70.4% .191 22.216)
}

.tm-lf-err.is-center {
  margin-top: 0;
  text-align: center
}

.tm-lf-otp {
  display: flex;
  gap: 10px
}

.tm-lf-otp input {
  height: 52px;
  width: 52px;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .6);
  text-align: center;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  outline: none;
  transition: border-color .15s cubic-bezier(.4, 0, .2, 1)
}

.tm-lf-otp input:focus {
  border-color: oklch(67.3% .182 276.935 / .7)
}

.tm-lf-otp.is-error input,
.tm-lf-otp.is-error input:focus {
  border-color: oklch(63.7% .237 25.331 / .7)
}

.tm-lf-otp-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px
}

.tm-lf-wait {
  color: rgba(255, 255, 255, .45)
}

.tm-lf-linkbtn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px
}

.tm-lf-resend {
  color: oklch(78.5% .115 274.713)
}

.tm-lf-edit {
  color: rgba(255, 255, 255, .55)
}

.tm-lf-submit {
  margin-top: 24px;
  display: flex;
  height: 54px;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 9999px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  box-shadow: 0 0 28px rgba(255, 255, 255, .12);
  transition: all .15s cubic-bezier(.4, 0, .2, 1)
}

.tm-lf-submit:hover {
  background: rgba(255, 255, 255, .9)
}

.tm-lf-submit:active {
  transform: scale(.98)
}

.tm-lf-submit:disabled {
  cursor: not-allowed;
  opacity: .6
}

.tm-lf-submit svg {
  display: block
}

.tm-lf-note {
  margin-top: 14px;
  margin-bottom: 0;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .4)
}

.tm-lf [hidden] {
  display: none !important
}

/* success (LeadSuccess.tsx) */
.tm-lf-success {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #0D0F14;
  padding: 32px 18px;
  text-align: center
}

.tm-lf-badge {
  display: flex;
  align-items: center;
  justify-content: center
}

.tm-lf-badge svg {
  display: block;
  width: 64px;
  height: 64px
}

.tm-lf-badge circle {
  transform-origin: center;
  animation: tm-lf-scaleIn .4s ease-out
}

.tm-lf-badge path {
  animation: tm-lf-draw .6s ease-out .2s forwards
}

@keyframes tm-lf-scaleIn {
  from {
    transform: scale(0);
    opacity: 0
  }

  to {
    transform: scale(1);
    opacity: 1
  }
}

@keyframes tm-lf-draw {
  to {
    stroke-dashoffset: 0
  }
}

.tm-lf-s-title {
  margin: 24px 0 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff
}

.tm-lf-s-bar {
  margin: 12px auto 0;
  height: 3px;
  width: 40px;
  border-radius: 9999px;
  background: oklch(72.3% .219 149.579)
}

.tm-lf-s-text {
  margin: 16px auto 0;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.625;
  color: rgba(255, 255, 255, .55)
}

.tm-lf-s-details {
  margin-top: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  padding: 16px 20px;
  text-align: left
}

.tm-lf-s-details>:not(:last-child) {
  margin-bottom: 12px
}

.tm-lf-s-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px
}

.tm-lf-s-row span:first-child {
  flex-shrink: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .45)
}

.tm-lf-s-row span:last-child {
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  color: #fff
}

.tm-lf-s-foot {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.tm-lf-s-foot svg {
  display: block
}

.tm-lf-s-foot span {
  font-size: 12px;
  line-height: 16px;
  color: #8B93C9
}

@media(min-width:768px) {
  .tm-lead-section {
    padding: 96px 24px
  }
}

@media(min-width:1024px) {
  .tm-lf-card {
    border-radius: 20px;
    padding: 28px
  }

  .tm-lf-title {
    font-size: 24px;
    font-weight: 700
  }

  .tm-lf-body>:not(:last-child) {
    margin-bottom: 16px
  }

  .tm-lf-label {
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .7)
  }

  .tm-lf-field,
  .tm-lf-cc {
    height: 42px;
    font-size: 14px
  }

  .tm-lf-field::placeholder {
    color: rgba(255, 255, 255, .35)
  }

  .tm-lf-otp input {
    height: 46px;
    width: 46px
  }

  .tm-lf-submit {
    margin-top: 20px;
    height: 48px;
    font-size: 14px;
    font-weight: 600
  }

  .tm-lf-note {
    font-size: 12px;
    color: rgba(255, 255, 255, .35)
  }

  .tm-lf-success {
    border-radius: 20px;
    padding: 32px
  }

  .tm-lf-s-title {
    font-size: 26px
  }
}

@media(prefers-reduced-motion:reduce) {
  .tm-lf * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important
  }
}

/* --- fix: page styles for h2 / input / select were leaking into the form --- */
.tm-lf .tm-lf-title,
.tm-lf .tm-lf-s-title {
  font-family: 'Inter', sans-serif;
  letter-spacing: normal
}

.tm-lf .tm-lf-field,
.tm-lf .tm-lf-otp input {
  min-height: 0
}

/* --- hero layout: photo band + overlapping card (hero text left, form right) --- */
.tm-hh {
  padding-bottom: 50px
}

.tm-hh-media {
  height: 200px;
  overflow: hidden
}

.tm-hh .tm-hh-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0
}

.tm-hh-card {
  position: relative;
  max-width: 1200px;
  margin: -60px 12px 0;
  border-radius: 24px;
  background: transparent;
  padding: 28px 18px 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px
}

.tm-hh-copy>:first-child {
  margin-top: 0
}

.tm-hh-copy .eyebrow {
  display: inline-block
}

.tm-hh-form {
  scroll-margin-top: 96px
}

/* keep the hero's "p" text style from changing the form's own text */
.hero .tm-lf p {
  max-width: none
}

.hero .tm-lf .tm-lf-label {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .75)
}

.hero .tm-lf .tm-lf-err {
  font-size: 12px;
  color: oklch(70.4% .191 22.216)
}

.hero .tm-lf .tm-lf-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .4)
}

.hero .tm-lf .tm-lf-s-text {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  max-width: 320px
}

@media(min-width:768px) {
  .tm-hh {
    padding-bottom: 85px
  }

  .tm-hh-media {
    height: 300px
  }

  .tm-hh-card {
    margin: -120px auto 0;
    width: calc(100% - 48px);
    padding: 40px
  }
}

@media(min-width:1024px) {
  .tm-hh-media {
    height: 360px
  }

  .tm-hh-card {
    margin-top: -170px;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 56px;
    align-items: start;
    padding: 48px 48px 48px 56px;
    border-radius: 28px
  }

  .tm-hh-copy {
    padding-top: 12px
  }

  .hero .tm-lf .tm-lf-label {
    font-size: 11px;
    color: rgba(255, 255, 255, .7)
  }

  .hero .tm-lf .tm-lf-note {
    font-size: 12px;
    color: rgba(255, 255, 255, .35)
  }
}

/* --- hero form: smaller + page theme (navy, #343A66 borders, #7480FE accent, DM Sans / Sora) --- */
.hero .tm-lf {
  font-family: 'DM Sans', sans-serif
}

.hero .tm-lf-card,
.hero .tm-lf-success {
  background: rgba(255, 255, 255, .04);
  border: 1px solid #343A66;
  border-radius: 22px;
  padding: 22px 18px 18px
}

.hero .tm-lf .tm-lf-title,
.hero .tm-lf .tm-lf-s-title {
  font-family: Sora, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #fff
}

.hero .tm-lf-body {
  margin-top: 16px
}

.hero .tm-lf-body>:not(:last-child) {
  margin-bottom: 14px
}

.hero .tm-lf .tm-lf-label {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #C9CDFF
}

.hero .tm-lf-field,
.hero .tm-lf-cc,
.hero .tm-lf-otp input {
  background: #0E1020;
  border-color: #343A66;
  border-radius: 10px
}

.hero .tm-lf-field {
  height: 48px;
  font-size: 16px
}

.hero .tm-lf-cc {
  height: 48px;
  width: 64px;
  font-size: 15px;
  color: #C3C7DA
}

.hero .tm-lf-field::placeholder {
  color: rgba(195, 199, 218, .55)
}

.hero .tm-lf-field:focus,
.hero .tm-lf-otp input:focus {
  border-color: #7480FE;
  box-shadow: 0 0 0 2px rgba(116, 128, 254, .25)
}

.hero .tm-lf-chev {
  color: #C3C7DA
}

.hero .tm-lf-otp input {
  height: 48px;
  width: 48px
}

.hero .tm-lf .tm-lf-resend {
  color: #C9CDFF
}

.hero .tm-lf .tm-lf-edit,
.hero .tm-lf .tm-lf-wait {
  color: #C3C7DA
}

.hero .tm-lf-submit {
  margin-top: 18px;
  height: 48px;
  background: #7480FE;
  color: #101124;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none
}

.hero .tm-lf-submit:hover {
  background: #8790ff
}

.hero .tm-lf .tm-lf-note {
  margin-top: 12px;
  font-size: 12px;
  color: #C3C7DA;
  opacity: .7
}

.hero .tm-lf .tm-lf-s-text {
  color: #C3C7DA
}

.hero .tm-lf-s-details {
  border-color: #343A66;
  background: #0E1020
}

.hero .tm-lf-s-row span:first-child {
  color: #C3C7DA
}

.hero .tm-lf-s-foot span,
.hero .tm-lf-s-foot svg path {
  color: #C9CDFF;
  stroke: #C9CDFF
}

@media(min-width:1024px) {
  .tm-hh-card {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 64px
  }

  .hero .tm-lf-card,
  .hero .tm-lf-success {
    padding: 24px
  }

  .hero .tm-lf-body>:not(:last-child) {
    margin-bottom: 12px
  }

  .hero .tm-lf .tm-lf-label {
    font-size: 10.5px;
    color: #C9CDFF
  }

  .hero .tm-lf-field,
  .hero .tm-lf-cc {
    height: 40px;
    font-size: 14px
  }

  .hero .tm-lf-otp input {
    height: 40px;
    width: 40px;
    font-size: 16px
  }

  .hero .tm-lf-submit {
    height: 44px;
    font-size: 14px
  }

  .hero .tm-lf .tm-lf-note {
    font-size: 11.5px;
    color: #C3C7DA
  }
}

/* --- hero photo: darken it so the text and form stay readable, and fade it into the navy --- */
.tm-hh-media {
  position: relative
}

.tm-hh-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 16, 32, .45) 0%, rgba(14, 16, 32, .70) 55%, #0E1020 100%),
    linear-gradient(90deg, rgba(14, 16, 32, .45) 0%, rgba(14, 16, 32, 0) 65%)
}

.tm-hh .tm-hh-form .tm-lf .tm-lf-card {
  background: rgba(14, 16, 32, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px)
}

/* --- hero photo starts right at the top, behind the nav (no navy gap) --- */
.tm-hh.tm-under-nav {
  padding-top: 0
}

.tm-hh-media {
  height: 272px
}

@media(min-width:768px) {
  .tm-hh-media {
    height: 384px
  }
}

@media(min-width:1024px) {
  .tm-hh-media {
    height: 444px
  }
}

/* --- eyebrow badge on one line on phones (text shrinks slightly to fit the screen) --- */
@media(max-width:767px) {
  .tm-hh-copy .eyebrow {
    white-space: nowrap;
    font-size: clamp(8.8px, calc(3.7vw - 3.2px), 13px);
    padding: 6px 10px
  }
}

/* --- white form: only on pages where the form wrapper has class "tm-lf-white" --- */
.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-card,
.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-success {
  background: #fff;
  border-color: #E7E9EF;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25)
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-title,
.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-s-title {
  color: #111318
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-label {
  color: #111318
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-field,
.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-otp input {
  background: #fff;
  border-color: #CED1DB;
  color: #111318
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-field::placeholder {
  color: #8A90A2
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-field:focus,
.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-otp input:focus {
  border-color: #7480FE;
  box-shadow: 0 0 0 3px rgba(116, 128, 254, .2)
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-field:disabled {
  background: #F5F6FA;
  color: #535967;
  opacity: 1
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-field option {
  background: #fff;
  color: #111318
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-cc {
  background: #F5F6FA;
  border-color: #CED1DB;
  color: #111318
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-chev {
  color: #535967
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-err {
  color: #D92D20
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-otp.is-error input {
  border-color: #D92D20
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-wait,
.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-edit,
.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-note {
  color: #535967
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-resend {
  color: #3E49C9
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-submit {
  background: #111318;
  color: #fff;
  box-shadow: none
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-submit:hover {
  background: #000
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-s-text {
  color: #535967
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-s-details {
  background: #F5F6FA;
  border-color: #E7E9EF
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-s-row span:first-child {
  color: #535967
}

.tm-hh .tm-hh-form.tm-lf-white .tm-lf .tm-lf-s-row span:last-child {
  color: #111318
}

/* --- Delhi NCR badge on one line on phones --- */
@media(max-width:767px) {
  #top .tm-delhi-badge {
    white-space: nowrap !important;
    font-size: clamp(9.5px, calc(4vw - 3px), 14px) !important;
    padding: 6px 10px !important
  }
}

/* --- less space between the nav and the hero content --- */
.tm-hh-card {
  margin-top: -192px
}

@media(min-width:768px) {
  .tm-hh-card {
    margin-top: -284px
  }
}

@media(min-width:1024px) {
  .tm-hh-card {
    margin-top: -360px
  }
}

/* --- eyebrow badge: dark background so it reads clearly over the photo --- */
.tm-hh-copy .eyebrow {
  background: rgba(14, 16, 32, .75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px)
}

/* --- Delhi NCR badge: same background as the other pages --- */
#top .tm-delhi-badge {
  background: rgba(14, 16, 32, .75) !important
}

/* --- footer: Advisory Across India links (from Footer.tsx) --- */
.tm-adv{margin-top:44px;padding-top:32px;border-top:1px solid var(--tm-line)}
.tm-adv-title{margin-bottom:12px;font-size:16px;line-height:24px;font-weight:600;color:var(--tm-fg)}
.tm-adv-links{margin:0;font-size:13px;line-height:2;color:var(--tm-mut)}
.tm-adv-sep{margin:0 8px}