/* Contact page — conversión corta, menos fricción */

.contact-hero {
  padding: 48px 0 32px;
  background: linear-gradient(160deg, #f4f8fb 0%, #ffffff 72%);
}

.contact-hero-title {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #1a365d;
  margin-bottom: 14px;
  background: none;
  -webkit-text-fill-color: unset;
  line-height: 1.25;
}

.contact-hero-subtitle {
  font-size: 1.05rem;
  color: #5a6a7a;
  line-height: 1.65;
  margin: 0 auto 22px;
  max-width: 40rem;
}

.contact-benefits {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.contact-benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #d5e3ee;
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #3d5a73;
}

.contact-benefit-item i {
  font-size: 1rem;
  color: #138bc9;
}

.contact-hero-scope {
  margin: 0;
  font-size: 0.9rem;
  color: #6c7a88;
}

.contact.contact-page {
  padding: 28px 0 72px;
  background: #f7fafc;
}

.contact.contact-page .contact-layout {
  align-items: flex-start;
}

/* Anular el bloque azul legacy de .contact-left */
.contact.contact-page .contact-left {
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.contact.contact-page .form-wrapper {
  background: #fff;
  padding: 32px 36px;
  border-radius: 16px;
  border: 1px solid #dce7f0;
  box-shadow: 0 8px 28px rgba(26, 54, 93, 0.06);
}

.contact.contact-page .form-intro {
  margin-bottom: 24px;
  padding: 14px 16px;
  background: rgba(19, 139, 201, 0.06);
  border: 1px solid rgba(19, 139, 201, 0.12);
  border-radius: 12px;
}

.contact.contact-page .form-intro h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a365d;
  margin: 0 0 6px;
}

.contact.contact-page .form-intro p {
  margin: 0;
  font-size: 0.95rem;
  color: #5a6a7a;
  line-height: 1.5;
}

.contact.contact-page .form-label-text,
.contact.contact-page .contact-form-modern label {
  font-weight: 600;
  color: #243b53;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.contact.contact-page .optional-tag {
  margin-left: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #7a8b9a;
}

.contact.contact-page .contact-form-modern .form-control {
  padding: 14px 16px;
  min-height: 50px;
  border: 1.5px solid #d5e3ee;
  border-radius: 10px;
  font-size: 1rem;
  color: #1a365d;
  background: #fff;
}

.contact.contact-page .contact-form-modern textarea.form-control {
  min-height: 96px;
  resize: vertical;
}

.contact.contact-page .contact-form-modern .form-control:focus {
  border-color: #138bc9;
  box-shadow: 0 0 0 3px rgba(19, 139, 201, 0.12);
  outline: none;
}

.contact.contact-page .form-group.has-error .form-control {
  border-color: #d64545;
}

.contact.contact-page .field-error {
  min-height: 1.1em;
  margin-top: 6px;
  font-size: 0.875rem;
  color: #c62828;
}

.lead-type-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 768px) {
  .lead-type-cards {
    grid-template-columns: 1fr;
  }
}

.operation-type-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.operation-type-list-compact {
  gap: 6px;
}

.operation-type-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1.5px solid #d5e3ee;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.operation-type-option input {
  margin-top: 3px;
  flex-shrink: 0;
}

.operation-type-option span {
  color: #1a365d;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.operation-type-option:hover {
  border-color: #138bc9;
}

.operation-type-option.is-selected {
  border-color: #138bc9;
  background: rgba(19, 139, 201, 0.06);
  box-shadow: 0 0 0 3px rgba(19, 139, 201, 0.1);
}

.lead-type-card {
  position: relative;
  text-align: left;
  background: #fff;
  border: 1.5px solid #d5e3ee;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: block;
  width: 100%;
  margin: 0;
}

.lead-type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lead-type-card i {
  display: block;
  font-size: 1.25rem;
  color: #138bc9;
  margin-bottom: 6px;
}

.lead-type-card strong {
  display: block;
  color: #1a365d;
  font-size: 1rem;
  margin-bottom: 4px;
}

.lead-type-card span {
  display: block;
  color: #6c7a88;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 400;
}

.lead-type-card:hover {
  border-color: #138bc9;
}

.lead-type-card.is-selected {
  border-color: #138bc9;
  background: rgba(19, 139, 201, 0.06);
  box-shadow: 0 0 0 3px rgba(19, 139, 201, 0.1);
}

.conditional-block {
  margin-bottom: 0.25rem;
}

.country-hint {
  font-size: 0.875rem;
  line-height: 1.45;
}

.contact.contact-page .form-submit-wrap .btn-primary {
  width: 100%;
  padding: 14px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #138bc9 0%, #24b4fb 100%);
  box-shadow: 0 8px 22px rgba(19, 139, 201, 0.28);
}

.contact.contact-page .form-submit-wrap .btn-primary:disabled {
  opacity: 0.85;
  transform: none;
  cursor: wait;
}

.contact.contact-page .form-note {
  margin: 14px 0 8px;
  font-size: 0.9rem;
  color: #5a6a7a;
  justify-content: center;
}

.contact.contact-page .form-privacy {
  margin: 0;
  font-size: 0.85rem;
  color: #7a8b9a;
  line-height: 1.45;
}

.contact.contact-page .form-privacy a {
  color: #138bc9;
  text-decoration: underline;
}

.contact.contact-page .contact-info-sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.contact.contact-page .contact-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #dce7f0;
  box-shadow: 0 6px 20px rgba(26, 54, 93, 0.05);
  margin-bottom: 16px;
}

.contact.contact-page .contact-card-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6eef4;
}

.contact.contact-page .contact-card-header i {
  font-size: 1.35rem;
  color: #138bc9;
  margin-top: 2px;
}

.contact.contact-page .contact-card-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a365d;
  margin: 0;
  line-height: 1.35;
}

.contact.contact-page .contact-method {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #eef3f7;
}

.contact.contact-page .contact-method:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact.contact-page .contact-method-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact.contact-page .contact-method-icon.whatsapp-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #1fa855;
}

.contact.contact-page .contact-method-icon.email-icon {
  background: rgba(19, 139, 201, 0.1);
  color: #138bc9;
}

.contact.contact-page .contact-method-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a365d;
  margin: 0 0 2px;
}

.contact.contact-page .contact-method-value {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #5a6a7a;
}

.contact.contact-page .contact-method-cta {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #138bc9;
  text-decoration: none;
}

.contact.contact-page .contact-method-cta:hover {
  text-decoration: underline;
}

.contact-next-steps {
  background: #fff;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid #dce7f0;
}

.contact-next-steps h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a365d;
  margin: 0 0 14px;
}

.contact-next-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: next-step;
}

.contact-next-steps li {
  counter-increment: next-step;
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
}

.contact-next-steps li:last-child {
  margin-bottom: 0;
}

.contact-next-steps li::before {
  content: counter(next-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(19, 139, 201, 0.12);
  color: #138bc9;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 24px;
  text-align: center;
}

.contact-next-steps strong {
  display: block;
  color: #1a365d;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.contact-next-steps span {
  display: block;
  color: #6c7a88;
  font-size: 0.85rem;
  line-height: 1.45;
}

.contact-next-note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid #eef3f7;
  font-size: 0.82rem;
  color: #7a8b9a;
}

/* Ocultar CTA demo redundante en footer de contacto */
.contact-page-body .footer-demo-cta {
  display: none;
}

/* Resultado */
.contact-result-section {
  padding: 64px 0 80px;
  background: linear-gradient(160deg, #f4f8fb 0%, #ffffff 70%);
  min-height: 55vh;
}

.contact-result-card {
  background: #fff;
  border: 1px solid #dce7f0;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(26, 54, 93, 0.06);
  padding: 40px 32px;
  text-align: center;
}

.contact-result-icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.contact-result-icon.success {
  color: #1fa855;
}

.contact-result-icon.error {
  color: #c62828;
}

.contact-result-card h1 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: #1a365d;
  margin-bottom: 12px;
}

.contact-result-card > p {
  font-size: 1.05rem;
  color: #5a6a7a;
  line-height: 1.6;
  max-width: 34rem;
  margin: 0 auto 24px;
}

.contact-result-next-label {
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 12px;
}

.contact-result-secondary {
  margin-top: 20px;
  margin-bottom: 0;
}

.contact-result-secondary a {
  color: #138bc9;
  font-weight: 600;
  text-decoration: none;
}

.contact-result-secondary a:hover {
  text-decoration: underline;
}

.contact-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media (max-width: 991px) {
  .contact.contact-page .contact-info-sidebar {
    position: static;
    margin-top: 20px;
    top: auto;
  }

  .contact.contact-page .form-wrapper {
    padding: 24px 18px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 36px 0 24px;
  }

  .lead-type-cards {
    grid-template-columns: 1fr;
  }

  .lead-type-card {
    width: 100%;
  }

  .contact.contact-page .form-submit-wrap .btn-primary {
    width: 100%;
  }

  .contact.contact-page .form-submit-wrap {
    padding-bottom: 12px;
  }

  .contact-result-card {
    padding: 28px 18px;
  }

  .contact-result-actions {
    flex-direction: column;
  }

  .contact-result-actions .btn {
    width: 100%;
  }
}
