/*
 * Onkos Pass — Contact Page
 * Standalone enterprise contact experience.
 * Form integration and JavaScript are unchanged.
 */

.op-contact-page {
  background: #ffffff;
  color: #0f172a;
  overflow: hidden;
}

/* Hero */

.op-contact-hero {
  position: relative;
  padding: 104px 0 90px;
  background:
    radial-gradient(
      circle at 90% 8%,
      rgba(37, 99, 235, .075),
      transparent 38%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.op-contact-hero__inner {
  position: relative;
  max-width: 960px;
}

.op-contact-hero__eyebrow,
.op-contact-section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .13em;
}

.op-contact-hero__eyebrow-line {
  display: inline-block;
  width: 30px;
  height: 3px;
  border-radius: 10px;
  background: #2563eb;
}

.op-contact-hero h1 {
  margin: 26px 0 14px;
  color: #0f172a;
  font-size: clamp(48px, 5.1vw, 76px);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -.052em;
}

.op-contact-hero h1 span {
  color: #2563eb;
}

.op-contact-hero h2 {
  margin: 0;
  color: #1e40af;
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.op-contact-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: #64748b;
  font-size: 17px;
  line-height: 1.85;
}

/* Main layout */

.op-contact {
  position: relative;
  padding: 86px 0 120px;
  background: #f8fafc;
}

.op-contact-layout {
  display: grid;
  grid-template-columns:
    minmax(0, .92fr)
    minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(42px, 5vw, 84px);
}

.op-contact-content {
  min-width: 0;
}

.op-contact-content > h2 {
  max-width: 540px;
  margin: 18px 0 0;
  color: #0f172a;
  font-size: clamp(31px, 3vw, 43px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.038em;
}

.op-contact-description {
  max-width: 540px;
  margin: 20px 0 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.8;
}

/* Pathways */

.op-contact-pathways {
  margin-top: 35px;
}

.op-contact-pathway {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 21px 0;
  border-bottom: 1px solid #e2e8f0;
}

.op-contact-pathway:first-child {
  border-top: 1px solid #e2e8f0;
}

.op-contact-pathway__icon {
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 13px;
  font-size: 17px;
}

.op-contact-pathway h3 {
  margin: 1px 0 6px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.op-contact-pathway p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

/* PHI warning */

.op-contact-boundary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 30px;
  padding: 17px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
}

.op-contact-boundary i {
  margin-top: 4px;
  color: #2563eb;
  font-size: 14px;
}

.op-contact-boundary p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.7;
}

/* Form panel */

.op-contact-form-column {
  min-width: 0;
}

.op-contact-form-panel {
  position: relative;
  padding: clamp(26px, 3vw, 44px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, .055);
}

.op-contact-form-header {
  margin-bottom: 32px;
}

.op-contact-form-header > span {
  display: block;
  margin-bottom: 12px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .11em;
}

.op-contact-form-header h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(29px, 2.8vw, 39px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.op-contact-form-header p {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

/* Existing form: presentation only */

.op-contact-form-panel .row {
  --bs-gutter-x: 20px;
}

.op-contact-form-panel .form-group {
  margin-bottom: 21px;
}

.op-contact-form-panel label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.op-contact-form-panel .form-control,
.op-contact-form-panel .form-select {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  font-size: 14px;
  box-shadow: none;
  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.op-contact-form-panel textarea.form-control {
  height: auto;
  min-height: 130px;
  padding: 14px 15px;
  resize: vertical;
}

.op-contact-form-panel .form-control::placeholder {
  color: #94a3b8;
}

.op-contact-form-panel .form-control:hover,
.op-contact-form-panel .form-select:hover {
  border-color: #94a3b8;
}

.op-contact-form-panel .form-control:focus,
.op-contact-form-panel .form-select:focus {
  color: #0f172a;
  background: #ffffff;
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

/* Existing submit button */

.op-contact-submit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 5px;
}

.op-contact-submit .btn-default {
  flex: 0 0 auto;
  min-width: 230px;
}

.op-contact-submit span {
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

#opContactStatus {
  margin-top: 16px !important;
  color: #334155;
  font-size: 13px;
  line-height: 1.6;
}

#opContactStatus:empty {
  display: none;
}

/* Responsive */

@media (max-width: 1199px) {
  .op-contact-layout {
    gap: 38px;
  }

  .op-contact-form-panel {
    padding: 30px;
  }
}

@media (max-width: 991px) {
  .op-contact-hero {
    padding: 78px 0 68px;
  }

  .op-contact {
    padding: 68px 0 90px;
  }

  .op-contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
  }

  .op-contact-content {
    max-width: 760px;
  }

  .op-contact-form-panel {
    max-width: 800px;
  }
}

@media (max-width: 767px) {
  .op-contact-hero {
    padding: 62px 0 58px;
  }

  .op-contact-hero h1 {
    font-size: clamp(40px, 9vw, 54px);
  }

  .op-contact-hero p {
    font-size: 15px;
    line-height: 1.75;
  }

  .op-contact {
    padding: 54px 0 76px;
  }

  .op-contact-content > h2 {
    font-size: 32px;
  }

  .op-contact-pathway {
    gap: 13px;
  }

  .op-contact-form-panel {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .op-contact-submit {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .op-contact-submit .btn-default {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 479px) {
  .op-contact-hero h1 {
    font-size: 39px;
  }

  .op-contact-hero h2 {
    font-size: 21px;
  }

  .op-contact-content > h2 {
    font-size: 29px;
  }

  .op-contact-pathway__icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }
}


/* OP CONTACT DESIGN ALIGNMENT V2 */
/* Scoped exclusively to the Contact page. */

.op-contact-page {
  --op-contact-blue: #2563eb;
  --op-contact-blue-dark: #1d4ed8;
  --op-contact-green: #059669;
  --op-contact-heading: #0f172a;
  --op-contact-body: #334155;
  --op-contact-muted: #64748b;
  --op-contact-border: #e2e8f0;
  --op-contact-background: #f8fafc;
  background: #ffffff;
  color: var(--op-contact-body);
}

.op-contact-page *,
.op-contact-page *::before,
.op-contact-page *::after {
  box-sizing: border-box;
}

.op-contact-page .container {
  width: min(calc(100% - 48px), 1320px);
  max-width: 1320px;
  margin-inline: auto;
}

/* Editorial hero matching OP About */
.op-contact-page .op-contact-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 105px 0 120px;
  background:
    radial-gradient(
      ellipse at 88% 30%,
      rgba(37, 99, 235, .11),
      transparent 49%
    ),
    linear-gradient(
      115deg,
      #ffffff 0%,
      #f8fbff 54%,
      #f0f5ff 100%
    );
}

.op-contact-page .op-contact-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -145px;
  bottom: -310px;
  width: 690px;
  height: 690px;
  border: 1px solid rgba(37, 99, 235, .09);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(37, 99, 235, .025),
    0 0 0 145px rgba(37, 99, 235, .018);
  pointer-events: none;
}

.op-contact-page .op-contact-hero__inner {
  max-width: 1060px;
}

.op-contact-page .op-contact-hero__eyebrow,
.op-contact-page .op-contact-section-label {
  color: var(--op-contact-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.op-contact-page .op-contact-hero h1 {
  max-width: 1060px;
  margin: 24px 0 26px;
  color: var(--op-contact-heading);
  font-size: clamp(52px, 7vw, 94px);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.06em;
}

.op-contact-page .op-contact-hero h1 span {
  color: var(--op-contact-blue);
}

.op-contact-page .op-contact-hero h2 {
  margin: 0 0 24px;
  color: #1e40af;
  font-size: clamp(25px, 2.8vw, 38px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.op-contact-page .op-contact-hero p {
  max-width: 800px;
  margin: 0;
  color: var(--op-contact-body);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.75;
}

/* Larger two-column enterprise contact area */
.op-contact-page .op-contact {
  padding: 120px 0 145px;
  background: var(--op-contact-background);
}

.op-contact-page .op-contact-layout {
  display: grid;
  grid-template-columns:
    minmax(0, .85fr)
    minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(50px, 5vw, 90px);
}

.op-contact-page .op-contact-content {
  min-width: 0;
  max-width: none;
}

.op-contact-page .op-contact-content > h2 {
  max-width: 650px;
  margin: 22px 0 24px;
  color: var(--op-contact-heading);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.op-contact-page .op-contact-description {
  max-width: 600px;
  margin: 0;
  color: var(--op-contact-body);
  font-size: 18px;
  line-height: 1.75;
}

.op-contact-page .op-contact-pathways {
  margin-top: 50px;
  border-top: 1px solid var(--op-contact-border);
}

.op-contact-page .op-contact-pathway {
  gap: 22px;
  padding: 27px 0;
  border-bottom: 1px solid var(--op-contact-border);
}

.op-contact-page .op-contact-pathway__icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--op-contact-blue);
  font-size: 21px;
}

.op-contact-page .op-contact-pathway h3 {
  margin: 0 0 8px;
  color: var(--op-contact-heading);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.op-contact-page .op-contact-pathway p {
  margin: 0;
  color: var(--op-contact-muted);
  font-size: 16px;
  line-height: 1.7;
}

.op-contact-page .op-contact-boundary {
  margin-top: 34px;
  padding: 22px 24px;
  border: 1px solid var(--op-contact-border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--op-contact-body);
  font-size: 14px;
  line-height: 1.7;
}

/* Larger form, unchanged submission contract */
.op-contact-page .op-contact-form-column {
  min-width: 0;
  width: 100%;
}

.op-contact-page .op-contact-form-panel {
  width: 100%;
  padding: clamp(34px, 3.5vw, 60px);
  border: 1px solid var(--op-contact-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .065);
}

.op-contact-page .op-contact-form-header > span {
  color: var(--op-contact-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.op-contact-page .op-contact-form-header h2 {
  margin: 16px 0 14px;
  color: var(--op-contact-heading);
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.op-contact-page .op-contact-form-header p {
  margin-bottom: 36px;
  color: var(--op-contact-body);
  font-size: 17px;
  line-height: 1.7;
}

.op-contact-page .op-contact-form-panel .row {
  --bs-gutter-x: 24px;
}

.op-contact-page .op-contact-form-panel .form-group {
  margin-bottom: 26px;
}

.op-contact-page .op-contact-form-panel label {
  display: block;
  margin-bottom: 10px;
  color: var(--op-contact-heading);
  font-size: 15px;
  font-weight: 650;
}

.op-contact-page .op-contact-form-panel .form-control,
.op-contact-page .op-contact-form-panel .form-select {
  min-height: 58px;
  height: 58px;
  padding: 14px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: var(--op-contact-heading);
  font-size: 16px;
}

.op-contact-page .op-contact-form-panel textarea.form-control {
  min-height: 180px;
  height: 180px;
  padding: 18px;
  resize: vertical;
  line-height: 1.6;
}

.op-contact-page .op-contact-form-panel .form-control:focus,
.op-contact-page .op-contact-form-panel .form-select:focus {
  border-color: var(--op-contact-blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.op-contact-page .op-contact-form-panel button[type="submit"] {
  min-height: 58px;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1199px) {
  .op-contact-page .op-contact-layout {
    gap: 42px;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

  .op-contact-page .op-contact-form-panel {
    padding: 36px;
  }
}

@media (max-width: 991px) {
  .op-contact-page .op-contact-hero {
    min-height: auto;
    padding: 110px 0 100px;
  }

  .op-contact-page .op-contact {
    padding: 90px 0 110px;
  }

  .op-contact-page .op-contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 60px;
  }

  .op-contact-page .op-contact-form-column {
    max-width: 760px;
  }
}

@media (max-width: 767px) {
  .op-contact-page .container {
    width: min(calc(100% - 36px), 1320px);
  }

  .op-contact-page .op-contact-hero {
    padding: 85px 0 80px;
  }

  .op-contact-page .op-contact-hero h1 {
    font-size: clamp(44px, 12vw, 64px);
  }

  .op-contact-page .op-contact-hero h2 {
    font-size: 25px;
  }

  .op-contact-page .op-contact-hero p {
    font-size: 17px;
  }

  .op-contact-page .op-contact {
    padding: 75px 0 95px;
  }

  .op-contact-page .op-contact-content > h2 {
    font-size: clamp(34px, 8vw, 44px);
  }

  .op-contact-page .op-contact-description {
    font-size: 16px;
  }

  .op-contact-page .op-contact-pathway {
    gap: 16px;
    padding: 23px 0;
  }

  .op-contact-page .op-contact-pathway__icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .op-contact-page .op-contact-pathway h3 {
    font-size: 18px;
  }

  .op-contact-page .op-contact-pathway p {
    font-size: 15px;
  }

  .op-contact-page .op-contact-form-panel {
    padding: 28px 22px;
  }

  .op-contact-page .op-contact-form-header h2 {
    font-size: 34px;
  }
}

@media (max-width: 479px) {
  .op-contact-page .container {
    width: min(calc(100% - 28px), 1320px);
  }

  .op-contact-page .op-contact-hero h1 {
    font-size: 42px;
  }

  .op-contact-page .op-contact-form-panel {
    padding: 26px 18px;
  }

  .op-contact-page .op-contact-form-panel .row {
    --bs-gutter-x: 16px;
  }
}


/* OP CONTACT REFINEMENT V3 */

/* Match the primary OP blue */
.op-contact-page .op-contact-hero h2 {
  color: #2563eb;
}

/* Stronger editorial heading */
.op-contact-page .op-contact-content > h2 {
  max-width: 650px;
  font-weight: 700;
  letter-spacing: -.05em;
}

/* Refined enterprise pathways */
.op-contact-page .op-contact-pathways {
  border-top: 1px solid #e2e8f0;
}

.op-contact-page .op-contact-pathway {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 30px 16px;
  margin-inline: -16px;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: background-color .2s ease;
}

.op-contact-page .op-contact-pathway:hover {
  background-color: #eff6ff;
}

.op-contact-page .op-contact-pathway__icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border: 1px solid #dbeafe;
  border-radius: 15px;
  background: #eff6ff;
  color: #2563eb;
}

.op-contact-page .op-contact-pathway h3 {
  margin-bottom: 9px;
  color: #0f172a;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.025em;
}

.op-contact-page .op-contact-pathway p {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .op-contact-page .op-contact-pathway {
    padding: 24px 10px;
    margin-inline: -10px;
    gap: 16px;
  }

  .op-contact-page .op-contact-pathway__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .op-contact-page .op-contact-pathway h3 {
    font-size: 18px;
  }

  .op-contact-page .op-contact-pathway p {
    font-size: 15px;
  }
}


/* OP CONTACT LOWER CIRCLES V4 */
/* Decorative only: no form or HTML changes. */

.op-contact-page .op-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.op-contact-page .op-contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -170px;
  bottom: -320px;
  width: 690px;
  height: 690px;
  border: 1px solid rgba(37, 99, 235, .09);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(37, 99, 235, .025),
    0 0 0 145px rgba(37, 99, 235, .018);
  pointer-events: none;
}

@media (max-width: 767px) {
  .op-contact-page .op-contact::after {
    right: -310px;
    bottom: -300px;
    width: 540px;
    height: 540px;
  }
}
