/* ORQVION Contact — ox marketing */

.page-contact {
  background: var(--ox-bg);
}

/* Decorative hero layers extend past the viewport; keep contact/investors scroll-stable on mobile. */
:is(.page-contact, .page-investors) .ox-hero {
  overflow: hidden;
  contain: paint;
}

:is(.page-contact, .page-investors) .ox-hero-grid,
:is(.page-contact, .page-investors) .ox-canvas {
  display: none;
}

.page-contact .site-footer {
  border-top-color: var(--ox-line);
  background: var(--ox-bg-2);
}

.page-contact .ox-hero-page h1 {
  font-family: var(--ox-display);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: #fff;
}

.ox-contact-visual .ox-feat-card:nth-child(1) {
  border-color: rgba(77, 212, 255, 0.28);
}

.ox-contact-visual .ox-feat-card:nth-child(2) {
  border-color: rgba(139, 123, 255, 0.32);
}

.ox-contact-visual .ox-feat-card:nth-child(3) {
  border-color: rgba(176, 106, 255, 0.28);
}

.ox-section-contact {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.ox-contact-layout {
  display: grid;
  gap: 1.15rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .ox-contact-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.35rem;
  }
}

.ox-contact-panel {
  padding: 1.35rem 1.4rem 1.45rem;
  border: 1px solid var(--ox-line);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 85% 55% at 0% 0%, rgba(77, 212, 255, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ox-contact-panel::before {
  content: "";
  display: block;
  height: 2px;
  margin: -1.35rem -1.4rem 1.1rem;
  border-radius: 18px 18px 0 0;
  background: var(--ox-grad);
  opacity: 0.4;
}

.ox-contact-panel h2 {
  margin: 0 0 0.45rem;
  font-family: var(--ox-display);
  font-size: 1.15rem;
  font-weight: 650;
  color: #fff;
  letter-spacing: -0.02em;
}

.ox-contact-panel-lead {
  margin: 0 0 1.15rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #b0b0be;
}

.ox-contact-aside {
  display: grid;
  gap: 1rem;
}

.ox-contact-aside-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #b0b0be;
}

.ox-contact-aside-list li + li {
  margin-top: 0.45rem;
}

.ox-contact-links {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

@media (min-width: 1024px) {
  .ox-contact-links {
    grid-template-columns: 1fr;
  }
}

.ox-contact-link-card {
  display: flex;
  flex-direction: column;
  padding: 1.05rem 1.15rem 1rem;
  border: 1px solid var(--ox-line);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(139, 123, 255, 0.06), transparent 55%),
    rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, transform 0.3s ease;
}

.ox-contact-link-card:hover {
  border-color: rgba(139, 123, 255, 0.28);
  transform: translateY(-2px);
}

.ox-contact-link-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--ox-display);
  font-size: 0.95rem;
  font-weight: 650;
  color: #fff;
}

.ox-contact-link-card p {
  margin: 0;
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ox-muted);
}

.ox-contact-link-card a {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 560;
  color: var(--ox-cyan);
  text-decoration: none;
}

.ox-contact-link-card a:hover {
  color: var(--ox-violet);
}

.page-contact .ox-form .ox-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.page-contact .ox-form .ox-field > span {
  font-size: 0.78rem;
  font-weight: 560;
  color: var(--ox-muted);
}

.page-contact .ox-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.page-contact .ox-form select,
.page-contact .ox-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--ox-line);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.page-contact .ox-form input::placeholder,
.page-contact .ox-form textarea::placeholder {
  color: #6b6b78;
}

.page-contact .ox-form input:focus,
.page-contact .ox-form select:focus,
.page-contact .ox-form textarea:focus {
  outline: none;
  border-color: rgba(139, 123, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(139, 123, 255, 0.12);
}

.ox-contact-flash {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 11px;
  font-size: 0.88rem;
  line-height: 1.45;
  border: 1px solid rgba(77, 212, 255, 0.28);
  background: rgba(77, 212, 255, 0.08);
  color: #ccefff;
}

.ox-contact-flash-error {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
}

.ox-contact-submit {
  margin-top: 0.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--ox-line);
}

.page-contact .ox-contact-submit-btn {
  width: 100%;
  min-height: 3rem;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.ox-contact-submit-hint {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--ox-muted);
  text-align: center;
}

.page-contact .ox-form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.page-contact .ox-contact-panel,
.page-investors .ox-contact-panel {
  overflow: visible;
}

/* Investors — match contact marketing layout */
.page-investors .ox-section-investors-overview {
  padding-top: clamp(1.25rem, 3vw, 2.25rem);
  padding-bottom: clamp(0.5rem, 2vw, 1.25rem);
}

.ox-investors-overview-kicker {
  margin: 0 0 1rem;
}

.ox-investors-fact-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .ox-investors-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .ox-investors-fact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ox-investors-fact-card {
  padding: 1.05rem 1.15rem 1.1rem;
  border: 1px solid var(--ox-line);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(139, 123, 255, 0.07), transparent 55%),
    rgba(255, 255, 255, 0.02);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.ox-investors-fact-card:hover {
  border-color: rgba(139, 123, 255, 0.28);
  transform: translateY(-2px);
}

.ox-investors-fact-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--ox-display);
  font-size: 0.95rem;
  font-weight: 650;
  color: #fff;
  letter-spacing: -0.02em;
}

.ox-investors-fact-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ox-muted);
}

.ox-investors-more {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
}

.ox-investors-more a {
  color: var(--ox-violet);
  font-weight: 560;
  text-decoration: none;
}

.ox-investors-more a:hover {
  color: var(--ox-cyan);
}

.ox-investors-visual .ox-feat-card:nth-child(1) {
  border-color: rgba(139, 123, 255, 0.32);
}

.ox-investors-visual .ox-feat-card:nth-child(2) {
  border-color: rgba(77, 212, 255, 0.28);
}

.ox-investors-visual .ox-feat-card:nth-child(3) {
  border-color: rgba(176, 106, 255, 0.28);
}

.ox-investors-visual .ox-feat-card:nth-child(4) {
  border-color: rgba(52, 211, 153, 0.25);
}

:is(.page-contact, .page-investors) .ox-contact-submit-btn {
  width: 100%;
  min-height: 3rem;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.ox-contact-error {
  font-size: 0.82rem;
  color: #ffb4b4;
}

.page-contact .hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
