@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Playfair+Display:wght@400;500;600&family=Plus+Jakarta+Sans:wght@400;600;700&display=swap");

/* Private Client Concierge band: brand forest green, underline fields, floating labels */

.lead-dossier {
  --ld-canvas: var(--color-brand-primary, #003d45);
  --ld-ink: #083335;
  --ld-gold: #c5a880;
  --ld-gold-deep: #b59468;
  --ld-heading: #f8f9fa;
  --ld-text: #ffffff;
  --ld-copy: rgba(255, 255, 255, 0.8);
  --ld-muted: rgba(255, 255, 255, 0.6);
  --ld-fine: rgba(255, 255, 255, 0.65);
  --ld-line: rgba(255, 255, 255, 0.2);
  --ld-error: #e8a598;
  --ld-sans: "Be Vietnam Pro", sans-serif;
  --ld-serif: "Playfair Display", serif;
  width: 100vw;
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border: 0;
  background: var(--ld-canvas);
  color: var(--ld-text);
  font-family: var(--ld-sans);
  scroll-margin-top: 96px;
}

.lead-dossier,
.lead-dossier * {
  box-sizing: border-box;
  border-radius: 0;
}

.lead-dossier__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px clamp(48px, 7vw, 112px);
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

body.page-services-hub .lead-dossier__box {
  padding: 40px 24px;
}

.lead-dossier__copy {
  min-width: 0;
}

.lead-dossier .lead-dossier__eyebrow {
  display: block;
  margin: 0 0 18px;
  color: var(--ld-gold);
  font-family: var(--ld-sans);
  font-size: 11px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.25em;
  line-height: 1.6;
  text-transform: uppercase;
}

.lead-dossier .lead-dossier__title {
  margin: 0 0 18px;
  color: var(--ld-heading);
  font-family: var(--ld-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.005em;
  line-height: 1.22;
  text-transform: none;
  text-wrap: balance;
}

.lead-dossier .lead-dossier__lead {
  max-width: 30rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--ld-sans);
  font-size: 15px;
  font-weight: 300;
  font-synthesis: none;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.lead-dossier__form {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-family: var(--ld-sans);
}

.lead-dossier__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Label follows the control in the DOM; `order` lifts it above. */
.lead-dossier__field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  margin: 0;
  position: relative;
}

.lead-dossier .lead-dossier__field input,
.lead-dossier .lead-dossier__field select {
  display: block;
  width: 100%;
  height: 36px;
  margin: 0;
  padding: 4px 0 6px;
  border: 0;
  border-bottom: 1px solid var(--ld-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ld-text);
  font-family: var(--ld-sans);
  font-size: 15px;
  font-weight: 300;
  font-synthesis: none;
  letter-spacing: 0.03em;
  line-height: 1.5;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s ease;
}

.lead-dossier .lead-dossier__field select {
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23c5a880' stroke-width='1.2'/%3E%3C/svg%3E");
  background-position: right 2px center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
  cursor: pointer;
}

.lead-dossier .lead-dossier__field select option {
  background: #083335;
  color: rgba(255, 255, 255, 0.85);
}

.lead-dossier .lead-dossier__field select.is-customized {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.lead-dossier__select {
  position: relative;
  width: 100%;
}

.lead-dossier .lead-dossier__select-trigger {
  display: flex;
  width: 100%;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 4px 2px 6px 0;
  border: 0;
  border-bottom: 1px solid var(--ld-line);
  background: transparent;
  box-shadow: none;
  color: var(--ld-text);
  font-family: var(--ld-sans);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.lead-dossier .lead-dossier__select-trigger::after {
  width: 12px;
  height: 8px;
  flex: 0 0 12px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23c5a880' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s ease;
}

.lead-dossier__select.is-open .lead-dossier__select-trigger {
  border-bottom-color: var(--ld-gold);
}

.lead-dossier__select.is-open .lead-dossier__select-trigger::after {
  transform: rotate(180deg);
}

.lead-dossier__select-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 20;
  max-height: 280px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--ld-canvas, #003d45);
  box-shadow: 0 18px 38px rgba(0, 20, 22, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  overscroll-behavior: contain;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
  scrollbar-width: thin;
}

.lead-dossier__select-panel::-webkit-scrollbar {
  width: 4px;
}

.lead-dossier__select-panel::-webkit-scrollbar-track {
  background: transparent;
}

.lead-dossier__select-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
}

.lead-dossier__select.is-open .lead-dossier__select-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lead-dossier .lead-dossier__select-group {
  margin: 8px 10px 3px;
  color: #c5a880;
  font-family: "Montserrat", var(--ld-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1.5;
  text-transform: uppercase;
}

.lead-dossier .lead-dossier__select-group:first-child {
  margin-top: 4px;
}

.lead-dossier .lead-dossier__select-option {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--ld-sans);
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lead-dossier .lead-dossier__select-option:hover,
.lead-dossier .lead-dossier__select-option:focus-visible,
.lead-dossier .lead-dossier__select-option[aria-selected="true"] {
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.lead-dossier .lead-dossier__field input::placeholder {
  color: transparent;
}

.lead-dossier .lead-dossier__field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--ld-canvas) inset;
  -webkit-text-fill-color: var(--ld-text);
  caret-color: var(--ld-text);
}

.lead-dossier .lead-dossier__field input:focus,
.lead-dossier .lead-dossier__field select:focus {
  border-bottom-color: var(--ld-gold);
}

.lead-dossier .lead-dossier__field input[aria-invalid="true"] {
  border-bottom-color: var(--ld-error);
}

.lead-dossier .lead-dossier__field > span {
  order: -1;
  max-width: 100%;
  overflow: hidden;
  color: var(--ld-muted);
  font-family: var(--ld-sans);
  font-size: 10.5px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.lead-dossier .lead-dossier__field input:focus + span,
.lead-dossier .lead-dossier__field select:focus + span {
  color: var(--ld-gold);
}

.lead-dossier .lead-dossier__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 52px;
  margin: 28px 0 0;
  padding: 15px 32px;
  border: 1px solid var(--ld-gold);
  border-radius: 0;
  background: var(--ld-gold);
  box-shadow: none;
  color: var(--ld-ink);
  font-family: "Montserrat", var(--ld-sans);
  font-size: 12px;
  font-weight: 500;
  font-synthesis: none;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}

/* brand.css pins shared CTA tracking with !important; the id outranks its selector. */
#global-git .lead-dossier__submit {
  letter-spacing: 1.5px !important;
}

.lead-dossier .lead-dossier__submit span {
  display: inline-block;
  font-family: inherit;
  letter-spacing: 0;
  transition: transform 0.35s ease;
}

.lead-dossier .lead-dossier__submit:hover,
.lead-dossier .lead-dossier__submit:focus-visible {
  border-color: var(--ld-gold-deep);
  background: var(--ld-gold-deep);
  box-shadow: 0 10px 30px rgba(197, 168, 128, 0.22);
}

.lead-dossier .lead-dossier__submit:hover span,
.lead-dossier .lead-dossier__submit:focus-visible span {
  transform: translateX(5px);
}

.lead-dossier .lead-dossier__submit:focus-visible {
  outline: 1px solid var(--ld-heading);
  outline-offset: 3px;
}

.lead-dossier .lead-dossier__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.lead-dossier .lead-dossier__fine {
  margin: 16px 0 0;
  color: var(--ld-fine);
  font-family: var(--ld-sans);
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  font-synthesis: none;
  letter-spacing: 0.02em;
  line-height: 1.6;
  text-align: left;
}

.lead-dossier .lead-dossier__status {
  min-height: 0;
  margin: 12px 0 0;
  color: var(--ld-copy);
  font-family: var(--ld-sans);
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
}

.lead-dossier .lead-dossier__status:empty {
  display: none;
}

.lead-dossier .lead-dossier__status.is-error {
  color: var(--ld-error);
}

@media (max-width: 900px) {
  .lead-dossier__box {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 52px 24px;
  }

  .lead-dossier .lead-dossier__lead {
    max-width: 36rem;
  }
}

@media (max-width: 640px) {
  .lead-dossier__box {
    padding: 44px 20px;
  }

  .lead-dossier .lead-dossier__submit {
    padding: 16px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-dossier .lead-dossier__field > span,
  .lead-dossier__select-panel,
  .lead-dossier .lead-dossier__select-trigger::after,
  .lead-dossier .lead-dossier__submit,
  .lead-dossier .lead-dossier__submit span {
    transition: none;
  }
}

/* Homepage architectural placard — same frame and type as /san-pham concierge. */
:is(body.home, body.page-team-open, body.page-placard-cta) .lead-dossier {
  width: auto;
  max-width: none;
  margin: 0;
  background: #ffffff;
  color: #083335;
}

:is(body.home, body.page-team-open, body.page-placard-cta) .lead-dossier__box {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 80px auto;
  padding: 56px 40px;
  background: #faf8f5;
  border-top: 2px solid #c5a880;
  border-right: 1px solid rgba(197, 168, 128, 0.35);
  border-bottom: 1px solid rgba(197, 168, 128, 0.35);
  border-left: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  text-align: center;
}

:is(body.home, body.page-team-open, body.page-placard-cta) .lead-dossier .lead-dossier__eyebrow {
  display: block;
  margin: 0 0 14px;
  color: #c5a880 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-synthesis: none;
  letter-spacing: 0.15em !important;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase !important;
}

:is(body.home, body.page-team-open, body.page-placard-cta) .lead-dossier .lead-dossier__title {
  margin: 0 0 14px;
  color: #083335;
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
}

:is(body.home, body.page-team-open, body.page-placard-cta) .lead-dossier .lead-dossier__lead {
  max-width: 720px;
  margin: 0 auto 36px;
  color: #5a6a72;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.8;
  text-align: center;
}

:is(body.home, body.page-team-open, body.page-placard-cta) .lead-dossier__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: none;
  margin: 0;
  text-align: center;
}

:is(body.home, body.page-team-open, body.page-placard-cta) #global-git a.lead-dossier__submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content !important;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 14px 32px !important;
  border: 1px solid #003d45 !important;
  border-radius: 0 !important;
  background: #003d45 !important;
  background-color: #003d45 !important;
  box-shadow: none;
  color: #ffffff !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-synthesis: none;
  letter-spacing: 0.15em !important;
  line-height: 1.3 !important;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

:is(body.home, body.page-team-open, body.page-placard-cta) #global-git a.lead-dossier__submit:hover,
:is(body.home, body.page-team-open, body.page-placard-cta) #global-git a.lead-dossier__submit:focus-visible {
  border-color: #0c4346 !important;
  background: #0c4346 !important;
  background-color: #0c4346 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(0, 61, 69, 0.18);
  transform: translateY(-1px);
}

:is(body.home, body.page-team-open, body.page-placard-cta) .lead-dossier .lead-dossier__submit:hover span,
:is(body.home, body.page-team-open, body.page-placard-cta) .lead-dossier .lead-dossier__submit:focus-visible span {
  transform: none;
}

:is(body.home, body.page-team-open, body.page-placard-cta) .lead-dossier .lead-dossier__fine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 0;
  margin: 24px 0 0;
  color: #718096;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 1.2px;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}

:is(body.home, body.page-team-open, body.page-placard-cta) .lead-dossier .lead-dossier__fine span {
  margin: 0 10px;
  color: #9ca3af;
  font-family: "Montserrat", sans-serif;
}

:is(body.home, body.page-team-open, body.page-placard-cta) .lead-dossier .lead-dossier__status {
  color: #5a6a72;
}

@media (max-width: 900px) {
  :is(body.home, body.page-team-open, body.page-placard-cta) .lead-dossier__box {
    margin: 48px 20px;
    padding: 56px 24px;
  }

  :is(body.home, body.page-team-open, body.page-placard-cta) .lead-dossier .lead-dossier__title {
    font-size: 30px;
  }

}

@media (max-width: 700px) {
  :is(body.home, body.page-team-open, body.page-placard-cta) #global-git a.lead-dossier__submit {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Projects, news, and developer hubs: same placard, 64px into the footer. */
body.page-placard-cta .lead-dossier__box {
  width: auto;
  margin-top: 64px;
  margin-bottom: 64px;
}

body.page-placard-cta .page-price,
body.page-placard-cta .page-vinhomes__inner,
body.page-placard-cta .page-vinhomes:not(.page-masterise) .page-vinhomes__inner,
body.page-placard-cta .page-vinhomes:not(.page-masterise) .vh-projects,
body.page-placard-cta .page-masterise .vh-projects,
body.page-placard-cta #content .ip-blog,
body.page-placard-cta .ip-blog {
  padding-bottom: 0 !important;
}

@media (max-width: 900px) {
  body.page-placard-cta .lead-dossier__box {
    margin: 64px 20px;
  }
}

@media (max-width: 767px) {
  body.page-placard-cta .page-price,
  body.page-placard-cta .page-vinhomes__inner,
  body.page-placard-cta .page-vinhomes:not(.page-masterise) .page-vinhomes__inner,
  body.page-placard-cta #content .ip-blog,
  body.page-placard-cta .ip-blog {
    padding-bottom: 0 !important;
  }
}
