/* ── Contact Page ── */
.nav-active {
  color: #4f46e5 !important;
}

.nav-active::after {
  transform: scaleX(1) !important;
}

.contact-page {
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: stretch;
  background: var(--page-bg);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
  gap: 5rem;
  box-sizing: border-box;
  align-items: start;
}

/* ══════════════════════════════
   LEFT INFO PANEL
══════════════════════════════ */
.ci-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: sticky;
  top: 5rem;
}

.ci-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  font: 600 0.72rem Poppins, sans-serif;
  color: #4f46e5;
  letter-spacing: 0.04em;
  width: fit-content;
}

html[data-theme="dark"] .ci-badge {
  background: #1e1b4b;
  border-color: #3730a3;
  color: #a5b4fc;
}

.ci-panel h1 {
  margin: 0;
  font: 700 clamp(2.2rem, 4vw, 3rem)/1.1 Poppins, sans-serif;
  color: var(--text-primary);
  letter-spacing: -0.045em;
}

.ci-desc {
  margin: 0;
  font: 400 1rem/1.75 Poppins, sans-serif;
  color: var(--text-muted);
  max-width: 38ch;
}

/* Contact cards */
.ci-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ci-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: var(--nav-bg);
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.ci-card:hover {
  border-color: #a5b4fc;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.1);
  transform: translateY(-2px);
}

html[data-theme="dark"] .ci-card {
  border-color: #1f2937;
  background: #111827;
}

html[data-theme="dark"] .ci-card:hover {
  border-color: #4f46e5;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.2);
}

.ci-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2ff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.ci-card-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  color: #4f46e5;
}

html[data-theme="dark"] .ci-card-icon {
  background: #1e1b4b;
}

.ci-card--wa .ci-card-icon {
  background: #dcfce7;
}

.ci-card--wa .ci-card-icon svg {
  color: #16a34a;
}

.ci-card--wa:hover {
  border-color: #86efac;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.12);
}

html[data-theme="dark"] .ci-card--wa .ci-card-icon {
  background: #052e16;
}

html[data-theme="dark"] .ci-card--wa:hover {
  border-color: #16a34a;
}

.ci-card--phone .ci-card-icon {
  background: #fef3c7;
}

.ci-card--phone .ci-card-icon svg {
  color: #d97706;
}

.ci-card--phone:hover {
  border-color: #fcd34d;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.1);
}

html[data-theme="dark"] .ci-card--phone .ci-card-icon {
  background: #1c1400;
}

html[data-theme="dark"] .ci-card--phone:hover {
  border-color: #d97706;
}

.ci-card--loc {
  cursor: default;
}

.ci-card--loc:hover {
  transform: none;
  box-shadow: none;
  border-color: #e2e8f0;
}

html[data-theme="dark"] .ci-card--loc:hover {
  border-color: #1f2937;
}

.ci-card--loc .ci-card-icon {
  background: #fce7f3;
}

.ci-card--loc .ci-card-icon svg {
  color: #db2777;
}

html[data-theme="dark"] .ci-card--loc .ci-card-icon {
  background: #1a0010;
}

.ci-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ci-card-label {
  font: 500 0.72rem Poppins, sans-serif;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.ci-card-value {
  font: 600 0.9rem Poppins, sans-serif;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ci-card-arrow {
  margin-left: auto;
  font-size: 1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ci-card:hover .ci-card-arrow {
  transform: translateX(3px);
  color: #4f46e5;
}

/* Social icons row */
.ci-social-row {
  display: flex;
  gap: 0.65rem;
}

.ci-soc {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ci-soc svg {
  width: 1rem;
  height: 1rem;
}

.ci-soc:hover {
  transform: translateY(-2px);
}

.ci-soc.wa {
  color: #25d366;
  border-color: #bbf7d0;
}

.ci-soc.wa:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.ci-soc.ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #fff;
  border-color: transparent;
}

.ci-soc.fb:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}

.ci-soc.li:hover {
  background: #0a66c2;
  color: #fff;
  border-color: #0a66c2;
}

html[data-theme="dark"] .ci-soc {
  border-color: #1f2937;
}

/* ══════════════════════════════
   RIGHT FORM PANEL
══════════════════════════════ */
.cf-panel {
  background: var(--nav-bg);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}

html[data-theme="dark"] .cf-panel {
  background: #111827;
  border-color: #1f2937;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cf-field label {
  font: 600 0.82rem Poppins, sans-serif;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.cf-field input,
.cf-field textarea {
  padding: 0.9rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: var(--page-bg);
  color: var(--text-primary);
  font: 400 0.95rem Poppins, sans-serif;
  outline: none;
  resize: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: #94a3b8;
}

.cf-field input:focus,
.cf-field textarea:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

html[data-theme="dark"] .cf-field input,
html[data-theme="dark"] .cf-field textarea {
  background: #0d1117;
  border-color: #2d3748;
  color: #f1f5f9;
}

html[data-theme="dark"] .cf-field input::placeholder,
html[data-theme="dark"] .cf-field textarea::placeholder {
  color: #4b5563;
}

html[data-theme="dark"] .cf-field input:focus,
html[data-theme="dark"] .cf-field textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

html[data-theme="dark"] .cf-field label {
  color: #6b7280;
}

/* Budget wrap */
.budget-input-wrap {
  display: flex;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--page-bg);
}

.budget-input-wrap:focus-within {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.budget-input-wrap select {
  border: none;
  border-right: 1.5px solid #e2e8f0;
  border-radius: 0;
  background: #f8fafc;
  color: var(--text-primary);
  font: 500 0.85rem Poppins, sans-serif;
  padding: 0.9rem 0.75rem;
  outline: none;
  cursor: pointer;
  min-width: 85px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.75rem;
}

.budget-input-wrap input {
  border: none;
  flex: 1;
  padding: 0.9rem 1rem;
  background: var(--page-bg);
  color: var(--text-primary);
  font: 400 0.95rem Poppins, sans-serif;
  outline: none;
  min-width: 0;
}

.budget-type-select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid var(--text-primary);
  border-radius: 0;
  background: var(--page-bg);
  color: var(--text-primary);
  font: 400 0.95rem Poppins, sans-serif;
}

.budget-type-select:focus {
  outline: none;
  border-color: #3157ff;
  box-shadow: 3px 3px 0 #3157ff;
}

html[data-theme="dark"] .budget-input-wrap {
  border-color: #2d3748;
  background: #0d1117;
}

html[data-theme="dark"] .budget-input-wrap:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

html[data-theme="dark"] .budget-input-wrap select {
  background-color: #1a2035;
  border-color: #2d3748;
  color: #f1f5f9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .budget-input-wrap input {
  background: #0d1117;
  color: #f1f5f9;
}

/* Submit button */
.cf-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 2rem;
  background: #4f46e5;
  color: #fff;
  border: none;
  border-radius: 10px;
  font: 600 1rem Poppins, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
  margin-top: 0.25rem;
}

.cf-submit svg {
  width: 1.1rem;
  height: 1.1rem;
}

.cf-submit:hover {
  background: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.4);
}

.cf-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cf-success {
  margin: 0;
  font: 500 0.9rem Poppins, sans-serif;
  text-align: center;
}

.cf-panel .form-actions {
  margin-top: 0.25rem;
}

.cf-panel .form-actions .cf-submit {
  flex: 1 1 180px;
  margin-top: 0;
}

.contact-cta {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 6.5rem;
  text-align: center;
  background: #eff8ff;
  border-top: 1px solid #dbeafe;
}

.contact-cta-watermark {
  position: absolute;
  inset: 5.5rem 0 auto;
  color: rgba(14, 116, 144, 0.07);
  font: 700 clamp(4rem, 15vw, 11rem)/1 Poppins, sans-serif;
  letter-spacing: 0.08em;
  pointer-events: none;
  user-select: none;
}

.contact-cta-label {
  position: relative;
  margin: 0 0 2.5rem;
  color: #0891b2;
  font: 600 0.78rem Poppins, sans-serif;
  letter-spacing: 0.25em;
}

.contact-cta h2 {
  position: relative;
  margin: 0;
  color: #082f49;
  font: 700 clamp(2.8rem, 7vw, 5rem)/1.05 Poppins, sans-serif;
  letter-spacing: -0.05em;
}

.contact-cta h2 span {
  color: #14b8a6;
}

.contact-cta-copy {
  position: relative;
  max-width: 36rem;
  margin: 2rem auto 1.75rem;
  color: #155e75;
  font: 400 1rem/1.7 Poppins, sans-serif;
}

.contact-cta-email {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #9ccbd4;
  color: #082f49;
  font: 700 clamp(1rem, 2vw, 1.35rem) Poppins, sans-serif;
  text-decoration: none;
}

.contact-cta-email svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #0284c7;
}

html[data-theme="dark"] .contact-cta {
  background: #082f49;
  border-color: #164e63;
}

html[data-theme="dark"] .contact-cta-watermark {
  color: rgba(125, 211, 252, 0.08);
}

html[data-theme="dark"] .contact-cta-label {
  color: #67e8f9;
}

html[data-theme="dark"] .contact-cta h2 {
  color: #f0fdfa;
}

html[data-theme="dark"] .contact-cta h2 span {
  color: #5eead4;
}

html[data-theme="dark"] .contact-cta-copy {
  color: #bae6fd;
}

html[data-theme="dark"] .contact-cta-email {
  border-color: #155e75;
  color: #f0fdfa;
}

html[data-theme="dark"] .contact-cta-email svg {
  color: #67e8f9;
}

.req {
  color: #f87171;
  font-size: 0.72rem;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 960px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 1.5rem;
  }

  .ci-panel {
    position: static;
  }
}

@media (max-width: 560px) {
  .cf-row {
    grid-template-columns: 1fr;
  }

  .cf-panel {
    padding: 2rem 1.25rem;
  }

  .contact-container {
    padding: 2.5rem 1rem;
  }

  .contact-cta {
    padding: 4.5rem 1rem 5rem;
  }

  .contact-cta-email {
    max-width: 100%;
    font-size: 0.88rem;
  }
}

/* Form actions row */
.form-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.form-actions .cf-submit {
  flex: 1;
  width: auto;
}

.whatsapp-form-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: #25d366;
  color: #fff;
  border-radius: 10px;
  font: 600 0.95rem Poppins, sans-serif;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-form-button svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.whatsapp-form-button:hover {
  background: #1da851;
  transform: translateY(-2px);
}

/* Neubrutalist contact styling, using blue rather than the site's yellow accent. */
.ci-badge {
  padding: 0.45rem 0.75rem;
  background: #eaf0ff;
  border: 2px solid var(--text-primary);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--text-primary);
  color: #3157ff;
}

.ci-card {
  border: 2px solid var(--text-primary);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--text-primary);
}

.ci-card:hover {
  border-color: #3157ff;
  box-shadow: 6px 6px 0 #3157ff;
  transform: translate(-2px, -2px);
}

.ci-card--loc:hover {
  border-color: var(--text-primary);
  box-shadow: 4px 4px 0 var(--text-primary);
  transform: none;
}

.ci-card-icon {
  border-radius: 0;
  background: #eaf0ff;
}

.ci-card-icon svg {
  color: #3157ff;
}

.ci-card-arrow {
  color: #3157ff;
}

.ci-soc {
  border: 2px solid var(--text-primary);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--text-primary);
}

.ci-soc:hover {
  background: #3157ff;
  border-color: var(--text-primary);
  box-shadow: 4px 4px 0 var(--text-primary);
  color: #fff;
  transform: translate(-1px, -1px);
}

.cf-panel {
  border: 2px solid var(--text-primary);
  border-radius: 0;
  box-shadow: 6px 6px 0 var(--text-primary);
}

.cf-field input,
.cf-field textarea {
  border: 2px solid var(--text-primary);
  border-radius: 0;
}

.cf-field input:focus,
.cf-field textarea:focus {
  border-color: #3157ff;
  box-shadow: 3px 3px 0 #3157ff;
}

.budget-input-wrap {
  border: 2px solid var(--text-primary);
  border-radius: 0;
}

.budget-input-wrap:focus-within {
  border-color: #3157ff;
  box-shadow: 3px 3px 0 #3157ff;
}

.cf-submit,
.whatsapp-form-button {
  border: 2px solid var(--text-primary);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--text-primary);
}

.cf-submit {
  background: #3157ff;
}

.cf-submit:hover {
  background: #2446e8;
  box-shadow: 6px 6px 0 var(--text-primary);
  transform: translate(-2px, -2px);
}

.whatsapp-form-button:hover {
  box-shadow: 6px 6px 0 var(--text-primary);
  transform: translate(-2px, -2px);
}

.contact-cta {
  background: #eaf0ff;
  border-top: 2px solid var(--text-primary);
  border-bottom: 2px solid var(--text-primary);
}

.contact-cta h2 span,
.contact-cta-email svg {
  color: #3157ff;
}

.contact-cta-email {
  padding: 0.9rem 1rem;
  border: 2px solid var(--text-primary);
  box-shadow: 4px 4px 0 var(--text-primary);
}

html[data-theme="dark"] .ci-badge,
html[data-theme="dark"] .ci-card-icon {
  background: #17254b;
}

html[data-theme="dark"] .cf-panel {
  background: var(--nav-bg);
  border-color: var(--text-primary);
  box-shadow: 6px 6px 0 #000;
}

html[data-theme="dark"] .contact-cta {
  background: #131a2d;
  border-color: var(--text-primary);
}

html[data-theme="dark"] .ci-card {
  border-color: var(--text-primary);
  background: var(--nav-bg);
  box-shadow: 4px 4px 0 #000;
}

html[data-theme="dark"] .ci-card:hover {
  border-color: #3157ff;
  box-shadow: 6px 6px 0 #3157ff;
}

html[data-theme="dark"] .ci-card--loc:hover {
  border-color: var(--text-primary);
  box-shadow: 4px 4px 0 #000;
}

html[data-theme="dark"] .ci-soc {
  border-color: var(--text-primary);
  box-shadow: 3px 3px 0 #000;
}

html[data-theme="dark"] .ci-soc:hover {
  border-color: var(--text-primary);
  box-shadow: 4px 4px 0 #000;
}

html[data-theme="dark"] .cf-field input:focus,
html[data-theme="dark"] .cf-field textarea:focus,
html[data-theme="dark"] .budget-input-wrap:focus-within {
  border-color: #3157ff;
  box-shadow: 3px 3px 0 #3157ff;
}