/* =========================================================
   LIMUN CONTACT FORM
   Dedicated stylesheet loaded after style.css
   ========================================================= */

.section-contact {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(199,182,255,.32), transparent 20%),
    radial-gradient(circle at 90% 84%, rgba(156,231,220,.30), transparent 18%),
    var(--pink-soft);
}

.contact-pro-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,.86fr) minmax(420px,1.14fr);
  border: 3px solid var(--ink);
  background: var(--lavender);
  box-shadow:
    10px 10px 0 var(--pink),
    14px 14px 0 var(--ink);
}

.contact-pro-shell::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 51.2%;
  width: 24px;
  height: 24px;
  border: var(--border);
  background: var(--yellow);
  transform: translateX(-50%) rotate(9deg);
  z-index: 2;
}

.contact-pro-intro,
.contact-pro-form {
  min-width: 0;
  padding: clamp(28px,4.6vw,56px);
}

.contact-pro-intro {
  display: flex;
  flex-direction: column;
  border-right: 3px solid var(--ink);
}

.contact-pro-label {
  align-self: flex-start;
  display: inline-flex;
  padding: 7px 10px;
  border: var(--border);
  background: #fff;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: .12em;
}

.contact-pro-intro h3 {
  max-width: 520px;
  margin: 20px 0 16px;
  font-size: clamp(34px,4vw,52px);
  line-height: 1.01;
  letter-spacing: -.05em;
}

.contact-pro-lead {
  max-width: 570px;
  color: #494256;
  font-size: 14px;
  line-height: 1.75;
}

.contact-pro-direct {
  margin-top: 34px;
}

.contact-pro-email {
  margin-top: 10px;
  min-height: 70px;
  display: grid;
  grid-template-columns: 40px minmax(0,1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 12px 14px;
  border: var(--border);
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-pro-email:hover,
.contact-pro-email:focus-visible {
  background: var(--yellow);
  transform: translate(-2px,-2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.contact-pro-email small,
.contact-pro-email strong {
  display: block;
}

.contact-pro-email small {
  color: var(--muted);
  margin-bottom: 3px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.contact-pro-email strong {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.contact-pro-email b {
  font-size: 17px;
}

.contact-pro-icon,
.contact-pro-mini-icon {
  display: grid;
  place-items: center;
  border: var(--border);
  background: #fff;
}

.contact-pro-icon {
  width: 40px;
  height: 40px;
}

.contact-pro-icon svg,
.contact-pro-mini-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-pro-socials {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin-top: 14px;
}

.contact-pro-socials a {
  min-height: 50px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: var(--border);
  background: rgba(255,255,255,.68);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 10px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-pro-socials a:hover,
.contact-pro-socials a:focus-visible {
  background: var(--aqua);
  transform: translate(-2px,-2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.contact-pro-mini-icon {
  width: 30px;
  height: 30px;
  border-width: 1.5px;
}

.contact-pro-mini-icon svg {
  width: 15px;
  height: 15px;
}

.contact-pro-security-note {
  max-width: 540px;
  margin-top: auto;
  padding-top: 30px;
  color: #595166;
  font-size: 9.5px;
  line-height: 1.6;
}

/* FORM */
.contact-pro-form {
  position: relative;
  background: var(--surface);
}

.contact-pro-form-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.contact-pro-form-heading h3 {
  max-width: 550px;
  margin-top: 6px;
  font-size: clamp(28px,3vw,40px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.contact-pro-stamp {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: var(--border);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 19px;
  font-weight: 900;
  transform: rotate(6deg);
}

.contact-pro-field-row {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 13px;
}

.contact-pro-field {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.contact-pro-field label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-pro-label-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}

.contact-pro-label-row > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.contact-pro-field input,
.contact-pro-field textarea {
  width: 100%;
  border: var(--border);
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.contact-pro-field input {
  min-height: 48px;
  padding: 11px 13px;
}

.contact-pro-field textarea {
  min-height: 178px;
  resize: vertical;
  padding: 13px;
}

.contact-pro-field input:focus,
.contact-pro-field textarea:focus {
  background: var(--yellow-soft);
  transform: translate(-2px,-2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.contact-pro-field input[aria-invalid="true"],
.contact-pro-field textarea[aria-invalid="true"] {
  background: #fff0f0;
  border-color: #a92c45;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.contact-turnstile-wrap {
  margin-top: 20px;
}

.contact-turnstile {
  width: 100%;
  min-height: 65px;
}

.contact-turnstile-hint {
  min-height: 18px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.contact-turnstile-hint.is-error {
  color: #8c263c;
}

.contact-pro-submit-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}

.contact-pro-form-note {
  max-width: 330px;
  color: #5e576a;
  font-size: 9.5px;
  line-height: 1.55;
}

.contact-pro-submit {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 10px 18px;
  border: var(--border);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-pro-submit:hover:not(:disabled),
.contact-pro-submit:focus-visible:not(:disabled) {
  background: var(--aqua);
  transform: translate(-2px,-2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.contact-pro-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.contact-submit-spinner {
  width: 15px;
  height: 15px;
  display: none;
  border: 2px solid rgba(31,27,45,.28);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: contact-spin .7s linear infinite;
}

.contact-pro-submit.is-loading .contact-submit-spinner {
  display: block;
}

.contact-pro-submit.is-loading b {
  display: none;
}

.contact-pro-status {
  min-height: 22px;
  margin-top: 14px;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 800;
}

.contact-pro-status.is-success { color: #1e6a45; }
.contact-pro-status.is-error { color: #982c45; }

@keyframes contact-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .contact-pro-shell {
    grid-template-columns: 1fr;
  }

  .contact-pro-shell::before {
    left: auto;
    right: 22px;
    top: 22px;
    transform: rotate(9deg);
  }

  .contact-pro-intro {
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .contact-pro-security-note {
    margin-top: 8px;
  }
}

@media (max-width: 620px) {
  .contact-pro-shell {
    box-shadow:
      7px 7px 0 var(--pink),
      10px 10px 0 var(--ink);
  }

  .contact-pro-intro,
  .contact-pro-form {
    padding: 24px 18px;
  }

  .contact-pro-intro h3 {
    font-size: 32px;
  }

  .contact-pro-field-row,
  .contact-pro-socials,
  .contact-pro-submit-row {
    grid-template-columns: 1fr;
  }

  .contact-pro-submit {
    width: 100%;
  }

  .contact-pro-stamp {
    width: 42px;
    height: 42px;
  }

  /* Keep form fields readable on phones and prevent iOS focus zoom. */
  .contact-pro-field input,
  .contact-pro-field textarea {
    font-size: 16px;
  }

  .contact-pro-field label,
  .contact-pro-label-row > span {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-submit-spinner {
    animation-duration: 1.5s;
  }

  .contact-pro-email,
  .contact-pro-socials a,
  .contact-pro-field input,
  .contact-pro-field textarea,
  .contact-pro-submit {
    transition: none;
  }
}

/* Pass 3: stronger keyboard focus for form controls. */
.contact-pro-field input:focus-visible,
.contact-pro-field textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
