/* ------------------------------------------------------
   CONTACT PAGE - MODERNIZED
------------------------------------------------------ */

:root {
  --contact-primary: #6a1b9a;
  --contact-primary-dark: #4a148c;
  --contact-surface: #ffffff;
  --contact-ink: #1f1028;
  --contact-muted: #5a4b66;
  --contact-line: rgba(106, 27, 154, 0.16);
}

.contact-hero-section {
  padding: 142px 0 112px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.24), transparent 34%),
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(132deg, #6a1b9a 0%, #8c43ff 52%, #b388ff 100%);
}

.contact-hero-section::after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  right: -120px;
  bottom: -170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(2px);
}

.contact-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-eyebrow {
  margin: 0 auto 12px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
}

.contact-title {
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.contact-subtitle {
  max-width: 690px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-hero-points {
  margin: 22px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-hero-points span {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  font-weight: 600;
}

.contact-form-section {
  padding: 92px 0 138px;
  background:
    radial-gradient(circle at 80% 14%, rgba(221, 184, 255, 0.4), transparent 24%),
    linear-gradient(180deg, #f9f3ff 0%, #ffffff 55%);
}

.contact-form-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}

.form-card,
.contact-card {
  background: var(--contact-surface);
  border-radius: 26px;
  padding: 36px;
  border: 1px solid var(--contact-line);
  box-shadow: 0 24px 60px rgba(20, 10, 35, 0.1);
}

.form-card {
  position: relative;
}

.form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  pointer-events: none;
}

.contact-card {
  background:
    radial-gradient(circle at top right, rgba(179, 136, 255, 0.22), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
}

.form-card h2,
.contact-card h2 {
  color: var(--contact-ink);
  margin: 0 0 8px;
  font-size: clamp(1.95rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.form-card p,
.contact-card p {
  margin: 0 0 22px;
  color: var(--contact-muted);
  line-height: 1.6;
}

.contact-reassurance {
  margin: -8px 0 22px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(106, 27, 154, 0.18);
  background: rgba(241, 232, 255, 0.48);
  color: #4a3f60;
  font-size: 0.94rem;
}

.contact-trust-signal {
  margin: -6px 0 12px;
  color: #433755;
  font-size: 0.9rem;
  font-weight: 600;
}

.wpforms-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form-field {
  margin: 0;
}

.contact-form-field label {
  display: block;
  font-weight: 700;
  color: var(--contact-ink);
  margin-bottom: 8px;
  font-size: 0.93rem;
}

.contact-field-help {
  display: block;
  margin-top: 8px;
  font-size: 0.83rem;
  color: #6b5f78;
  line-height: 1.45;
}

.wpforms-form input,
.wpforms-form textarea,
.wpforms-form select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(106, 27, 154, 0.3);
  border-radius: 13px;
  background: #fff;
  font-size: 1rem;
  color: #2a2031;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpforms-form input:focus,
.wpforms-form textarea:focus,
.wpforms-form select:focus {
  outline: none;
  border-color: var(--contact-primary);
  box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.14);
}

.bcs-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-height: 56px;
  height: 56px;
  line-height: 1.2;
  font-size: 1rem;
  font-weight: 600;
  padding-right: 50px;
  border-color: rgba(106, 27, 154, 0.45) !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #6a1b9a 50%),
    linear-gradient(135deg, #6a1b9a 50%, transparent 50%),
    linear-gradient(180deg, rgba(106, 27, 154, 0.08), rgba(106, 27, 154, 0.02));
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px),
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
}

.bcs-select:hover {
  border-color: rgba(106, 27, 154, 0.65) !important;
}

.contact-form-alert {
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-form-alert--success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.contact-form-alert--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.bcs-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form-section .wpforms-submit,
.contact-form-section button.wpforms-submit,
.contact-form-section input[type='submit'].wpforms-submit {
  margin-top: 6px;
  background: linear-gradient(135deg, var(--contact-primary), #8c43ff) !important;
  color: white !important;
  border: none !important;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  align-self: flex-start;
  box-shadow: 0 14px 34px rgba(106, 27, 154, 0.29);
}

.contact-form-section .wpforms-submit:hover,
.contact-form-section button.wpforms-submit:hover,
.contact-form-section input[type='submit'].wpforms-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(106, 27, 154, 0.35);
}

.contact-action-pills {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.pill-btn {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pill-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.18);
}

.pill-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pill-copy strong {
  font-size: 0.97rem;
  line-height: 1.2;
}

.pill-copy small {
  font-size: 0.79rem;
  opacity: 0.95;
}

.pill-btn.call {
  background: linear-gradient(135deg, #6a1b9a, #8c43ff);
  color: #fff;
}

.pill-btn.email {
  background: linear-gradient(135deg, #8e63ff, #b388ff);
  color: #fff;
}

.pill-btn.whatsapp {
  background: linear-gradient(135deg, #f7f3ff, #efe8ff);
  color: #2b2140;
  border-color: rgba(106, 27, 154, 0.24);
}

.pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(20, 14, 38, 0.22);
}

.contact-divider {
  border: none;
  border-top: 1px solid rgba(106, 27, 154, 0.22);
  margin: 28px 0;
}

.contact-social h3 {
  margin: 0 0 8px;
  color: var(--contact-ink);
}

.contact-social p {
  color: var(--contact-muted);
  margin: 0 0 14px;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--contact-ink);
  border: 1px solid rgba(106, 27, 154, 0.2);
  border-radius: 999px;
  width: 56px;
  height: 56px;
  padding: 0;
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-item:hover {
  transform: translateY(-2px);
  border-color: rgba(106, 27, 154, 0.45);
  box-shadow: 0 12px 26px rgba(67, 29, 108, 0.16);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.social-icon svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: currentColor;
}

.social-icon svg path {
  fill: currentColor !important;
}

.social-icon-instagram {
  color: #fff;
  background: linear-gradient(135deg, #fd1d1d, #fcb045 40%, #833ab4);
}

.social-icon-linkedin {
  color: #fff;
  background: linear-gradient(135deg, #0a66c2, #1177dd);
}

.social-icon-x {
  color: #fff;
  background: linear-gradient(135deg, #1f2937, #111827);
}

.contact-cta-section {
  padding: 98px 0;
  text-align: center;
  color: #1f1028;
  margin-top: 36px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.5), transparent 28%),
    linear-gradient(135deg, #f6ecff, #e2c6ff);
  box-shadow: 0 22px 54px rgba(109, 54, 180, 0.24);
}

.contact-cta-section h2,
.contact-cta-section p {
  color: #1f1028;
}

.contact-cta-section .btn-primary {
  margin-top: 18px;
  border-radius: 999px;
  padding: 14px 38px;
  background: var(--contact-primary);
  color: #fff;
  box-shadow: 0 15px 35px rgba(106, 27, 154, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-cta-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(106, 27, 154, 0.39);
}

@media (max-width: 960px) {
  .contact-hero-section {
    padding: 116px 0 92px;
  }

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

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

  .contact-hero-points {
    gap: 8px;
  }

  .contact-hero-points span {
    font-size: 0.76rem;
    padding: 7px 11px;
  }
}

@media (max-width: 768px) {
  .contact-hero-section {
    padding: 98px 0 74px;
  }

  .contact-form-section {
    padding: 68px 0 84px;
  }

  .contact-cta-section {
    padding: 72px 0;
    margin-top: 22px;
    border-radius: 20px;
  }

  .contact-cta-section .btn-primary,
  .contact-cta-section .btn.btn-primary {
    width: min(360px, 100%);
  }
}
