.investi-contact-hero,
.investi-contact-hero button,
.investi-contact-hero input,
.investi-contact-hero select,
.investi-contact-hero textarea,
.investi-contact-page,
.investi-contact-page button,
.investi-contact-page input,
.investi-contact-page select,
.investi-contact-page textarea {
  font-family: "Roboto", sans-serif;
}

.investi-contact-hero {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.6)),
    radial-gradient(circle at 20% 20%, rgba(2, 175, 252, 0.18), transparent 36%),
    var(--investi-contact-hero-image);
  background-position: center center, center center, center center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover, auto, cover;
}

html[data-mode="dark"] .investi-contact-hero,
[data-mode="dark"] .investi-contact-hero {
  background-image:
    linear-gradient(180deg, rgba(3, 7, 18, 0.25), rgba(3, 7, 18, 0.58)),
    radial-gradient(circle at 20% 20%, rgba(2, 175, 252, 0.26), transparent 36%),
    var(--investi-contact-hero-image);
}

.investi-contact-hero__overlay {
  text-align: left;
  width: min(100% - 32px, 1180px);
}

.investi-contact-hero__title {
  margin: 0;
  color: var(--text-color);
  font-family: "Roboto", sans-serif !important;
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.02;
  text-shadow: 0 1px 22px rgba(255, 255, 255, 0.28);
}

.investi-contact-hero__title a {
  color: inherit;
  text-decoration: none;
}

.investi-contact-hero__title a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 8px;
}

html[data-mode="dark"] .investi-contact-hero__title,
[data-mode="dark"] .investi-contact-hero__title {
  color: #fff;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.45);
}

html:not([data-mode="dark"]) .investi-contact-hero__title {
  color: #111827;
}

.investi-contact-page {
  padding-bottom: 36px;
}

.investi-contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.investi-contact-page__main,
.investi-contact-page__aside {
  min-width: 0;
}

.investi-contact-page__aside {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 104px;
}

.investi-contact-section,
.investi-contact-sidecard {
  padding: clamp(22px, 3vw, 32px);
}

.investi-contact-section__head {
  margin-bottom: 20px;
}

.investi-contact-section__head h2,
.investi-contact-sidecard h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.investi-contact-section__head p,
.investi-contact-sidecard p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.investi-contact-notice {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
}

.investi-contact-notice--success {
  color: #166534;
  background: #dcfce7;
  border-color: #86efac;
}

.investi-contact-notice--warning {
  color: #92400e;
  background: #fef3c7;
  border-color: #fcd34d;
}

.investi-contact-notice--error {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fca5a5;
}

.investi-contact-form {
  display: grid;
  gap: 18px;
}

.investi-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.investi-contact-form__field {
  display: grid;
  gap: 8px;
}

.investi-contact-form__field span {
  font-weight: var(--font-weight-semibold);
  color: var(--text-color);
}

.investi-contact-form__field input,
.investi-contact-form__field select,
.investi-contact-form__field textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--border-color) 88%, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  background: color-mix(in srgb, var(--card-bg-secondary) 84%, transparent);
  color: var(--text-color);
  padding: 12px 14px;
  font: inherit;
  color-scheme: light dark;
}

.investi-contact-form__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.investi-contact-form__field select option {
  background: var(--card-bg);
  color: var(--text-color);
}

[data-mode="dark"] .investi-contact-form__field select,
html[data-mode="dark"] .investi-contact-form__field select {
  background-color: color-mix(in srgb, var(--card-bg-secondary) 92%, #0f172a 8%);
  color: var(--text-color);
  border-color: color-mix(in srgb, var(--border-color) 76%, rgba(255, 255, 255, 0.18));
}

[data-mode="dark"] .investi-contact-form__field select option,
html[data-mode="dark"] .investi-contact-form__field select option {
  background: #0f172a;
  color: #f8fafc;
}

html:not([data-mode="dark"]) .investi-contact-form__field select {
  background-color: color-mix(in srgb, var(--card-bg-secondary) 92%, #ffffff 8%);
}

html:not([data-mode="dark"]) .investi-contact-form__field select option {
  background: #ffffff;
  color: #111827;
}

.investi-contact-form__field textarea {
  min-height: 180px;
  resize: vertical;
}

.investi-contact-form__field input:focus,
.investi-contact-form__field select:focus,
.investi-contact-form__field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent-color) 42%, transparent);
  outline-offset: 2px;
}

.investi-contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: stretch;
}

.investi-contact-form__footer .investi-btn {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  font-size: 1rem;
}

.investi-contact-sidecard__list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
}

.investi-contact-sidecard__list li + li {
  margin-top: 10px;
}

.investi-contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .investi-contact-page__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .investi-contact-page__aside {
    position: static;
    top: auto;
  }
}

@media (max-width: 767px) {
  .investi-contact-hero__overlay {
    text-align: center;
  }

  .investi-contact-form__footer,
  .investi-contact-form__grid {
    grid-template-columns: minmax(0, 1fr);
    flex-direction: column;
    align-items: stretch;
  }

  .investi-contact-section,
  .investi-contact-sidecard {
    border-radius: 14px;
  }
}

.investi-contact-form__turnstile {
  margin-top: 4px;
}

.investi-contact-form__turnstile-notice {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
