/* ==================================================
   Proteus Contact — elegant enquiry page
================================================== */

.proteus-contact-hero,
.proteus-contact-main {
  --pc-ink: #0a1c2a;
  --pc-muted: #5d7588;
  --pc-line: rgba(10, 28, 42, 0.08);
  --pc-accent: #1a9b6c;
  --pc-cream: #fff4d7;
  font-family: "Manrope", system-ui, sans-serif;
}

.proteus-contact-hero {
  position: relative;
  padding: 150px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 70% at 10% 15%, rgba(255, 244, 215, 0.55), transparent 55%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(26, 155, 108, 0.1), transparent 50%),
    linear-gradient(165deg, #f7faf8 0%, #eef5f1 50%, #f8f4ea 100%);
}

.proteus-contact-hero .container {
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.proteus-contact-hero .contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--pc-line);
  color: var(--pc-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proteus-contact-hero .contact-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pc-accent);
  box-shadow: 0 0 0 4px rgba(26, 155, 108, 0.16);
}

.proteus-contact-hero h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--pc-ink);
  margin: 0 0 16px;
  max-width: 640px;
}

.proteus-contact-hero p {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--pc-muted);
  margin: 0;
  max-width: 540px;
}

/* ---- Main layout ---- */
.proteus-contact-main {
  padding: 0 0 100px;
  background: #f7faf8;
  margin-top: -8px;
}

.proteus-contact-main .container {
  max-width: 1200px;
}

.proteus-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

/* ---- Info panel ---- */
.contact-info-panel {
  position: relative;
  padding: 36px 32px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255, 244, 215, 0.18), transparent 55%),
    linear-gradient(145deg, #0a1c2a 0%, #143447 55%, #1a5c48 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 28, 42, 0.18);
}

.contact-info-panel::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(26, 155, 108, 0.18);
  pointer-events: none;
}

.contact-info-panel .panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pc-cream);
  opacity: 0.9;
}

.contact-info-panel .panel-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pc-accent);
  box-shadow: 0 0 0 4px rgba(26, 155, 108, 0.25);
}

.contact-info-panel h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 12px;
}

.contact-info-panel > p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  margin: 0 0 28px;
}

.contact-detail-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.contact-detail-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-detail-list .detail-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(26, 155, 108, 0.22);
  color: #3ecf8e;
}

.contact-detail-list .detail-ico svg {
  width: 18px;
  height: 18px;
}

.contact-detail-list strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.contact-detail-list span,
.contact-detail-list a {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.contact-detail-list a:hover {
  color: var(--pc-cream);
}

.contact-info-note {
  position: relative;
  z-index: 1;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-note p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
}

/* ---- Form card ---- */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--pc-line);
  border-radius: 28px;
  padding: 36px 34px 32px;
  box-shadow: 0 18px 48px rgba(10, 28, 42, 0.06);
}

.contact-form-card .form-head {
  margin-bottom: 28px;
}

.contact-form-card .form-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(26, 155, 108, 0.08);
  border: 1px solid rgba(26, 155, 108, 0.14);
  color: var(--pc-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form-card .form-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pc-accent);
  box-shadow: 0 0 0 4px rgba(26, 155, 108, 0.16);
}

.contact-form-card h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pc-ink);
  margin: 0 0 8px;
}

.contact-form-card .form-head p {
  margin: 0;
  color: var(--pc-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.proteus-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.proteus-contact-form .form-group {
  margin-bottom: 18px;
}

.proteus-contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pc-ink);
}

.proteus-contact-form label .req {
  color: var(--pc-accent);
  margin-left: 2px;
}

.proteus-contact-form .form-control {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(10, 28, 42, 0.12);
  background: #f7faf8;
  color: var(--pc-ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: none;
}

.proteus-contact-form textarea.form-control {
  height: auto;
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
}

.proteus-contact-form .form-control::placeholder {
  color: rgba(93, 117, 136, 0.75);
  font-weight: 500;
}

.proteus-contact-form .form-control:focus {
  outline: none;
  border-color: rgba(26, 155, 108, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 155, 108, 0.12);
}

.proteus-contact-form .help-block.with-errors {
  color: #c0392b;
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 6px;
  min-height: 18px;
}

.proteus-contact-form .btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1a9b6c, #148a5e);
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(26, 155, 108, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.proteus-contact-form .btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(26, 155, 108, 0.34);
  color: #fff;
}

.proteus-contact-form .btn.btn-primary svg {
  width: 16px;
  height: 16px;
}

.proteus-contact-form #msgSubmit {
  margin-top: 16px;
  font-size: 15px !important;
  font-weight: 700;
}

.contact-form-foot {
  margin-top: 18px;
  color: var(--pc-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .proteus-contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-panel,
  .contact-form-card {
    padding: 28px 24px;
  }
}

@media (max-width: 575px) {
  .proteus-contact-hero {
    padding: 130px 0 40px;
  }

  .proteus-contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .proteus-contact-form .btn.btn-primary {
    width: 100%;
  }
}

/* ---- Toast alert ---- */
.proteus-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 280px;
  max-width: min(380px, calc(100vw - 32px));
  padding: 16px 18px;
  border-radius: 16px;
  background: #0a1c2a;
  color: #fff;
  box-shadow: 0 18px 48px rgba(10, 28, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Manrope", system-ui, sans-serif;
  opacity: 0;
  transform: translateY(-12px) translateX(8px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.proteus-toast.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
  pointer-events: auto;
}

.proteus-toast .toast-ico {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.proteus-toast.is-success .toast-ico {
  background: rgba(26, 155, 108, 0.22);
  color: #3ecf8e;
}

.proteus-toast.is-error .toast-ico {
  background: rgba(220, 53, 69, 0.2);
  color: #ff8a95;
}

.proteus-toast .toast-ico svg {
  width: 18px;
  height: 18px;
}

.proteus-toast .toast-body {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}

.proteus-toast .toast-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.proteus-toast .toast-message {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.proteus-toast .toast-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.proteus-toast .toast-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.proteus-toast .toast-close svg {
  width: 14px;
  height: 14px;
}

.proteus-contact-form .btn.btn-primary.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

@media (max-width: 575px) {
  .proteus-toast {
    top: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
}
